@selligent-marketing-cloud/selligent-react-native 2.10.0 → 3.1.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/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +1 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +332 -86
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +1 -1
- package/android/build/intermediates/javac/debug/classes/com/selligent/ButtonBroadcastEventDataParser.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent$2.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/RNSelligent.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/SMSettingsFactory.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/selligent/Settings.class +0 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +1 -1
- package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +1 -1
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +277 -70
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build.gradle +4 -4
- package/android/libs/sdk-release.aar +0 -0
- package/android/src/main/java/com/selligent/ButtonBroadcastEventDataParser.java +1 -1
- package/android/src/main/java/com/selligent/RNSelligent.java +1 -1
- package/android/src/main/java/com/selligent/SMSettingsFactory.java +0 -1
- package/android/src/main/java/com/selligent/Settings.java +0 -8
- package/package.json +3 -3
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -10,7 +10,7 @@ buildscript {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
dependencies {
|
|
13
|
-
classpath 'com.android.tools.build:gradle:7.
|
|
13
|
+
classpath 'com.android.tools.build:gradle:7.3.1'
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -30,12 +30,12 @@ configurations {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
android {
|
|
33
|
-
compileSdkVersion
|
|
33
|
+
compileSdkVersion 33
|
|
34
34
|
|
|
35
35
|
defaultConfig {
|
|
36
36
|
minSdkVersion 21
|
|
37
|
-
targetSdkVersion
|
|
38
|
-
ndkVersion = "
|
|
37
|
+
targetSdkVersion 33
|
|
38
|
+
ndkVersion = "23.1.7779620"
|
|
39
39
|
versionCode 1
|
|
40
40
|
versionName "1.0"
|
|
41
41
|
}
|
|
Binary file
|
|
@@ -17,7 +17,7 @@ class ButtonBroadcastEventDataParser implements BroadcastEventDataParser {
|
|
|
17
17
|
resultingMap.putInt("type", button.type);
|
|
18
18
|
resultingMap.putString("value", button.value);
|
|
19
19
|
resultingMap.putString("label", button.label);
|
|
20
|
-
resultingMap.putInt("action", button.action);
|
|
20
|
+
resultingMap.putInt("action", button.action.getValue());
|
|
21
21
|
if (button.data != null) {
|
|
22
22
|
final WritableMap buttonData = new WritableNativeMap();
|
|
23
23
|
for(String dataKey : button.data.keySet()) {
|
|
@@ -187,7 +187,7 @@ public class RNSelligent extends ReactContextBaseJavaModule implements Lifecycle
|
|
|
187
187
|
buttonMap.putString("id", button.id);
|
|
188
188
|
buttonMap.putString("value", button.value);
|
|
189
189
|
buttonMap.putString("label", button.label);
|
|
190
|
-
buttonMap.putInt("action", button.action);
|
|
190
|
+
buttonMap.putInt("action", button.action.getValue());
|
|
191
191
|
buttonMap.putInt("type", button.type);
|
|
192
192
|
|
|
193
193
|
buttonsArray.pushMap(buttonMap);
|
|
@@ -9,7 +9,6 @@ class SMSettingsFactory {
|
|
|
9
9
|
smSettings.WebServiceUrl = settings.getUrl();
|
|
10
10
|
smSettings.ClientId = settings.getClientId();
|
|
11
11
|
smSettings.PrivateKey = settings.getPrivateKey();
|
|
12
|
-
smSettings.GoogleApplicationId = settings.getGoogleApplicationId();
|
|
13
12
|
smSettings.ConfigureGeolocation = settings.getConfigureLocationServices();
|
|
14
13
|
smSettings.AddInAppMessageFromPushToInAppMessageList = settings.getAddInAppMessageFromPushToInAppMessageList();
|
|
15
14
|
smSettings.DoNotFetchTheToken = settings.getDoNotFetchTheToken();
|
|
@@ -8,7 +8,6 @@ class Settings {
|
|
|
8
8
|
private String url;
|
|
9
9
|
private String clientId;
|
|
10
10
|
private String privateKey;
|
|
11
|
-
private String googleApplicationId;
|
|
12
11
|
private String activityName;
|
|
13
12
|
private String notificationSmallIcon;
|
|
14
13
|
private String notificationLargeIcon;
|
|
@@ -39,10 +38,6 @@ class Settings {
|
|
|
39
38
|
return privateKey;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
public String getGoogleApplicationId() {
|
|
43
|
-
return googleApplicationId;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
41
|
public String getActivityName() {
|
|
47
42
|
return activityName;
|
|
48
43
|
}
|
|
@@ -101,9 +96,6 @@ class Settings {
|
|
|
101
96
|
settings.url = (String) settingsHashMap.get("url");
|
|
102
97
|
settings.clientId = (String) settingsHashMap.get("clientId");
|
|
103
98
|
settings.privateKey = (String) settingsHashMap.get("privateKey");
|
|
104
|
-
if (settingsHashMap.containsKey("googleApplicationId")) {
|
|
105
|
-
settings.googleApplicationId = (String) settingsHashMap.get("googleApplicationId");
|
|
106
|
-
}
|
|
107
99
|
if (settingsHashMap.containsKey("configureLocationServices")) {
|
|
108
100
|
settings.configureLocationServices = (Boolean) settingsHashMap.get("configureLocationServices");
|
|
109
101
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selligent-marketing-cloud/selligent-react-native",
|
|
3
3
|
"title": "Selligent React Native",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.1.0",
|
|
5
5
|
"description": "React Native bridge for Selligent SDK",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react-native": "*"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"react": "18.
|
|
30
|
-
"react-native": "^0.
|
|
29
|
+
"react": "18.2.0",
|
|
30
|
+
"react-native": "^0.71.3"
|
|
31
31
|
}
|
|
32
32
|
}
|