react-native-steerpath-smart-map 1.25.2 → 1.25.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/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,10 @@ This package is built on top of Steerpath's Smart SDK, and most of releases are
|
|
|
15
15
|
- [iOS](https://s3-eu-west-1.amazonaws.com/steerpath/ios/releases/smart-sdk-changelog/index.html)
|
|
16
16
|
- [Web](https://s3-eu-west-1.amazonaws.com/steerpath-web-sdk/documentation/smart/latest/index.html)
|
|
17
17
|
|
|
18
|
+
## [1.25.3] - 2023-12-04
|
|
19
|
+
|
|
20
|
+
- Bump Android Smart SDK version to android-smart-1.21.4
|
|
21
|
+
|
|
18
22
|
## [1.25.2] - 2023-11-29
|
|
19
23
|
|
|
20
24
|
- Bump Android Smart SDK version to android-smart-1.21.3
|
package/android/build.gradle
CHANGED
|
@@ -53,7 +53,7 @@ repositories {
|
|
|
53
53
|
|
|
54
54
|
dependencies {
|
|
55
55
|
implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
|
|
56
|
-
implementation "com.steerpath:smart:android-smart-1.21.
|
|
56
|
+
implementation "com.steerpath:smart:android-smart-1.21.4"
|
|
57
57
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
58
58
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
|
|
59
59
|
}
|
|
@@ -64,11 +64,11 @@ public class RNSmartMapManager extends ReactContextBaseJavaModule {
|
|
|
64
64
|
public void setLiveConfig(ReadableMap map) {
|
|
65
65
|
if (map == null) {
|
|
66
66
|
// Logout and stop LiveService
|
|
67
|
-
appContext.runOnUiQueueThread(() -> SmartSDK.getInstance().
|
|
67
|
+
appContext.runOnUiQueueThread(() -> SmartSDK.getInstance().loginToLive(appContext, null));
|
|
68
68
|
} else {
|
|
69
69
|
try {
|
|
70
70
|
JSONObject object = Utils.convertMapToJson(map);
|
|
71
|
-
appContext.runOnUiQueueThread(() -> SmartSDK.getInstance().
|
|
71
|
+
appContext.runOnUiQueueThread(() -> SmartSDK.getInstance().loginToLive(appContext, object));
|
|
72
72
|
} catch (JSONException e) {
|
|
73
73
|
Log.e("Error", "Failed to set live configuration for SmartSDK");
|
|
74
74
|
}
|
package/package.json
CHANGED