appsprint-react-native 1.1.8 → 1.1.10
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 +4 -2
- package/ios/AppSprintBridge.swift +3 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/AppSprintSDK +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Info.plist +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.abi.json +377 -45
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.package.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/PrivacyInfo.xcprivacy +11 -15
- 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/Info.plist +0 -0
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +377 -45
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +377 -45
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +11 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/PrivacyInfo.xcprivacy +11 -15
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/_CodeSignature/CodeResources +1 -1
- package/lib/commonjs/AppSprintAppleAds.js +46 -0
- package/lib/commonjs/index.js +7 -0
- package/lib/module/AppSprintAppleAds.js +42 -0
- package/lib/module/index.js +1 -0
- package/lib/typescript/AppSprintAppleAds.d.ts +16 -0
- package/lib/typescript/index.d.ts +2 -0
- package/lib/typescript/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/AppSprintAppleAds.ts +54 -0
- package/src/index.ts +4 -0
- package/src/types.ts +1 -0
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Mobile attribution and event tracking for React Native, with native iOS and Android SDKs bundled inside. Works with bare React Native and Expo. The JS bridge is thin: it forwards calls to the same native engines as our standalone iOS and Android SDKs.
|
|
4
4
|
|
|
5
|
+
NPM package: https://www.npmjs.com/package/appsprint-react-native
|
|
6
|
+
|
|
5
7
|
## Requirements
|
|
6
8
|
|
|
7
9
|
- React Native 0.71 or later
|
|
@@ -210,13 +212,13 @@ The native Android SDK reads GAID during install registration, off the main thre
|
|
|
210
212
|
|
|
211
213
|
- `configure()` resolves after local-state restore. Install registration runs in the background and retries with backoff on transient failures.
|
|
212
214
|
- Events queue locally on native storage and survive app restarts.
|
|
213
|
-
- iOS
|
|
215
|
+
- iOS fails fast on connectivity errors and retries through the SDK queue, so blocked or offline requests surface real errors instead of sitting in an OS connectivity wait.
|
|
214
216
|
- A rejected API key (`401` or `403`) disables the SDK on the native side. Future events drop until `clearData()` is called.
|
|
215
217
|
- Late identity updates (`setCustomerUserId`, iOS Apple Ads opt-in) retry automatically on the next `configure()` or foreground.
|
|
216
218
|
|
|
217
219
|
## Privacy
|
|
218
220
|
|
|
219
|
-
The vendored iOS framework ships a `PrivacyInfo.xcprivacy` manifest declaring `UserDefaults` access plus `DeviceID`, `ProductInteraction`, `UserID`, `CoarseLocation`, and `OtherDataTypes` collection, all marked `Tracking:
|
|
221
|
+
The vendored iOS framework ships a `PrivacyInfo.xcprivacy` manifest declaring `UserDefaults` access plus `DeviceID`, `ProductInteraction`, `UserID`, `CoarseLocation`, and `OtherDataTypes` collection, all marked `Tracking: false`. The core AppSprint API domain is not declared as a tracking domain, so ATT denial does not block install or event delivery.
|
|
220
222
|
|
|
221
223
|
For Android, include advertising ID collection, device IDs, approximate location/network-derived country, device or other identifiers, app activity, and (if you set `customerUserId`) user ID in your Play Console Data safety answers.
|
|
222
224
|
|
|
@@ -26,6 +26,7 @@ class AppSprintBridge: NSObject {
|
|
|
26
26
|
let customerUserId = config["customerUserId"] as? String
|
|
27
27
|
let autoTrackSessions = config["autoTrackSessions"] as? Bool ?? true
|
|
28
28
|
let autoRefreshAttribution = config["autoRefreshAttribution"] as? Bool ?? true
|
|
29
|
+
let eventTrackingEnabled = config["eventTrackingEnabled"] as? Bool ?? true
|
|
29
30
|
let googleAdsConsent = Self.googleAdsConsent(from: config["googleAdsConsent"])
|
|
30
31
|
|
|
31
32
|
let logLevel: AppSprintLogLevel
|
|
@@ -43,6 +44,7 @@ class AppSprintBridge: NSObject {
|
|
|
43
44
|
customerUserId: customerUserId,
|
|
44
45
|
autoTrackSessions: autoTrackSessions,
|
|
45
46
|
autoRefreshAttribution: autoRefreshAttribution,
|
|
47
|
+
eventTrackingEnabled: eventTrackingEnabled,
|
|
46
48
|
googleAdsConsent: googleAdsConsent
|
|
47
49
|
)
|
|
48
50
|
|
|
@@ -56,6 +58,7 @@ class AppSprintBridge: NSObject {
|
|
|
56
58
|
customerUserId: customerUserId,
|
|
57
59
|
autoTrackSessions: autoTrackSessions,
|
|
58
60
|
autoRefreshAttribution: autoRefreshAttribution,
|
|
61
|
+
eventTrackingEnabled: eventTrackingEnabled,
|
|
59
62
|
googleAdsConsent: googleAdsConsent
|
|
60
63
|
)
|
|
61
64
|
}
|
|
Binary file
|
|
Binary file
|