@customerglu/react-native-customerglu 2.0.1 → 2.0.3
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 +1 -1
- package/android/.gradle/6.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.9/gc.properties +0 -0
- package/android/.gradle/8.3/checksums/checksums.lock +0 -0
- package/android/.gradle/8.3/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.3/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.3/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/8.3/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.3/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.3/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.3/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/build.gradle +3 -3
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/src/main/java/com/reactnativerncustomerglu/RncustomergluModule.java +3 -1
- package/ios/Rncustomerglu.swift +1 -1
- package/package.json +3 -3
- package/react-native-customerglu.podspec +1 -1
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
package/README.md
CHANGED
|
@@ -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": "^2.0.
|
|
19
|
+
"@customerglu/react-native-customerglu": "^2.0.3"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
### Option 2
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Wed
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Wed Jul 31 20:06:24 IST 2024
|
|
2
|
+
gradle.version=8.3
|
package/android/build.gradle
CHANGED
|
@@ -23,10 +23,10 @@ def safeExtGet(prop, fallback) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
android {
|
|
26
|
-
compileSdkVersion safeExtGet('Rncustomerglu_compileSdkVersion',
|
|
26
|
+
compileSdkVersion safeExtGet('Rncustomerglu_compileSdkVersion', 34)
|
|
27
27
|
defaultConfig {
|
|
28
28
|
minSdkVersion safeExtGet('Rncustomerglu_minSdkVersion', 21)
|
|
29
|
-
targetSdkVersion safeExtGet('Rncustomerglu_targetSdkVersion',
|
|
29
|
+
targetSdkVersion safeExtGet('Rncustomerglu_targetSdkVersion', 34)
|
|
30
30
|
versionCode 1
|
|
31
31
|
versionName "1.0"
|
|
32
32
|
|
|
@@ -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:3.0.
|
|
64
|
+
implementation 'com.customerglu:CustomerGluLibrary:3.0.2'
|
|
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'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
@@ -15,6 +15,7 @@ import android.util.Log;
|
|
|
15
15
|
import android.widget.Toast;
|
|
16
16
|
|
|
17
17
|
import androidx.annotation.NonNull;
|
|
18
|
+
import androidx.core.content.ContextCompat;
|
|
18
19
|
|
|
19
20
|
import com.customerglu.sdk.Interface.CGDeepLinkListener;
|
|
20
21
|
import com.customerglu.sdk.Interface.CampaignStatusListener;
|
|
@@ -90,7 +91,7 @@ public class RncustomergluModule extends ReactContextBaseJavaModule implements L
|
|
|
90
91
|
private void setPlatformAndSdkVersion() {
|
|
91
92
|
if (CustomerGlu.getInstance() != null) {
|
|
92
93
|
|
|
93
|
-
CustomerGlu.cg_sdk_version = "2.0.
|
|
94
|
+
CustomerGlu.cg_sdk_version = "2.0.3";
|
|
94
95
|
CustomerGlu.cg_app_platform = "REACT_NATIVE";
|
|
95
96
|
}
|
|
96
97
|
}
|
|
@@ -155,6 +156,7 @@ public class RncustomergluModule extends ReactContextBaseJavaModule implements L
|
|
|
155
156
|
|
|
156
157
|
private void registerBroadcastReceiver() {
|
|
157
158
|
try {
|
|
159
|
+
|
|
158
160
|
mContext.registerReceiver(mMessageReceiver, new IntentFilter("CUSTOMERGLU_ANALYTICS_EVENT"));
|
|
159
161
|
mContext.registerReceiver(mMessageReceiver, new IntentFilter("CUSTOMERGLU_DEEPLINK_EVENT"));
|
|
160
162
|
mContext.registerReceiver(mMessageReceiver, new IntentFilter("CUSTOMERGLU_BANNER_LOADED"));
|
package/ios/Rncustomerglu.swift
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@customerglu/react-native-customerglu",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "CustomerGlu React Native plugin",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"jest": "^26.0.1",
|
|
65
65
|
"pod-install": "^0.1.0",
|
|
66
66
|
"prettier": "^2.0.5",
|
|
67
|
-
"react": "
|
|
68
|
-
"react-native": "
|
|
67
|
+
"react": "18.2.0",
|
|
68
|
+
"react-native": "0.73.6",
|
|
69
69
|
"react-native-builder-bob": "^0.18.0",
|
|
70
70
|
"release-it": "^15.2.0",
|
|
71
71
|
"typescript": "^4.1.3"
|
|
@@ -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", "3.0.
|
|
18
|
+
s.dependency "CustomerGlu", "3.0.3"
|
|
19
19
|
s.platform = :ios, '13.0'
|
|
20
20
|
s.swift_version = '5.0'
|
|
21
21
|
|
|
Binary file
|