appsprint-react-native 1.1.11 → 1.1.13
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/README.md +7 -6
- package/android/libs/appsprint-sdk.aar +0 -0
- package/ios/AppSprintSDK.xcframework/Info.plist +4 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.abi.json +8 -8
- package/ios/AppSprintSDK.xcframework/ios-arm64/dSYMs/AppSprintSDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/dSYMs/AppSprintSDK.framework.dSYM/Contents/Resources/DWARF/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/dSYMs/AppSprintSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/AppSprintSDK.yml +1137 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +8 -8
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +8 -8
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/AppSprintSDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/AppSprintSDK.framework.dSYM/Contents/Resources/DWARF/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/AppSprintSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/AppSprintSDK.yml +1137 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/AppSprintSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/AppSprintSDK.yml +1133 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -157,20 +157,21 @@ Once an install registers, attribution is cached on the native side. You can rea
|
|
|
157
157
|
```tsx
|
|
158
158
|
const attribution = await AppSprint.getAttribution();
|
|
159
159
|
const appsprintId = await AppSprint.getAppSprintId();
|
|
160
|
-
const params = await AppSprint.getAttributionParams();
|
|
161
160
|
```
|
|
162
161
|
|
|
163
162
|
`AttributionResult.source` is one of `apple_ads`, `tracking_link`, or `organic`.
|
|
164
163
|
|
|
165
|
-
###
|
|
164
|
+
### Link RevenueCat or Superwall
|
|
166
165
|
|
|
167
|
-
`getAttributionParams()`
|
|
166
|
+
For revenue webhooks, set only the `appsprintId` subscriber/user attribute. Do not forward the full `getAttributionParams()` map to RevenueCat; it contains attribution details such as `source` and `isAttributed` for diagnostics and custom integrations.
|
|
168
167
|
|
|
169
168
|
```tsx
|
|
170
169
|
import Purchases from "react-native-purchases";
|
|
171
170
|
|
|
172
|
-
const
|
|
173
|
-
|
|
171
|
+
const appsprintId = await AppSprint.getAppSprintId();
|
|
172
|
+
if (appsprintId) {
|
|
173
|
+
await Purchases.setAttributes({ appsprintId });
|
|
174
|
+
}
|
|
174
175
|
```
|
|
175
176
|
|
|
176
177
|
### Manual refresh
|
|
@@ -252,7 +253,7 @@ import { AppSprint } from "appsprint-react-native";
|
|
|
252
253
|
- `refreshAttribution()` fetches the latest attribution from the backend.
|
|
253
254
|
- `setCustomerUserId(userId)` updates the customer user ID.
|
|
254
255
|
- `getAttribution()` returns the cached attribution.
|
|
255
|
-
- `getAttributionParams()` returns
|
|
256
|
+
- `getAttributionParams()` returns a flat attribution/debug payload for custom integrations.
|
|
256
257
|
- `getAppSprintId()` returns the SDK install identifier.
|
|
257
258
|
- `enableAppleAdsAttribution()` re-enables Apple Ads at runtime on iOS; returns `false` on Android.
|
|
258
259
|
- `sendTestEvent()` posts a diagnostic event and resolves to `{ success, message }`.
|
|
Binary file
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
<dict>
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>AppSprintSDK.framework/AppSprintSDK</string>
|
|
10
|
+
<key>DebugSymbolsPath</key>
|
|
11
|
+
<string>dSYMs</string>
|
|
10
12
|
<key>LibraryIdentifier</key>
|
|
11
13
|
<string>ios-arm64</string>
|
|
12
14
|
<key>LibraryPath</key>
|
|
@@ -21,6 +23,8 @@
|
|
|
21
23
|
<dict>
|
|
22
24
|
<key>BinaryPath</key>
|
|
23
25
|
<string>AppSprintSDK.framework/AppSprintSDK</string>
|
|
26
|
+
<key>DebugSymbolsPath</key>
|
|
27
|
+
<string>dSYMs</string>
|
|
24
28
|
<key>LibraryIdentifier</key>
|
|
25
29
|
<string>ios-arm64_x86_64-simulator</string>
|
|
26
30
|
<key>LibraryPath</key>
|
|
Binary file
|
|
@@ -11069,48 +11069,48 @@
|
|
|
11069
11069
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11070
11070
|
"kind": "StringLiteral",
|
|
11071
11071
|
"offset": 577,
|
|
11072
|
-
"length":
|
|
11073
|
-
"value": "\"1.1.
|
|
11072
|
+
"length": 8,
|
|
11073
|
+
"value": "\"1.1.10\""
|
|
11074
11074
|
},
|
|
11075
11075
|
{
|
|
11076
11076
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11077
11077
|
"kind": "StringLiteral",
|
|
11078
|
-
"offset":
|
|
11078
|
+
"offset": 894,
|
|
11079
11079
|
"length": 15,
|
|
11080
11080
|
"value": "\"com.appsprint\""
|
|
11081
11081
|
},
|
|
11082
11082
|
{
|
|
11083
11083
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11084
11084
|
"kind": "StringLiteral",
|
|
11085
|
-
"offset":
|
|
11085
|
+
"offset": 947,
|
|
11086
11086
|
"length": 86,
|
|
11087
11087
|
"value": "\"AppSprint could not open UserDefaults suite com.appsprint; falling back to standard.\""
|
|
11088
11088
|
},
|
|
11089
11089
|
{
|
|
11090
11090
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11091
11091
|
"kind": "BooleanLiteral",
|
|
11092
|
-
"offset":
|
|
11092
|
+
"offset": 14456,
|
|
11093
11093
|
"length": 5,
|
|
11094
11094
|
"value": "false"
|
|
11095
11095
|
},
|
|
11096
11096
|
{
|
|
11097
11097
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11098
11098
|
"kind": "StringLiteral",
|
|
11099
|
-
"offset":
|
|
11099
|
+
"offset": 17421,
|
|
11100
11100
|
"length": 32,
|
|
11101
11101
|
"value": "\"app.appsprint.sdk.network-path\""
|
|
11102
11102
|
},
|
|
11103
11103
|
{
|
|
11104
11104
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11105
11105
|
"kind": "BooleanLiteral",
|
|
11106
|
-
"offset":
|
|
11106
|
+
"offset": 17513,
|
|
11107
11107
|
"length": 5,
|
|
11108
11108
|
"value": "false"
|
|
11109
11109
|
},
|
|
11110
11110
|
{
|
|
11111
11111
|
"filePath": "\/Users\/arthur\/Dev\/appsprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
11112
11112
|
"kind": "FloatLiteral",
|
|
11113
|
-
"offset":
|
|
11113
|
+
"offset": 17678,
|
|
11114
11114
|
"length": 4,
|
|
11115
11115
|
"value": "0.12"
|
|
11116
11116
|
},
|
package/ios/AppSprintSDK.xcframework/ios-arm64/dSYMs/AppSprintSDK.framework.dSYM/Contents/Info.plist
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>English</string>
|
|
7
|
+
<key>CFBundleIdentifier</key>
|
|
8
|
+
<string>com.apple.xcode.dsym.appsprint-ios.AppSprintSDK</string>
|
|
9
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
10
|
+
<string>6.0</string>
|
|
11
|
+
<key>CFBundlePackageType</key>
|
|
12
|
+
<string>dSYM</string>
|
|
13
|
+
<key>CFBundleSignature</key>
|
|
14
|
+
<string>????</string>
|
|
15
|
+
<key>CFBundleShortVersionString</key>
|
|
16
|
+
<string>1.0</string>
|
|
17
|
+
<key>CFBundleVersion</key>
|
|
18
|
+
<string>1</string>
|
|
19
|
+
</dict>
|
|
20
|
+
</plist>
|