appsprint-react-native 1.1.4 → 1.1.5
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/libs/appsprint-sdk.aar +0 -0
- package/android/src/main/kotlin/com/appsprint/AppSprintBridgeModule.kt +11 -0
- package/ios/AppSprintBridge.m +3 -0
- package/ios/AppSprintBridge.swift +15 -0
- package/ios/AppSprintSDK.xcframework/Info.plist +5 -5
- 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 +134 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.package.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftinterface +4 -1
- 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 +134 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +134 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +4 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +4 -1
- package/lib/commonjs/NativeAppSprint.js +3 -0
- package/lib/module/NativeAppSprint.js +3 -0
- package/lib/typescript/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/NativeAppSprint.ts +3 -0
- package/src/types.ts +2 -0
|
Binary file
|
|
@@ -283,6 +283,7 @@ class AppSprintBridgeModule(reactContext: ReactApplicationContext) : ReactContex
|
|
|
283
283
|
deviceInfo.mobileNetworkCode?.let { info.putString("mobileNetworkCode", it) }
|
|
284
284
|
deviceInfo.sdkPlatform?.let { info.putString("sdkPlatform", it) }
|
|
285
285
|
deviceInfo.sdkVersion?.let { info.putString("sdkVersion", it) }
|
|
286
|
+
deviceInfo.sdkWebViewUserAgent?.let { info.putString("sdkWebViewUserAgent", it) }
|
|
286
287
|
deviceInfo.locale?.let { info.putString("locale", it) }
|
|
287
288
|
deviceInfo.timezone?.let { info.putString("timezone", it) }
|
|
288
289
|
deviceInfo.osVersion?.let { info.putString("osVersion", it) }
|
|
@@ -292,6 +293,16 @@ class AppSprintBridgeModule(reactContext: ReactApplicationContext) : ReactContex
|
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
|
|
296
|
+
@ReactMethod
|
|
297
|
+
fun getWebViewUserAgent(promise: Promise) {
|
|
298
|
+
runAsync("WEBVIEW_USER_AGENT_ERROR", promise) {
|
|
299
|
+
val userAgent = AppSprintNative(reactApplicationContext)
|
|
300
|
+
.getDeviceInfo(includeAdvertisingId = false)
|
|
301
|
+
.sdkWebViewUserAgent
|
|
302
|
+
promise.resolve(userAgent)
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
295
306
|
@ReactMethod
|
|
296
307
|
fun getAdServicesToken(promise: Promise) {
|
|
297
308
|
promise.resolve(null) // iOS only
|
package/ios/AppSprintBridge.m
CHANGED
|
@@ -56,6 +56,9 @@ RCT_EXTERN_METHOD(destroy:(RCTPromiseResolveBlock)resolve
|
|
|
56
56
|
RCT_EXTERN_METHOD(getDeviceInfo:(RCTPromiseResolveBlock)resolve
|
|
57
57
|
rejecter:(RCTPromiseRejectBlock)reject)
|
|
58
58
|
|
|
59
|
+
RCT_EXTERN_METHOD(getWebViewUserAgent:(RCTPromiseResolveBlock)resolve
|
|
60
|
+
rejecter:(RCTPromiseRejectBlock)reject)
|
|
61
|
+
|
|
59
62
|
RCT_EXTERN_METHOD(getAdServicesToken:(RCTPromiseResolveBlock)resolve
|
|
60
63
|
rejecter:(RCTPromiseRejectBlock)reject)
|
|
61
64
|
|
|
@@ -198,6 +198,12 @@ class AppSprintBridge: NSObject {
|
|
|
198
198
|
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
199
199
|
Task { @MainActor in
|
|
200
200
|
let info = AppSprintNative.getDeviceInfo()
|
|
201
|
+
let sdkWebViewUserAgent: String?
|
|
202
|
+
if let userAgent = info.sdkWebViewUserAgent {
|
|
203
|
+
sdkWebViewUserAgent = userAgent
|
|
204
|
+
} else {
|
|
205
|
+
sdkWebViewUserAgent = await AppSprintNative.getWebViewUserAgent()
|
|
206
|
+
}
|
|
201
207
|
var dict: [String: Any] = [:]
|
|
202
208
|
if let m = info.deviceModel { dict["deviceModel"] = m }
|
|
203
209
|
if let w = info.screenWidth { dict["screenWidth"] = w }
|
|
@@ -229,6 +235,7 @@ class AppSprintBridge: NSObject {
|
|
|
229
235
|
if let value = info.mobileNetworkCode { dict["mobileNetworkCode"] = value }
|
|
230
236
|
if let value = info.sdkPlatform { dict["sdkPlatform"] = value }
|
|
231
237
|
if let value = info.sdkVersion { dict["sdkVersion"] = value }
|
|
238
|
+
if let value = sdkWebViewUserAgent { dict["sdkWebViewUserAgent"] = value }
|
|
232
239
|
if let l = info.locale { dict["locale"] = l }
|
|
233
240
|
if let t = info.timezone { dict["timezone"] = t }
|
|
234
241
|
if let o = info.osVersion { dict["osVersion"] = o }
|
|
@@ -241,6 +248,14 @@ class AppSprintBridge: NSObject {
|
|
|
241
248
|
}
|
|
242
249
|
}
|
|
243
250
|
|
|
251
|
+
@objc func getWebViewUserAgent(_ resolve: @escaping RCTPromiseResolveBlock,
|
|
252
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
253
|
+
Task { @MainActor in
|
|
254
|
+
let userAgent = await AppSprintNative.getWebViewUserAgent()
|
|
255
|
+
resolve(userAgent as Any)
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
244
259
|
@objc func getAdServicesToken(_ resolve: @escaping RCTPromiseResolveBlock,
|
|
245
260
|
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
246
261
|
let token = AppSprintNative.getAdServicesToken()
|
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>AppSprintSDK.framework/AppSprintSDK</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>AppSprintSDK.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
-
<string>x86_64</string>
|
|
18
17
|
</array>
|
|
19
18
|
<key>SupportedPlatform</key>
|
|
20
19
|
<string>ios</string>
|
|
21
|
-
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>simulator</string>
|
|
23
20
|
</dict>
|
|
24
21
|
<dict>
|
|
25
22
|
<key>BinaryPath</key>
|
|
26
23
|
<string>AppSprintSDK.framework/AppSprintSDK</string>
|
|
27
24
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-
|
|
25
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
29
26
|
<key>LibraryPath</key>
|
|
30
27
|
<string>AppSprintSDK.framework</string>
|
|
31
28
|
<key>SupportedArchitectures</key>
|
|
32
29
|
<array>
|
|
33
30
|
<string>arm64</string>
|
|
31
|
+
<string>x86_64</string>
|
|
34
32
|
</array>
|
|
35
33
|
<key>SupportedPlatform</key>
|
|
36
34
|
<string>ios</string>
|
|
35
|
+
<key>SupportedPlatformVariant</key>
|
|
36
|
+
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
@@ -1690,6 +1690,13 @@
|
|
|
1690
1690
|
"declKind": "Import",
|
|
1691
1691
|
"moduleName": "AppSprintSDK"
|
|
1692
1692
|
},
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "Import",
|
|
1695
|
+
"name": "WebKit",
|
|
1696
|
+
"printedName": "WebKit",
|
|
1697
|
+
"declKind": "Import",
|
|
1698
|
+
"moduleName": "AppSprintSDK"
|
|
1699
|
+
},
|
|
1693
1700
|
{
|
|
1694
1701
|
"kind": "TypeDecl",
|
|
1695
1702
|
"name": "AppSprintNative",
|
|
@@ -1748,6 +1755,37 @@
|
|
|
1748
1755
|
],
|
|
1749
1756
|
"funcSelfKind": "NonMutating"
|
|
1750
1757
|
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "Function",
|
|
1760
|
+
"name": "getWebViewUserAgent",
|
|
1761
|
+
"printedName": "getWebViewUserAgent()",
|
|
1762
|
+
"children": [
|
|
1763
|
+
{
|
|
1764
|
+
"kind": "TypeNominal",
|
|
1765
|
+
"name": "Optional",
|
|
1766
|
+
"printedName": "Swift.String?",
|
|
1767
|
+
"children": [
|
|
1768
|
+
{
|
|
1769
|
+
"kind": "TypeNominal",
|
|
1770
|
+
"name": "String",
|
|
1771
|
+
"printedName": "Swift.String",
|
|
1772
|
+
"usr": "s:SS"
|
|
1773
|
+
}
|
|
1774
|
+
],
|
|
1775
|
+
"usr": "s:Sq"
|
|
1776
|
+
}
|
|
1777
|
+
],
|
|
1778
|
+
"declKind": "Func",
|
|
1779
|
+
"usr": "s:12AppSprintSDK0aB6NativeO19getWebViewUserAgentSSSgyYaFZ",
|
|
1780
|
+
"mangledName": "$s12AppSprintSDK0aB6NativeO19getWebViewUserAgentSSSgyYaFZ",
|
|
1781
|
+
"moduleName": "AppSprintSDK",
|
|
1782
|
+
"static": true,
|
|
1783
|
+
"declAttributes": [
|
|
1784
|
+
"AccessControl",
|
|
1785
|
+
"Custom"
|
|
1786
|
+
],
|
|
1787
|
+
"funcSelfKind": "NonMutating"
|
|
1788
|
+
},
|
|
1751
1789
|
{
|
|
1752
1790
|
"kind": "Function",
|
|
1753
1791
|
"name": "requestTrackingAuthorization",
|
|
@@ -8255,6 +8293,66 @@
|
|
|
8255
8293
|
}
|
|
8256
8294
|
]
|
|
8257
8295
|
},
|
|
8296
|
+
{
|
|
8297
|
+
"kind": "Var",
|
|
8298
|
+
"name": "sdkWebViewUserAgent",
|
|
8299
|
+
"printedName": "sdkWebViewUserAgent",
|
|
8300
|
+
"children": [
|
|
8301
|
+
{
|
|
8302
|
+
"kind": "TypeNominal",
|
|
8303
|
+
"name": "Optional",
|
|
8304
|
+
"printedName": "Swift.String?",
|
|
8305
|
+
"children": [
|
|
8306
|
+
{
|
|
8307
|
+
"kind": "TypeNominal",
|
|
8308
|
+
"name": "String",
|
|
8309
|
+
"printedName": "Swift.String",
|
|
8310
|
+
"usr": "s:SS"
|
|
8311
|
+
}
|
|
8312
|
+
],
|
|
8313
|
+
"usr": "s:Sq"
|
|
8314
|
+
}
|
|
8315
|
+
],
|
|
8316
|
+
"declKind": "Var",
|
|
8317
|
+
"usr": "s:12AppSprintSDK10DeviceInfoV19sdkWebViewUserAgentSSSgvp",
|
|
8318
|
+
"mangledName": "$s12AppSprintSDK10DeviceInfoV19sdkWebViewUserAgentSSSgvp",
|
|
8319
|
+
"moduleName": "AppSprintSDK",
|
|
8320
|
+
"declAttributes": [
|
|
8321
|
+
"HasStorage",
|
|
8322
|
+
"AccessControl"
|
|
8323
|
+
],
|
|
8324
|
+
"isLet": true,
|
|
8325
|
+
"hasStorage": true,
|
|
8326
|
+
"accessors": [
|
|
8327
|
+
{
|
|
8328
|
+
"kind": "Accessor",
|
|
8329
|
+
"name": "Get",
|
|
8330
|
+
"printedName": "Get()",
|
|
8331
|
+
"children": [
|
|
8332
|
+
{
|
|
8333
|
+
"kind": "TypeNominal",
|
|
8334
|
+
"name": "Optional",
|
|
8335
|
+
"printedName": "Swift.String?",
|
|
8336
|
+
"children": [
|
|
8337
|
+
{
|
|
8338
|
+
"kind": "TypeNominal",
|
|
8339
|
+
"name": "String",
|
|
8340
|
+
"printedName": "Swift.String",
|
|
8341
|
+
"usr": "s:SS"
|
|
8342
|
+
}
|
|
8343
|
+
],
|
|
8344
|
+
"usr": "s:Sq"
|
|
8345
|
+
}
|
|
8346
|
+
],
|
|
8347
|
+
"declKind": "Accessor",
|
|
8348
|
+
"usr": "s:12AppSprintSDK10DeviceInfoV19sdkWebViewUserAgentSSSgvg",
|
|
8349
|
+
"mangledName": "$s12AppSprintSDK10DeviceInfoV19sdkWebViewUserAgentSSSgvg",
|
|
8350
|
+
"moduleName": "AppSprintSDK",
|
|
8351
|
+
"implicit": true,
|
|
8352
|
+
"accessorKind": "get"
|
|
8353
|
+
}
|
|
8354
|
+
]
|
|
8355
|
+
},
|
|
8258
8356
|
{
|
|
8259
8357
|
"kind": "Var",
|
|
8260
8358
|
"name": "locale",
|
|
@@ -8738,7 +8836,7 @@
|
|
|
8738
8836
|
{
|
|
8739
8837
|
"kind": "Constructor",
|
|
8740
8838
|
"name": "init",
|
|
8741
|
-
"printedName": "init(deviceModel:screenWidth:screenHeight:nativeScreenWidth:nativeScreenHeight:screenScale:hardwareConcurrency:processorCount:maxTouchPoints:memoryGb:lowPowerMode:batteryState:batteryLevelBucket:preferredLanguages:timezoneOffsetMinutes:deviceManufacturer:deviceBrand:deviceProduct:deviceHardware:gpuVendor:gpuRenderer:connectionType:networkType:colorScheme:carrierName:carrierCountryCode:mobileCountryCode:mobileNetworkCode:sdkPlatform:sdkVersion:locale:timezone:osVersion:appVersion:idfv:idfa:adServicesToken:attStatus:)",
|
|
8839
|
+
"printedName": "init(deviceModel:screenWidth:screenHeight:nativeScreenWidth:nativeScreenHeight:screenScale:hardwareConcurrency:processorCount:maxTouchPoints:memoryGb:lowPowerMode:batteryState:batteryLevelBucket:preferredLanguages:timezoneOffsetMinutes:deviceManufacturer:deviceBrand:deviceProduct:deviceHardware:gpuVendor:gpuRenderer:connectionType:networkType:colorScheme:carrierName:carrierCountryCode:mobileCountryCode:mobileNetworkCode:sdkPlatform:sdkVersion:sdkWebViewUserAgent:locale:timezone:osVersion:appVersion:idfv:idfa:adServicesToken:attStatus:)",
|
|
8742
8840
|
"children": [
|
|
8743
8841
|
{
|
|
8744
8842
|
"kind": "TypeNominal",
|
|
@@ -9309,6 +9407,21 @@
|
|
|
9309
9407
|
"hasDefaultArg": true,
|
|
9310
9408
|
"usr": "s:Sq"
|
|
9311
9409
|
},
|
|
9410
|
+
{
|
|
9411
|
+
"kind": "TypeNominal",
|
|
9412
|
+
"name": "Optional",
|
|
9413
|
+
"printedName": "Swift.String?",
|
|
9414
|
+
"children": [
|
|
9415
|
+
{
|
|
9416
|
+
"kind": "TypeNominal",
|
|
9417
|
+
"name": "String",
|
|
9418
|
+
"printedName": "Swift.String",
|
|
9419
|
+
"usr": "s:SS"
|
|
9420
|
+
}
|
|
9421
|
+
],
|
|
9422
|
+
"hasDefaultArg": true,
|
|
9423
|
+
"usr": "s:Sq"
|
|
9424
|
+
},
|
|
9312
9425
|
{
|
|
9313
9426
|
"kind": "TypeNominal",
|
|
9314
9427
|
"name": "Optional",
|
|
@@ -9326,8 +9439,8 @@
|
|
|
9326
9439
|
}
|
|
9327
9440
|
],
|
|
9328
9441
|
"declKind": "Constructor",
|
|
9329
|
-
"usr": "s:
|
|
9330
|
-
"mangledName": "$
|
|
9442
|
+
"usr": "s:12AppSprintSDK10DeviceInfoV11deviceModel11screenWidth0H6Height012nativeScreenI00klJ00H5Scale19hardwareConcurrency14processorCount14maxTouchPoints8memoryGb12lowPowerMode12batteryState0Z11LevelBucket18preferredLanguages21timezoneOffsetMinutes0F12Manufacturer0F5Brand0F7Product0F8Hardware9gpuVendor11gpuRenderer14connectionType11networkType11colorScheme11carrierName18carrierCountryCode17mobileCountryCode17mobileNetworkCode11sdkPlatform10sdkVersion19sdkWebViewUserAgent6locale8timezone9osVersion10appVersion4idfv4idfa15adServicesToken9attStatusACSSSg_SiSgA16_A16_A16_SdSgA16_A16_A16_A16_SbSgA15_A15_SaySSGSgA16_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_AA0aB9AttStatusOSgtcfc",
|
|
9443
|
+
"mangledName": "$s12AppSprintSDK10DeviceInfoV11deviceModel11screenWidth0H6Height012nativeScreenI00klJ00H5Scale19hardwareConcurrency14processorCount14maxTouchPoints8memoryGb12lowPowerMode12batteryState0Z11LevelBucket18preferredLanguages21timezoneOffsetMinutes0F12Manufacturer0F5Brand0F7Product0F8Hardware9gpuVendor11gpuRenderer14connectionType11networkType11colorScheme11carrierName18carrierCountryCode17mobileCountryCode17mobileNetworkCode11sdkPlatform10sdkVersion19sdkWebViewUserAgent6locale8timezone9osVersion10appVersion4idfv4idfa15adServicesToken9attStatusACSSSg_SiSgA16_A16_A16_SdSgA16_A16_A16_A16_SbSgA15_A15_SaySSGSgA16_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_A15_AA0aB9AttStatusOSgtcfc",
|
|
9331
9444
|
"moduleName": "AppSprintSDK",
|
|
9332
9445
|
"declAttributes": [
|
|
9333
9446
|
"AccessControl"
|
|
@@ -10609,49 +10722,56 @@
|
|
|
10609
10722
|
{
|
|
10610
10723
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10611
10724
|
"kind": "StringLiteral",
|
|
10612
|
-
"offset":
|
|
10725
|
+
"offset": 577,
|
|
10613
10726
|
"length": 7,
|
|
10614
|
-
"value": "\"1.1.
|
|
10727
|
+
"value": "\"1.1.3\""
|
|
10728
|
+
},
|
|
10729
|
+
{
|
|
10730
|
+
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10731
|
+
"kind": "Dictionary",
|
|
10732
|
+
"offset": 715,
|
|
10733
|
+
"length": 3,
|
|
10734
|
+
"value": "[]"
|
|
10615
10735
|
},
|
|
10616
10736
|
{
|
|
10617
10737
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10618
10738
|
"kind": "StringLiteral",
|
|
10619
|
-
"offset":
|
|
10739
|
+
"offset": 830,
|
|
10620
10740
|
"length": 15,
|
|
10621
10741
|
"value": "\"com.appsprint\""
|
|
10622
10742
|
},
|
|
10623
10743
|
{
|
|
10624
10744
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10625
10745
|
"kind": "StringLiteral",
|
|
10626
|
-
"offset":
|
|
10746
|
+
"offset": 883,
|
|
10627
10747
|
"length": 86,
|
|
10628
10748
|
"value": "\"AppSprint could not open UserDefaults suite com.appsprint; falling back to standard.\""
|
|
10629
10749
|
},
|
|
10630
10750
|
{
|
|
10631
10751
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10632
10752
|
"kind": "BooleanLiteral",
|
|
10633
|
-
"offset":
|
|
10753
|
+
"offset": 14076,
|
|
10634
10754
|
"length": 5,
|
|
10635
10755
|
"value": "false"
|
|
10636
10756
|
},
|
|
10637
10757
|
{
|
|
10638
10758
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10639
10759
|
"kind": "StringLiteral",
|
|
10640
|
-
"offset":
|
|
10760
|
+
"offset": 17041,
|
|
10641
10761
|
"length": 32,
|
|
10642
10762
|
"value": "\"app.appsprint.sdk.network-path\""
|
|
10643
10763
|
},
|
|
10644
10764
|
{
|
|
10645
10765
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10646
10766
|
"kind": "BooleanLiteral",
|
|
10647
|
-
"offset":
|
|
10767
|
+
"offset": 17133,
|
|
10648
10768
|
"length": 5,
|
|
10649
10769
|
"value": "false"
|
|
10650
10770
|
},
|
|
10651
10771
|
{
|
|
10652
10772
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10653
10773
|
"kind": "FloatLiteral",
|
|
10654
|
-
"offset":
|
|
10774
|
+
"offset": 17298,
|
|
10655
10775
|
"length": 4,
|
|
10656
10776
|
"value": "0.12"
|
|
10657
10777
|
},
|
|
@@ -10833,21 +10953,21 @@
|
|
|
10833
10953
|
{
|
|
10834
10954
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10835
10955
|
"kind": "StringLiteral",
|
|
10836
|
-
"offset":
|
|
10956
|
+
"offset": 10585,
|
|
10837
10957
|
"length": 9,
|
|
10838
10958
|
"value": "\"GRANTED\""
|
|
10839
10959
|
},
|
|
10840
10960
|
{
|
|
10841
10961
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10842
10962
|
"kind": "StringLiteral",
|
|
10843
|
-
"offset":
|
|
10963
|
+
"offset": 10613,
|
|
10844
10964
|
"length": 8,
|
|
10845
10965
|
"value": "\"DENIED\""
|
|
10846
10966
|
},
|
|
10847
10967
|
{
|
|
10848
10968
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10849
10969
|
"kind": "StringLiteral",
|
|
10850
|
-
"offset":
|
|
10970
|
+
"offset": 10645,
|
|
10851
10971
|
"length": 13,
|
|
10852
10972
|
"value": "\"UNSPECIFIED\""
|
|
10853
10973
|
}
|
|
@@ -15,6 +15,7 @@ import Metal
|
|
|
15
15
|
import Network
|
|
16
16
|
import Swift
|
|
17
17
|
import UIKit
|
|
18
|
+
import WebKit
|
|
18
19
|
import _Concurrency
|
|
19
20
|
import _StringProcessing
|
|
20
21
|
import _SwiftConcurrencyShims
|
|
@@ -58,6 +59,7 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
58
59
|
public enum AppSprintNative {
|
|
59
60
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
60
61
|
public static func getAdServicesToken() -> Swift.String?
|
|
62
|
+
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
61
63
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
62
64
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
63
65
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
@@ -211,6 +213,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
211
213
|
public let mobileNetworkCode: Swift.String?
|
|
212
214
|
public let sdkPlatform: Swift.String?
|
|
213
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
214
217
|
public let locale: Swift.String?
|
|
215
218
|
public let timezone: Swift.String?
|
|
216
219
|
public let osVersion: Swift.String?
|
|
@@ -219,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
219
222
|
public let idfa: Swift.String?
|
|
220
223
|
public let adServicesToken: Swift.String?
|
|
221
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
222
|
-
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
225
|
+
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
223
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
224
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
225
228
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -15,6 +15,7 @@ import Metal
|
|
|
15
15
|
import Network
|
|
16
16
|
import Swift
|
|
17
17
|
import UIKit
|
|
18
|
+
import WebKit
|
|
18
19
|
import _Concurrency
|
|
19
20
|
import _StringProcessing
|
|
20
21
|
import _SwiftConcurrencyShims
|
|
@@ -58,6 +59,7 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
58
59
|
public enum AppSprintNative {
|
|
59
60
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
60
61
|
public static func getAdServicesToken() -> Swift.String?
|
|
62
|
+
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
61
63
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
62
64
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
63
65
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
@@ -211,6 +213,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
211
213
|
public let mobileNetworkCode: Swift.String?
|
|
212
214
|
public let sdkPlatform: Swift.String?
|
|
213
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
214
217
|
public let locale: Swift.String?
|
|
215
218
|
public let timezone: Swift.String?
|
|
216
219
|
public let osVersion: Swift.String?
|
|
@@ -219,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
219
222
|
public let idfa: Swift.String?
|
|
220
223
|
public let adServicesToken: Swift.String?
|
|
221
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
222
|
-
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
225
|
+
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
223
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
224
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
225
228
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -15,6 +15,7 @@ import Metal
|
|
|
15
15
|
import Network
|
|
16
16
|
import Swift
|
|
17
17
|
import UIKit
|
|
18
|
+
import WebKit
|
|
18
19
|
import _Concurrency
|
|
19
20
|
import _StringProcessing
|
|
20
21
|
import _SwiftConcurrencyShims
|
|
@@ -58,6 +59,7 @@ public struct AppSprintConfig : Swift.Sendable {
|
|
|
58
59
|
public enum AppSprintNative {
|
|
59
60
|
@_Concurrency.MainActor public static func getDeviceInfo() -> AppSprintSDK.DeviceInfo
|
|
60
61
|
public static func getAdServicesToken() -> Swift.String?
|
|
62
|
+
@_Concurrency.MainActor public static func getWebViewUserAgent() async -> Swift.String?
|
|
61
63
|
@_Concurrency.MainActor public static func requestTrackingAuthorization() async -> Swift.Bool
|
|
62
64
|
public static func storageSet(_ key: Swift.String, value: Swift.String)
|
|
63
65
|
public static func storageGet(_ key: Swift.String) -> Swift.String?
|
|
@@ -211,6 +213,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
211
213
|
public let mobileNetworkCode: Swift.String?
|
|
212
214
|
public let sdkPlatform: Swift.String?
|
|
213
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
214
217
|
public let locale: Swift.String?
|
|
215
218
|
public let timezone: Swift.String?
|
|
216
219
|
public let osVersion: Swift.String?
|
|
@@ -219,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
219
222
|
public let idfa: Swift.String?
|
|
220
223
|
public let adServicesToken: Swift.String?
|
|
221
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
222
|
-
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
225
|
+
public init(deviceModel: Swift.String? = nil, screenWidth: Swift.Int? = nil, screenHeight: Swift.Int? = nil, nativeScreenWidth: Swift.Int? = nil, nativeScreenHeight: Swift.Int? = nil, screenScale: Swift.Double? = nil, hardwareConcurrency: Swift.Int? = nil, processorCount: Swift.Int? = nil, maxTouchPoints: Swift.Int? = nil, memoryGb: Swift.Int? = nil, lowPowerMode: Swift.Bool? = nil, batteryState: Swift.String? = nil, batteryLevelBucket: Swift.String? = nil, preferredLanguages: [Swift.String]? = nil, timezoneOffsetMinutes: Swift.Int? = nil, deviceManufacturer: Swift.String? = nil, deviceBrand: Swift.String? = nil, deviceProduct: Swift.String? = nil, deviceHardware: Swift.String? = nil, gpuVendor: Swift.String? = nil, gpuRenderer: Swift.String? = nil, connectionType: Swift.String? = nil, networkType: Swift.String? = nil, colorScheme: Swift.String? = nil, carrierName: Swift.String? = nil, carrierCountryCode: Swift.String? = nil, mobileCountryCode: Swift.String? = nil, mobileNetworkCode: Swift.String? = nil, sdkPlatform: Swift.String? = nil, sdkVersion: Swift.String? = nil, sdkWebViewUserAgent: Swift.String? = nil, locale: Swift.String? = nil, timezone: Swift.String? = nil, osVersion: Swift.String? = nil, appVersion: Swift.String? = nil, idfv: Swift.String? = nil, idfa: Swift.String? = nil, adServicesToken: Swift.String? = nil, attStatus: AppSprintSDK.AppSprintAttStatus? = nil)
|
|
223
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
224
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
225
228
|
public init(from decoder: any Swift.Decoder) throws
|