react-native-move-sdk 2.3.6 → 2.3.8

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.
@@ -157,8 +157,8 @@ class MoveSdkModule(context: ReactApplicationContext) : ReactContextBaseJavaModu
157
157
  }
158
158
 
159
159
  @ReactMethod
160
- fun forceTripRecognition(duration: Long?) {
161
- nativeSdkWrapper.forceTripRecognition(duration)
160
+ fun forceTripRecognition(duration: Int?) {
161
+ nativeSdkWrapper.forceTripRecognition(duration?.toLong())
162
162
  }
163
163
 
164
164
  @ReactMethod
@@ -53,7 +53,7 @@ RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(getDeviceQualifier) {
53
53
  return [RCTMoveSdk getDeviceQualifier];
54
54
  }
55
55
 
56
- RCT_EXTERN_METHOD(forceTripRecognition)
56
+ RCT_EXTERN_METHOD(forceTripRecognition: (id)value)
57
57
 
58
58
  RCT_EXTERN_METHOD(synchronizeUserData: (RCTPromiseResolveBlock)resolve
59
59
  rejecter: (RCTPromiseRejectBlock)reject)
@@ -243,7 +243,7 @@ class RCTMoveSdk: RCTEventEmitter {
243
243
  }
244
244
 
245
245
  @objc
246
- func forceTripRecognition() {
246
+ func forceTripRecognition(_ : Any?) {
247
247
  MoveSDKLauncher.shared.sdk.forceTripRecognition()
248
248
  }
249
249
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-move-sdk",
3
- "version": "2.3.6",
3
+ "version": "2.3.8",
4
4
  "description": "React Native library for MOVE SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",