react-native-move-sdk 2.8.0 → 2.8.1
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.
|
@@ -139,8 +139,9 @@ class NativeMoveSdkWrapper(private val context: Context) : MoveSdk.StateListener
|
|
|
139
139
|
val walkingServicesToUse = mutableListOf<WalkingService>()
|
|
140
140
|
|
|
141
141
|
walkingServices.toArrayList().forEach {
|
|
142
|
+
val serviceName = if (it == "WALKING_LOCATION") "LOCATION" else it
|
|
142
143
|
try {
|
|
143
|
-
walkingServicesToUse.add(WalkingService.valueOf(
|
|
144
|
+
walkingServicesToUse.add(WalkingService.valueOf(serviceName.toString().snakeToUpperCamelCase()))
|
|
144
145
|
} catch (t: Throwable) {
|
|
145
146
|
t.printStackTrace()
|
|
146
147
|
}
|
|
@@ -603,8 +604,9 @@ class NativeMoveSdkWrapper(private val context: Context) : MoveSdk.StateListener
|
|
|
603
604
|
val walkingServicesToUse = mutableListOf<WalkingService>()
|
|
604
605
|
|
|
605
606
|
walkingServices.toArrayList().forEach {
|
|
607
|
+
val serviceName = if (it == "WALKING_LOCATION") "LOCATION" else it
|
|
606
608
|
try {
|
|
607
|
-
walkingServicesToUse.add(WalkingService.valueOf(
|
|
609
|
+
walkingServicesToUse.add(WalkingService.valueOf(serviceName.toString().snakeToUpperCamelCase()))
|
|
608
610
|
} catch (t: Throwable) {
|
|
609
611
|
t.printStackTrace()
|
|
610
612
|
}
|
package/package.json
CHANGED