appsprint-react-native 1.1.9 → 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.
Files changed (33) hide show
  1. package/README.md +2 -0
  2. package/ios/AppSprintBridge.swift +3 -0
  3. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/AppSprintSDK +0 -0
  4. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Info.plist +0 -0
  5. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.abi.json +532 -193
  6. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.package.swiftinterface +14 -40
  7. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +14 -40
  8. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  9. package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftinterface +14 -40
  10. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/AppSprintSDK +0 -0
  11. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Info.plist +0 -0
  12. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +532 -193
  13. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +14 -40
  14. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +14 -40
  15. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  16. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -40
  17. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +532 -193
  18. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +14 -40
  19. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +14 -40
  20. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  21. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +14 -40
  22. package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/_CodeSignature/CodeResources +1 -1
  23. package/lib/commonjs/AppSprintAppleAds.js +46 -0
  24. package/lib/commonjs/index.js +7 -0
  25. package/lib/module/AppSprintAppleAds.js +42 -0
  26. package/lib/module/index.js +1 -0
  27. package/lib/typescript/AppSprintAppleAds.d.ts +16 -0
  28. package/lib/typescript/index.d.ts +2 -0
  29. package/lib/typescript/types.d.ts +1 -0
  30. package/package.json +1 -1
  31. package/src/AppSprintAppleAds.ts +54 -0
  32. package/src/index.ts +4 -0
  33. 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
@@ -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
  }