react-native-rook-sdk 2.0.0-beta.0 → 2.0.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.
|
@@ -59,6 +59,8 @@ class RookConfigurationModule(
|
|
|
59
59
|
|
|
60
60
|
val result = rookConfigurationManager.updateUserID(userID)
|
|
61
61
|
result.getOrThrow()
|
|
62
|
+
|
|
63
|
+
promise.resolve(true)
|
|
62
64
|
} catch (e: Exception) {
|
|
63
65
|
promise.reject(e)
|
|
64
66
|
}
|
|
@@ -84,6 +86,8 @@ class RookConfigurationModule(
|
|
|
84
86
|
val hcResult = rookSamsung.clearUserID()
|
|
85
87
|
hcResult.getOrThrow()
|
|
86
88
|
}
|
|
89
|
+
|
|
90
|
+
promise.resolve(true)
|
|
87
91
|
}
|
|
88
92
|
catch (e: Exception) {
|
|
89
93
|
promise.reject(e)
|
|
@@ -110,6 +114,8 @@ class RookConfigurationModule(
|
|
|
110
114
|
val hcResult = rookSamsung.deleteUserFromRook()
|
|
111
115
|
hcResult.getOrThrow()
|
|
112
116
|
}
|
|
117
|
+
|
|
118
|
+
promise.resolve(true)
|
|
113
119
|
}
|
|
114
120
|
catch (e: Exception) {
|
|
115
121
|
promise.reject(e)
|