@customerglu/react-native-customerglu 1.4.7 → 1.5.0
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
|
@@ -5,7 +5,7 @@ CustomerGlu SDK provides you Express Installation requiring minimal technical ef
|
|
|
5
5
|
# Pre-Requisites
|
|
6
6
|
|
|
7
7
|
### iOS
|
|
8
|
-
Supports IOS
|
|
8
|
+
Supports IOS 12.0+ and requires Xcode 12 or above to build.
|
|
9
9
|
|
|
10
10
|
### Android
|
|
11
11
|
Supports API 21 and above. Please ensure the minSDKVersion in the app's build.gradle file reflects the same.
|
|
@@ -16,7 +16,7 @@ Supports API 21 and above. Please ensure the minSDKVersion in the app's build.gr
|
|
|
16
16
|
### Option 1
|
|
17
17
|
Add the CustomerGlu React Native plugin in package.json file
|
|
18
18
|
```
|
|
19
|
-
"@customerglu/react-native-customerglu": "^1.
|
|
19
|
+
"@customerglu/react-native-customerglu": "^1.5.0"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
### Option 2
|
package/android/build.gradle
CHANGED
|
@@ -61,7 +61,7 @@ repositories {
|
|
|
61
61
|
dependencies {
|
|
62
62
|
//noinspection GradleDynamicVersion
|
|
63
63
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
64
|
-
implementation 'com.customerglu:CustomerGluLibrary:2.5.
|
|
64
|
+
implementation 'com.customerglu:CustomerGluLibrary:2.5.3'
|
|
65
65
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
66
66
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
67
67
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
@@ -90,10 +90,11 @@ public class RncustomergluModule extends ReactContextBaseJavaModule implements L
|
|
|
90
90
|
private void setPlatformAndSdkVersion() {
|
|
91
91
|
if (CustomerGlu.getInstance() != null) {
|
|
92
92
|
|
|
93
|
-
CustomerGlu.cg_sdk_version = "1.
|
|
93
|
+
CustomerGlu.cg_sdk_version = "1.5.0";
|
|
94
94
|
CustomerGlu.cg_app_platform = "REACT_NATIVE";
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
+
|
|
97
98
|
|
|
98
99
|
|
|
99
100
|
private final BroadcastReceiver mMessageReceiver = new BroadcastReceiver() {
|
package/ios/Rncustomerglu.swift
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ DESC
|
|
|
15
15
|
s.source = { :git => "https://github.com/customerglu/CG-SDK-React-Native.git", :tag => "#{s.version}" }
|
|
16
16
|
s.source_files = "ios/**/*"
|
|
17
17
|
s.dependency "React-Core"
|
|
18
|
-
s.dependency "CustomerGlu", "2.5.
|
|
18
|
+
s.dependency "CustomerGlu", "2.5.3"
|
|
19
19
|
s.platform = :ios, '11.0'
|
|
20
20
|
s.swift_version = '5.0'
|
|
21
21
|
|