@rovenue/react-native-sdk 0.24.0 → 0.26.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.
- package/android/src/main/java/dev/rovenue/sdkrn/RovenueModule.kt +2 -2
- package/dist/chunk-BORMJJTI.js +7 -0
- package/dist/{chunk-ETC46J2X.js.map → chunk-BORMJJTI.js.map} +1 -1
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -10
- package/dist/index.d.ts +19 -10
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/ios/RovenueModule.swift +4 -2
- package/package.json +1 -1
- package/dist/chunk-ETC46J2X.js +0 -7
package/dist/version.js
CHANGED
package/ios/RovenueModule.swift
CHANGED
|
@@ -199,8 +199,10 @@ public class RovenueModule: Module {
|
|
|
199
199
|
let u = await Rovenue.shared.currentUser()
|
|
200
200
|
return ["rovenueId": u.rovenueId, "appUserId": u.appUserId as Any?]
|
|
201
201
|
}
|
|
202
|
-
AsyncFunction("identify") { (appUserId: String) in
|
|
203
|
-
try await rovenueCall {
|
|
202
|
+
AsyncFunction("identify") { (appUserId: String, identityToken: String) in
|
|
203
|
+
try await rovenueCall {
|
|
204
|
+
try await Rovenue.shared.identify(appUserId: appUserId, identityToken: identityToken)
|
|
205
|
+
}
|
|
204
206
|
}
|
|
205
207
|
AsyncFunction("setAttribution") { (provider: String, data: [String: Any]) in
|
|
206
208
|
guard let mmp = AttributionProvider(rawValue: provider) else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rovenue/react-native-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Rovenue React Native SDK — subscriptions, entitlements, virtual currencies and funnels for Expo / React Native apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rovenue.io",
|