@algocare/react-native-code-push 12.6.0 → 12.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,8 +34,8 @@ program
34
34
  throw new Error('Platform must be either "ios" or "android"')
35
35
  }
36
36
 
37
- if (options.app !== 'user' && options.platform === 'ios') {
38
- throw new Error('Device app is not supported on iOS')
37
+ if (options.app !== 'user' && options.app !== 'home-mobile' && options.platform === 'ios') {
38
+ throw new Error('Only user and home-mobile apps are supported on iOS')
39
39
  }
40
40
 
41
41
  if (
@@ -68,7 +68,7 @@ program
68
68
 
69
69
  // iOS는 'user'와 'home-mobile' 앱만 지원
70
70
  if (options.app !== 'user' && options.app !== 'home-mobile' && options.platform === 'ios') {
71
- throw new Error('Device app is not supported on iOS')
71
+ throw new Error('Only user and home-mobile apps are supported on iOS')
72
72
  }
73
73
 
74
74
  if (
@@ -34,8 +34,8 @@ program
34
34
  throw new Error('Platform must be either "ios" or "android"')
35
35
  }
36
36
 
37
- if (options.app !== 'user' && options.platform === 'ios') {
38
- throw new Error('Device app is not supported on iOS')
37
+ if (options.app !== 'user' && options.app !== 'home-mobile' && options.platform === 'ios') {
38
+ throw new Error('Only user and home-mobile apps are supported on iOS')
39
39
  }
40
40
 
41
41
  if (
@@ -44,8 +44,8 @@ program
44
44
  throw new Error('Platform must be either "ios" or "android"')
45
45
  }
46
46
 
47
- if (options.app !== 'user' && options.platform === 'ios') {
48
- throw new Error('Device app is not supported on iOS')
47
+ if (options.app !== 'user' && options.app !== 'home-mobile' && options.platform === 'ios') {
48
+ throw new Error('Only user and home-mobile apps are supported on iOS')
49
49
  }
50
50
 
51
51
  if (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algocare/react-native-code-push",
3
- "version": "12.6.0",
3
+ "version": "12.6.2",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",