appsprint-react-native 1.1.3 → 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 +12 -0
- package/ios/AppSprintBridge.m +3 -0
- package/ios/AppSprintBridge.swift +16 -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 +209 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.package.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios.swiftinterface +5 -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 +209 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +209 -14
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +5 -1
- package/ios/AppSprintSDK.xcframework/ios-arm64_x86_64-simulator/AppSprintSDK.framework/Modules/AppSprintSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +5 -1
- package/lib/commonjs/NativeAppSprint.js +3 -0
- package/lib/module/NativeAppSprint.js +3 -0
- package/lib/typescript/types.d.ts +3 -0
- package/package.json +1 -1
- package/src/NativeAppSprint.ts +3 -0
- package/src/types.ts +3 -0
|
@@ -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",
|
|
@@ -7835,6 +7873,66 @@
|
|
|
7835
7873
|
}
|
|
7836
7874
|
]
|
|
7837
7875
|
},
|
|
7876
|
+
{
|
|
7877
|
+
"kind": "Var",
|
|
7878
|
+
"name": "colorScheme",
|
|
7879
|
+
"printedName": "colorScheme",
|
|
7880
|
+
"children": [
|
|
7881
|
+
{
|
|
7882
|
+
"kind": "TypeNominal",
|
|
7883
|
+
"name": "Optional",
|
|
7884
|
+
"printedName": "Swift.String?",
|
|
7885
|
+
"children": [
|
|
7886
|
+
{
|
|
7887
|
+
"kind": "TypeNominal",
|
|
7888
|
+
"name": "String",
|
|
7889
|
+
"printedName": "Swift.String",
|
|
7890
|
+
"usr": "s:SS"
|
|
7891
|
+
}
|
|
7892
|
+
],
|
|
7893
|
+
"usr": "s:Sq"
|
|
7894
|
+
}
|
|
7895
|
+
],
|
|
7896
|
+
"declKind": "Var",
|
|
7897
|
+
"usr": "s:12AppSprintSDK10DeviceInfoV11colorSchemeSSSgvp",
|
|
7898
|
+
"mangledName": "$s12AppSprintSDK10DeviceInfoV11colorSchemeSSSgvp",
|
|
7899
|
+
"moduleName": "AppSprintSDK",
|
|
7900
|
+
"declAttributes": [
|
|
7901
|
+
"HasStorage",
|
|
7902
|
+
"AccessControl"
|
|
7903
|
+
],
|
|
7904
|
+
"isLet": true,
|
|
7905
|
+
"hasStorage": true,
|
|
7906
|
+
"accessors": [
|
|
7907
|
+
{
|
|
7908
|
+
"kind": "Accessor",
|
|
7909
|
+
"name": "Get",
|
|
7910
|
+
"printedName": "Get()",
|
|
7911
|
+
"children": [
|
|
7912
|
+
{
|
|
7913
|
+
"kind": "TypeNominal",
|
|
7914
|
+
"name": "Optional",
|
|
7915
|
+
"printedName": "Swift.String?",
|
|
7916
|
+
"children": [
|
|
7917
|
+
{
|
|
7918
|
+
"kind": "TypeNominal",
|
|
7919
|
+
"name": "String",
|
|
7920
|
+
"printedName": "Swift.String",
|
|
7921
|
+
"usr": "s:SS"
|
|
7922
|
+
}
|
|
7923
|
+
],
|
|
7924
|
+
"usr": "s:Sq"
|
|
7925
|
+
}
|
|
7926
|
+
],
|
|
7927
|
+
"declKind": "Accessor",
|
|
7928
|
+
"usr": "s:12AppSprintSDK10DeviceInfoV11colorSchemeSSSgvg",
|
|
7929
|
+
"mangledName": "$s12AppSprintSDK10DeviceInfoV11colorSchemeSSSgvg",
|
|
7930
|
+
"moduleName": "AppSprintSDK",
|
|
7931
|
+
"implicit": true,
|
|
7932
|
+
"accessorKind": "get"
|
|
7933
|
+
}
|
|
7934
|
+
]
|
|
7935
|
+
},
|
|
7838
7936
|
{
|
|
7839
7937
|
"kind": "Var",
|
|
7840
7938
|
"name": "carrierName",
|
|
@@ -8195,6 +8293,66 @@
|
|
|
8195
8293
|
}
|
|
8196
8294
|
]
|
|
8197
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
|
+
},
|
|
8198
8356
|
{
|
|
8199
8357
|
"kind": "Var",
|
|
8200
8358
|
"name": "locale",
|
|
@@ -8678,7 +8836,7 @@
|
|
|
8678
8836
|
{
|
|
8679
8837
|
"kind": "Constructor",
|
|
8680
8838
|
"name": "init",
|
|
8681
|
-
"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: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:)",
|
|
8682
8840
|
"children": [
|
|
8683
8841
|
{
|
|
8684
8842
|
"kind": "TypeNominal",
|
|
@@ -9234,6 +9392,36 @@
|
|
|
9234
9392
|
"hasDefaultArg": true,
|
|
9235
9393
|
"usr": "s:Sq"
|
|
9236
9394
|
},
|
|
9395
|
+
{
|
|
9396
|
+
"kind": "TypeNominal",
|
|
9397
|
+
"name": "Optional",
|
|
9398
|
+
"printedName": "Swift.String?",
|
|
9399
|
+
"children": [
|
|
9400
|
+
{
|
|
9401
|
+
"kind": "TypeNominal",
|
|
9402
|
+
"name": "String",
|
|
9403
|
+
"printedName": "Swift.String",
|
|
9404
|
+
"usr": "s:SS"
|
|
9405
|
+
}
|
|
9406
|
+
],
|
|
9407
|
+
"hasDefaultArg": true,
|
|
9408
|
+
"usr": "s:Sq"
|
|
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
|
+
},
|
|
9237
9425
|
{
|
|
9238
9426
|
"kind": "TypeNominal",
|
|
9239
9427
|
"name": "Optional",
|
|
@@ -9251,8 +9439,8 @@
|
|
|
9251
9439
|
}
|
|
9252
9440
|
],
|
|
9253
9441
|
"declKind": "Constructor",
|
|
9254
|
-
"usr": "s:
|
|
9255
|
-
"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",
|
|
9256
9444
|
"moduleName": "AppSprintSDK",
|
|
9257
9445
|
"declAttributes": [
|
|
9258
9446
|
"AccessControl"
|
|
@@ -10534,49 +10722,56 @@
|
|
|
10534
10722
|
{
|
|
10535
10723
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10536
10724
|
"kind": "StringLiteral",
|
|
10537
|
-
"offset":
|
|
10725
|
+
"offset": 577,
|
|
10538
10726
|
"length": 7,
|
|
10539
|
-
"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": "[]"
|
|
10540
10735
|
},
|
|
10541
10736
|
{
|
|
10542
10737
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10543
10738
|
"kind": "StringLiteral",
|
|
10544
|
-
"offset":
|
|
10739
|
+
"offset": 830,
|
|
10545
10740
|
"length": 15,
|
|
10546
10741
|
"value": "\"com.appsprint\""
|
|
10547
10742
|
},
|
|
10548
10743
|
{
|
|
10549
10744
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10550
10745
|
"kind": "StringLiteral",
|
|
10551
|
-
"offset":
|
|
10746
|
+
"offset": 883,
|
|
10552
10747
|
"length": 86,
|
|
10553
10748
|
"value": "\"AppSprint could not open UserDefaults suite com.appsprint; falling back to standard.\""
|
|
10554
10749
|
},
|
|
10555
10750
|
{
|
|
10556
10751
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10557
10752
|
"kind": "BooleanLiteral",
|
|
10558
|
-
"offset":
|
|
10753
|
+
"offset": 14076,
|
|
10559
10754
|
"length": 5,
|
|
10560
10755
|
"value": "false"
|
|
10561
10756
|
},
|
|
10562
10757
|
{
|
|
10563
10758
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10564
10759
|
"kind": "StringLiteral",
|
|
10565
|
-
"offset":
|
|
10760
|
+
"offset": 17041,
|
|
10566
10761
|
"length": 32,
|
|
10567
10762
|
"value": "\"app.appsprint.sdk.network-path\""
|
|
10568
10763
|
},
|
|
10569
10764
|
{
|
|
10570
10765
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10571
10766
|
"kind": "BooleanLiteral",
|
|
10572
|
-
"offset":
|
|
10767
|
+
"offset": 17133,
|
|
10573
10768
|
"length": 5,
|
|
10574
10769
|
"value": "false"
|
|
10575
10770
|
},
|
|
10576
10771
|
{
|
|
10577
10772
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintNative.swift",
|
|
10578
10773
|
"kind": "FloatLiteral",
|
|
10579
|
-
"offset":
|
|
10774
|
+
"offset": 17298,
|
|
10580
10775
|
"length": 4,
|
|
10581
10776
|
"value": "0.12"
|
|
10582
10777
|
},
|
|
@@ -10758,21 +10953,21 @@
|
|
|
10758
10953
|
{
|
|
10759
10954
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10760
10955
|
"kind": "StringLiteral",
|
|
10761
|
-
"offset":
|
|
10956
|
+
"offset": 10585,
|
|
10762
10957
|
"length": 9,
|
|
10763
10958
|
"value": "\"GRANTED\""
|
|
10764
10959
|
},
|
|
10765
10960
|
{
|
|
10766
10961
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10767
10962
|
"kind": "StringLiteral",
|
|
10768
|
-
"offset":
|
|
10963
|
+
"offset": 10613,
|
|
10769
10964
|
"length": 8,
|
|
10770
10965
|
"value": "\"DENIED\""
|
|
10771
10966
|
},
|
|
10772
10967
|
{
|
|
10773
10968
|
"filePath": "\/Users\/arthur\/Dev\/app-sprint\/SDKs\/appsprint-ios\/Sources\/AppSprintSDK\/AppSprintTypes.swift",
|
|
10774
10969
|
"kind": "StringLiteral",
|
|
10775
|
-
"offset":
|
|
10970
|
+
"offset": 10645,
|
|
10776
10971
|
"length": 13,
|
|
10777
10972
|
"value": "\"UNSPECIFIED\""
|
|
10778
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?
|
|
@@ -204,12 +206,14 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
204
206
|
public let gpuRenderer: Swift.String?
|
|
205
207
|
public let connectionType: Swift.String?
|
|
206
208
|
public let networkType: Swift.String?
|
|
209
|
+
public let colorScheme: Swift.String?
|
|
207
210
|
public let carrierName: Swift.String?
|
|
208
211
|
public let carrierCountryCode: Swift.String?
|
|
209
212
|
public let mobileCountryCode: Swift.String?
|
|
210
213
|
public let mobileNetworkCode: Swift.String?
|
|
211
214
|
public let sdkPlatform: Swift.String?
|
|
212
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
213
217
|
public let locale: Swift.String?
|
|
214
218
|
public let timezone: Swift.String?
|
|
215
219
|
public let osVersion: Swift.String?
|
|
@@ -218,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
218
222
|
public let idfa: Swift.String?
|
|
219
223
|
public let adServicesToken: Swift.String?
|
|
220
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
221
|
-
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, 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)
|
|
222
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
223
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
224
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?
|
|
@@ -204,12 +206,14 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
204
206
|
public let gpuRenderer: Swift.String?
|
|
205
207
|
public let connectionType: Swift.String?
|
|
206
208
|
public let networkType: Swift.String?
|
|
209
|
+
public let colorScheme: Swift.String?
|
|
207
210
|
public let carrierName: Swift.String?
|
|
208
211
|
public let carrierCountryCode: Swift.String?
|
|
209
212
|
public let mobileCountryCode: Swift.String?
|
|
210
213
|
public let mobileNetworkCode: Swift.String?
|
|
211
214
|
public let sdkPlatform: Swift.String?
|
|
212
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
213
217
|
public let locale: Swift.String?
|
|
214
218
|
public let timezone: Swift.String?
|
|
215
219
|
public let osVersion: Swift.String?
|
|
@@ -218,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
218
222
|
public let idfa: Swift.String?
|
|
219
223
|
public let adServicesToken: Swift.String?
|
|
220
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
221
|
-
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, 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)
|
|
222
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
223
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
224
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?
|
|
@@ -204,12 +206,14 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
204
206
|
public let gpuRenderer: Swift.String?
|
|
205
207
|
public let connectionType: Swift.String?
|
|
206
208
|
public let networkType: Swift.String?
|
|
209
|
+
public let colorScheme: Swift.String?
|
|
207
210
|
public let carrierName: Swift.String?
|
|
208
211
|
public let carrierCountryCode: Swift.String?
|
|
209
212
|
public let mobileCountryCode: Swift.String?
|
|
210
213
|
public let mobileNetworkCode: Swift.String?
|
|
211
214
|
public let sdkPlatform: Swift.String?
|
|
212
215
|
public let sdkVersion: Swift.String?
|
|
216
|
+
public let sdkWebViewUserAgent: Swift.String?
|
|
213
217
|
public let locale: Swift.String?
|
|
214
218
|
public let timezone: Swift.String?
|
|
215
219
|
public let osVersion: Swift.String?
|
|
@@ -218,7 +222,7 @@ public struct DeviceInfo : Swift.Codable, Swift.Equatable, Swift.Sendable {
|
|
|
218
222
|
public let idfa: Swift.String?
|
|
219
223
|
public let adServicesToken: Swift.String?
|
|
220
224
|
public let attStatus: AppSprintSDK.AppSprintAttStatus?
|
|
221
|
-
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, 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)
|
|
222
226
|
public static func == (a: AppSprintSDK.DeviceInfo, b: AppSprintSDK.DeviceInfo) -> Swift.Bool
|
|
223
227
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
224
228
|
public init(from decoder: any Swift.Decoder) throws
|
|
@@ -94,12 +94,14 @@ export interface DeviceInfo {
|
|
|
94
94
|
gpuRenderer?: string;
|
|
95
95
|
connectionType?: string;
|
|
96
96
|
networkType?: string;
|
|
97
|
+
colorScheme?: "light" | "dark";
|
|
97
98
|
carrierName?: string;
|
|
98
99
|
carrierCountryCode?: string;
|
|
99
100
|
mobileCountryCode?: string;
|
|
100
101
|
mobileNetworkCode?: string;
|
|
101
102
|
sdkPlatform?: string;
|
|
102
103
|
sdkVersion?: string;
|
|
104
|
+
sdkWebViewUserAgent?: string;
|
|
103
105
|
locale?: string;
|
|
104
106
|
timezone?: string;
|
|
105
107
|
osVersion?: string;
|
|
@@ -126,6 +128,7 @@ export interface NativeAppSprintModule {
|
|
|
126
128
|
isSdkDisabled(): Promise<boolean>;
|
|
127
129
|
destroy(): Promise<void>;
|
|
128
130
|
getDeviceInfo(): Promise<DeviceInfo>;
|
|
131
|
+
getWebViewUserAgent?(): Promise<string | null>;
|
|
129
132
|
getAdServicesToken(): Promise<string | null>;
|
|
130
133
|
requestTrackingAuthorization(): Promise<boolean>;
|
|
131
134
|
}
|
package/package.json
CHANGED
package/src/NativeAppSprint.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -152,12 +152,14 @@ export interface DeviceInfo {
|
|
|
152
152
|
gpuRenderer?: string;
|
|
153
153
|
connectionType?: string;
|
|
154
154
|
networkType?: string;
|
|
155
|
+
colorScheme?: "light" | "dark";
|
|
155
156
|
carrierName?: string;
|
|
156
157
|
carrierCountryCode?: string;
|
|
157
158
|
mobileCountryCode?: string;
|
|
158
159
|
mobileNetworkCode?: string;
|
|
159
160
|
sdkPlatform?: string;
|
|
160
161
|
sdkVersion?: string;
|
|
162
|
+
sdkWebViewUserAgent?: string;
|
|
161
163
|
locale?: string;
|
|
162
164
|
timezone?: string;
|
|
163
165
|
osVersion?: string;
|
|
@@ -194,6 +196,7 @@ export interface NativeAppSprintModule {
|
|
|
194
196
|
|
|
195
197
|
// Utility
|
|
196
198
|
getDeviceInfo(): Promise<DeviceInfo>;
|
|
199
|
+
getWebViewUserAgent?(): Promise<string | null>;
|
|
197
200
|
getAdServicesToken(): Promise<string | null>;
|
|
198
201
|
requestTrackingAuthorization(): Promise<boolean>;
|
|
199
202
|
}
|