@tryvital/vital-core-react-native 0.2.7 → 0.3.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.
|
@@ -12,11 +12,19 @@ class VitalCoreReactNativeModule(reactContext: ReactApplicationContext) :
|
|
|
12
12
|
return NAME
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
// Example method
|
|
16
|
-
// See https://reactnative.dev/docs/native-modules-android
|
|
17
15
|
@ReactMethod
|
|
18
|
-
fun
|
|
19
|
-
promise.resolve(
|
|
16
|
+
fun setUserId(userId: String, promise: Promise) {
|
|
17
|
+
promise.resolve(null)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@ReactMethod
|
|
21
|
+
fun configure(apiKey: String, environment: String, region: String, enableLogs: Boolean, promise: Promise) {
|
|
22
|
+
promise.resolve(null)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@ReactMethod
|
|
26
|
+
fun cleanUp(promise: Promise) {
|
|
27
|
+
promise.resolve(null)
|
|
20
28
|
}
|
|
21
29
|
|
|
22
30
|
companion object {
|