react-native-prizor-sdk-module 4.5.2 → 4.5.6

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.
package/README.md CHANGED
@@ -18,9 +18,9 @@ Open `ios/Podfile` and fill the requirements above:
18
18
  ```Podfile
19
19
  use_frameworks!
20
20
  ```
21
- - Set minimum deployment target to `12.0`
21
+ - Set minimum deployment target to `13.0`
22
22
  ```Podfile
23
- platform :ios, '12.0'
23
+ platform :ios, '13.0'
24
24
  ```
25
25
  - Add private repository `source`
26
26
  ```Podfile
File without changes
@@ -0,0 +1 @@
1
+ BB1AD12201D8D8F2490C855F71762AB4AA3E7E22CEE62A56961E8ACC2298F5A1
File without changes
@@ -35,7 +35,7 @@ android {
35
35
  compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
36
36
  buildToolsVersion getExtOrDefault('buildToolsVersion')
37
37
  defaultConfig {
38
- minSdkVersion 21
38
+ minSdkVersion 24
39
39
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
40
40
  versionCode 1
41
41
  versionName "1.0"
@@ -56,21 +56,21 @@ android {
56
56
  }
57
57
  }
58
58
 
59
- rootProject.allprojects {
60
- repositories {
61
- maven {
62
- url "https://maven.prizor.com/"
63
- credentials {
64
- username System.getenv('MAVEN_PRIZOR_USERNAME') ?: "username"
65
- password System.getenv('MAVEN_PRIZOR_PASSWORD') ?: "password"
66
- }
67
- }
68
- maven {
69
- url 'https://storage.googleapis.com/download.flutter.io'
70
- }
59
+
60
+ repositories {
61
+ maven {
62
+ url "https://maven.prizor.com/"
63
+ credentials {
64
+ username System.getenv('MAVEN_PRIZOR_USERNAME') ?: "username"
65
+ password System.getenv('MAVEN_PRIZOR_PASSWORD') ?: "password"
71
66
  }
67
+ }
68
+ maven {
69
+ url 'https://storage.googleapis.com/download.flutter.io'
70
+ }
72
71
  }
73
72
 
73
+
74
74
  repositories {
75
75
  mavenCentral()
76
76
  google()
@@ -12,9 +12,10 @@ class PrizorSdkModuleModule(reactContext: ReactApplicationContext) : ReactContex
12
12
  @ReactMethod
13
13
  fun startWithJson(jsonString: String) {
14
14
  if (!this.reactApplicationContext.hasCurrentActivity()) return;
15
- this.reactApplicationContext.currentActivity?.runOnUiThread {
15
+ this.reactApplicationContext.currentActivity?.runOnUiThread {
16
16
  PrizorManager.startPrizor(
17
- this.reactApplicationContext.currentActivity,
17
+ this.reactApplicationContext.currentActivity,
18
+ false,
18
19
  jsonString,
19
20
  null,
20
21
  null,
@@ -27,16 +28,17 @@ class PrizorSdkModuleModule(reactContext: ReactApplicationContext) : ReactContex
27
28
  null,
28
29
  null,
29
30
  null
30
- )
31
+ )
31
32
  }
32
33
  }
33
34
 
34
35
  @ReactMethod
35
36
  fun startWithKeyValuePairs(keyValuePairs: ReadableMap) {
36
37
  if (!this.reactApplicationContext.hasCurrentActivity()) return;
37
- this.reactApplicationContext.currentActivity?.runOnUiThread {
38
+ this.reactApplicationContext.currentActivity?.runOnUiThread {
38
39
  PrizorManager.startPrizor(
39
- this.reactApplicationContext.currentActivity,
40
+ this.reactApplicationContext.currentActivity,
41
+ false,
40
42
  keyValuePairs.toHashMap(),
41
43
  null,
42
44
  null,
@@ -49,7 +51,7 @@ class PrizorSdkModuleModule(reactContext: ReactApplicationContext) : ReactContex
49
51
  null,
50
52
  null,
51
53
  null
52
- )
54
+ )
53
55
  }
54
56
  }
55
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-prizor-sdk-module",
3
- "version": "4.5.2",
3
+ "version": "4.5.6",
4
4
  "description": "iOS and Android native integration for Prizor SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",