@doorstepai/dropoff-sdk 1.0.10 → 1.0.11
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/build.gradle +1 -1
- package/android/src/main/java/com/doorstepai/dropoffsdk/DoorstepAIModule.kt +5 -0
- package/ios/DoorstepAI.swift +105 -92
- package/ios/DoorstepDropoffSDK.xcframework/Info.plist +5 -5
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +85 -2
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +8 -8
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +545 -537
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +85 -2
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +85 -2
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +16 -16
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +830 -822
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +830 -822
- package/lib/module/DoorstepAI.js.map +1 -1
- package/lib/module/RootDoorstepAI.js +2 -2
- package/lib/module/RootDoorstepAI.js.map +1 -1
- package/lib/typescript/src/DoorstepAI.d.ts.map +1 -1
- package/lib/typescript/src/RootDoorstepAI.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/DoorstepAI.tsx +4 -1
- package/src/RootDoorstepAI.tsx +10 -3
package/android/build.gradle
CHANGED
|
@@ -86,7 +86,7 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
|
86
86
|
dependencies {
|
|
87
87
|
implementation "com.facebook.react:react-android"
|
|
88
88
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
89
|
-
implementation("ai.doorstep.com:doorstepai-dropoff-sdk:1.0.
|
|
89
|
+
implementation("ai.doorstep.com:doorstepai-dropoff-sdk:1.0.4")
|
|
90
90
|
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1"
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -122,6 +122,11 @@ class DoorstepAIModule(private val reactContext: ReactApplicationContext) :
|
|
|
122
122
|
DoorstepAI.setAPIKey(key)
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
@ReactMethod
|
|
126
|
+
fun setDevMode(enabled: Boolean) {
|
|
127
|
+
DoorstepAI.devMode = enabled
|
|
128
|
+
}
|
|
129
|
+
|
|
125
130
|
companion object {
|
|
126
131
|
const val NAME = "DoorstepAI"
|
|
127
132
|
}
|
package/ios/DoorstepAI.swift
CHANGED
|
@@ -1,115 +1,128 @@
|
|
|
1
1
|
import Foundation
|
|
2
2
|
import React
|
|
3
3
|
import DoorstepDropoffSDK
|
|
4
|
+
import CoreLocation
|
|
4
5
|
|
|
5
6
|
@objc(DoorstepAI)
|
|
6
7
|
class DoorstepAIBridge: NSObject {
|
|
8
|
+
private let locationManager = CLLocationManager()
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
override init() {
|
|
11
|
+
super.init()
|
|
12
|
+
locationManager.showsBackgroundLocationIndicator = true
|
|
13
|
+
locationManager.allowsBackgroundLocationUpdates = true
|
|
14
|
+
locationManager.pausesLocationUpdatesAutomatically = false
|
|
15
|
+
|
|
16
|
+
// Request authorization
|
|
17
|
+
locationManager.requestAlwaysAuthorization()
|
|
18
|
+
|
|
19
|
+
}
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
21
|
+
@objc
|
|
22
|
+
static func requiresMainQueueSetup() -> Bool {
|
|
23
|
+
return true
|
|
24
|
+
}
|
|
17
25
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
@objc
|
|
27
|
+
func setDevMode(_ devModeEnabled: Bool) {
|
|
28
|
+
DoorstepAI.devMode = devModeEnabled
|
|
29
|
+
}
|
|
22
30
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
27
|
-
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
28
|
-
// Use Swift's concurrency support to call the async method.
|
|
29
|
-
Task {
|
|
30
|
-
do {
|
|
31
|
-
try await DoorstepAI.startDeliveryByPlaceID(placeID: placeID as String, deliveryId: deliveryId as String)
|
|
32
|
-
resolve(nil)
|
|
33
|
-
} catch {
|
|
34
|
-
reject("E_START_DELIVERY", "Failed to start delivery by Place ID: \(error.localizedDescription)", error)
|
|
35
|
-
}
|
|
31
|
+
@objc
|
|
32
|
+
func setApiKey(_ apiKey: String) {
|
|
33
|
+
DoorstepAI.setApiKey(key: apiKey)
|
|
36
34
|
}
|
|
37
|
-
}
|
|
38
35
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
36
|
+
@objc
|
|
37
|
+
func startDeliveryByPlaceID(_ placeID: NSString,
|
|
38
|
+
deliveryId: NSString,
|
|
39
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
40
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
41
|
+
// Use Swift's concurrency support to call the async method.
|
|
42
|
+
Task {
|
|
43
|
+
do {
|
|
44
|
+
try await DoorstepAI.startDeliveryByPlaceID(placeID: placeID as String, deliveryId: deliveryId as String)
|
|
45
|
+
resolve(nil)
|
|
46
|
+
} catch {
|
|
47
|
+
reject("E_START_DELIVERY", "Failed to start delivery by Place ID: \(error.localizedDescription)", error)
|
|
48
|
+
}
|
|
49
|
+
}
|
|
51
50
|
}
|
|
52
|
-
}
|
|
53
51
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
let locality = address["locality"] as? String,
|
|
66
|
-
let administrativeAreaLevel1 = address["administrativeAreaLevel1"] as? String,
|
|
67
|
-
let postalCode = address["postalCode"] as? String else {
|
|
68
|
-
reject("E_INVALID_ADDRESS", "Missing or invalid fields in address dictionary.", nil)
|
|
69
|
-
return
|
|
52
|
+
@objc
|
|
53
|
+
func startDeliveryByPlusCode(_ plusCode: NSString,
|
|
54
|
+
deliveryId: NSString,
|
|
55
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
56
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
57
|
+
Task {
|
|
58
|
+
do {
|
|
59
|
+
try await DoorstepAI.startDeliveryByPlusCode(plusCode: plusCode as String, deliveryId: deliveryId as String)
|
|
60
|
+
resolve(nil)
|
|
61
|
+
} catch {
|
|
62
|
+
reject("E_START_DELIVERY", "Failed to start delivery by Plus Code: \(error.localizedDescription)", error)
|
|
70
63
|
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
71
66
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
67
|
+
@objc
|
|
68
|
+
func startDeliveryByAddress(_ address: [String: Any],
|
|
69
|
+
deliveryId: NSString,
|
|
70
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
71
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
72
|
+
Task {
|
|
73
|
+
print("Starting delivery by address: \(address)")
|
|
74
|
+
do {
|
|
75
|
+
guard let streetNumber = address["streetNumber"] as? String,
|
|
76
|
+
let route = address["route"] as? String,
|
|
77
|
+
let subPremise = address["subPremise"] as? String,
|
|
78
|
+
let locality = address["locality"] as? String,
|
|
79
|
+
let administrativeAreaLevel1 = address["administrativeAreaLevel1"] as? String,
|
|
80
|
+
let postalCode = address["postalCode"] as? String else {
|
|
81
|
+
reject("E_INVALID_ADDRESS", "Missing or invalid fields in address dictionary.", nil)
|
|
82
|
+
return
|
|
83
|
+
}
|
|
78
84
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
let addressStruct = AddressType(streetNumber: streetNumber,
|
|
86
|
+
route: route,
|
|
87
|
+
subPremise: subPremise,
|
|
88
|
+
locality: locality,
|
|
89
|
+
administrativeAreaLevel1: administrativeAreaLevel1,
|
|
90
|
+
postalCode: postalCode)
|
|
91
|
+
|
|
92
|
+
try await DoorstepAI.startDeliveryByAddressType(address: addressStruct, deliveryId: deliveryId as String)
|
|
93
|
+
resolve(nil)
|
|
94
|
+
} catch let error as DoorstepAIError {
|
|
95
|
+
reject("E_START_DELIVERY", "Failed to start delivery by address: \(error.localizedDescription)", error)
|
|
96
|
+
} catch {
|
|
97
|
+
reject("E_UNKNOWN", "An unexpected error occurred: \(error.localizedDescription)", error)
|
|
98
|
+
}
|
|
85
99
|
}
|
|
86
|
-
|
|
87
|
-
}
|
|
100
|
+
}
|
|
88
101
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
@objc
|
|
103
|
+
func newEvent(_ eventName: NSString,
|
|
104
|
+
deliveryId: NSString,
|
|
105
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
106
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
107
|
+
Task {
|
|
108
|
+
do {
|
|
109
|
+
try await DoorstepAI.newEvent(eventName: eventName as String, deliveryId: deliveryId as String)
|
|
110
|
+
resolve(nil)
|
|
111
|
+
} catch {
|
|
112
|
+
reject("E_NEW_EVENT", "Failed to send event: \(error.localizedDescription)", error)
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
103
116
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
@objc
|
|
118
|
+
func stopDelivery(_ deliveryId: NSString,
|
|
119
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
120
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
121
|
+
Task {
|
|
122
|
+
// stopDelivery does not throw so we simply await its completion
|
|
123
|
+
await DoorstepAI.stopDelivery(deliveryId: deliveryId as String)
|
|
124
|
+
resolve(nil)
|
|
125
|
+
}
|
|
112
126
|
}
|
|
113
|
-
}
|
|
114
127
|
|
|
115
128
|
}
|
|
@@ -10,15 +10,18 @@
|
|
|
10
10
|
<key>DebugSymbolsPath</key>
|
|
11
11
|
<string>dSYMs</string>
|
|
12
12
|
<key>LibraryIdentifier</key>
|
|
13
|
-
<string>ios-
|
|
13
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
14
14
|
<key>LibraryPath</key>
|
|
15
15
|
<string>DoorstepDropoffSDK.framework</string>
|
|
16
16
|
<key>SupportedArchitectures</key>
|
|
17
17
|
<array>
|
|
18
18
|
<string>arm64</string>
|
|
19
|
+
<string>x86_64</string>
|
|
19
20
|
</array>
|
|
20
21
|
<key>SupportedPlatform</key>
|
|
21
22
|
<string>ios</string>
|
|
23
|
+
<key>SupportedPlatformVariant</key>
|
|
24
|
+
<string>simulator</string>
|
|
22
25
|
</dict>
|
|
23
26
|
<dict>
|
|
24
27
|
<key>BinaryPath</key>
|
|
@@ -26,18 +29,15 @@
|
|
|
26
29
|
<key>DebugSymbolsPath</key>
|
|
27
30
|
<string>dSYMs</string>
|
|
28
31
|
<key>LibraryIdentifier</key>
|
|
29
|
-
<string>ios-
|
|
32
|
+
<string>ios-arm64</string>
|
|
30
33
|
<key>LibraryPath</key>
|
|
31
34
|
<string>DoorstepDropoffSDK.framework</string>
|
|
32
35
|
<key>SupportedArchitectures</key>
|
|
33
36
|
<array>
|
|
34
37
|
<string>arm64</string>
|
|
35
|
-
<string>x86_64</string>
|
|
36
38
|
</array>
|
|
37
39
|
<key>SupportedPlatform</key>
|
|
38
40
|
<string>ios</string>
|
|
39
|
-
<key>SupportedPlatformVariant</key>
|
|
40
|
-
<string>simulator</string>
|
|
41
41
|
</dict>
|
|
42
42
|
</array>
|
|
43
43
|
<key>CFBundlePackageType</key>
|
package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK
CHANGED
|
Binary file
|
|
@@ -952,6 +952,75 @@
|
|
|
952
952
|
"declKind": "Import",
|
|
953
953
|
"moduleName": "DoorstepDropoffSDK"
|
|
954
954
|
},
|
|
955
|
+
{
|
|
956
|
+
"kind": "Import",
|
|
957
|
+
"name": "Foundation",
|
|
958
|
+
"printedName": "Foundation",
|
|
959
|
+
"declKind": "Import",
|
|
960
|
+
"moduleName": "DoorstepDropoffSDK"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"kind": "TypeDecl",
|
|
964
|
+
"name": "SDKVersion",
|
|
965
|
+
"printedName": "SDKVersion",
|
|
966
|
+
"children": [
|
|
967
|
+
{
|
|
968
|
+
"kind": "Var",
|
|
969
|
+
"name": "version",
|
|
970
|
+
"printedName": "version",
|
|
971
|
+
"children": [
|
|
972
|
+
{
|
|
973
|
+
"kind": "TypeNominal",
|
|
974
|
+
"name": "String",
|
|
975
|
+
"printedName": "Swift.String",
|
|
976
|
+
"usr": "s:SS"
|
|
977
|
+
}
|
|
978
|
+
],
|
|
979
|
+
"declKind": "Var",
|
|
980
|
+
"usr": "s:18DoorstepDropoffSDK10SDKVersionO7versionSSvpZ",
|
|
981
|
+
"mangledName": "$s18DoorstepDropoffSDK10SDKVersionO7versionSSvpZ",
|
|
982
|
+
"moduleName": "DoorstepDropoffSDK",
|
|
983
|
+
"static": true,
|
|
984
|
+
"declAttributes": [
|
|
985
|
+
"HasInitialValue",
|
|
986
|
+
"HasStorage",
|
|
987
|
+
"AccessControl",
|
|
988
|
+
"RawDocComment"
|
|
989
|
+
],
|
|
990
|
+
"isLet": true,
|
|
991
|
+
"hasStorage": true,
|
|
992
|
+
"accessors": [
|
|
993
|
+
{
|
|
994
|
+
"kind": "Accessor",
|
|
995
|
+
"name": "Get",
|
|
996
|
+
"printedName": "Get()",
|
|
997
|
+
"children": [
|
|
998
|
+
{
|
|
999
|
+
"kind": "TypeNominal",
|
|
1000
|
+
"name": "String",
|
|
1001
|
+
"printedName": "Swift.String",
|
|
1002
|
+
"usr": "s:SS"
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
1005
|
+
"declKind": "Accessor",
|
|
1006
|
+
"usr": "s:18DoorstepDropoffSDK10SDKVersionO7versionSSvgZ",
|
|
1007
|
+
"mangledName": "$s18DoorstepDropoffSDK10SDKVersionO7versionSSvgZ",
|
|
1008
|
+
"moduleName": "DoorstepDropoffSDK",
|
|
1009
|
+
"static": true,
|
|
1010
|
+
"implicit": true,
|
|
1011
|
+
"accessorKind": "get"
|
|
1012
|
+
}
|
|
1013
|
+
]
|
|
1014
|
+
}
|
|
1015
|
+
],
|
|
1016
|
+
"declKind": "Enum",
|
|
1017
|
+
"usr": "s:18DoorstepDropoffSDK10SDKVersionO",
|
|
1018
|
+
"mangledName": "$s18DoorstepDropoffSDK10SDKVersionO",
|
|
1019
|
+
"moduleName": "DoorstepDropoffSDK",
|
|
1020
|
+
"declAttributes": [
|
|
1021
|
+
"AccessControl"
|
|
1022
|
+
]
|
|
1023
|
+
},
|
|
955
1024
|
{
|
|
956
1025
|
"kind": "Import",
|
|
957
1026
|
"name": "Foundation",
|
|
@@ -1878,6 +1947,20 @@
|
|
|
1878
1947
|
"length": 15,
|
|
1879
1948
|
"value": "\"DoorstepDropoffSDK.LocationManager\""
|
|
1880
1949
|
},
|
|
1950
|
+
{
|
|
1951
|
+
"filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/Version.swift",
|
|
1952
|
+
"kind": "StringLiteral",
|
|
1953
|
+
"offset": 181,
|
|
1954
|
+
"length": 28,
|
|
1955
|
+
"value": "\"CFBundleShortVersionString\""
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
"filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/Version.swift",
|
|
1959
|
+
"kind": "StringLiteral",
|
|
1960
|
+
"offset": 225,
|
|
1961
|
+
"length": 7,
|
|
1962
|
+
"value": "\"1.4.1\""
|
|
1963
|
+
},
|
|
1881
1964
|
{
|
|
1882
1965
|
"filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/Network.swift",
|
|
1883
1966
|
"kind": "StringLiteral",
|
|
@@ -1965,14 +2048,14 @@
|
|
|
1965
2048
|
{
|
|
1966
2049
|
"filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/Network.swift",
|
|
1967
2050
|
"kind": "IntegerLiteral",
|
|
1968
|
-
"offset":
|
|
2051
|
+
"offset": 22816,
|
|
1969
2052
|
"length": 1,
|
|
1970
2053
|
"value": "0"
|
|
1971
2054
|
},
|
|
1972
2055
|
{
|
|
1973
2056
|
"filePath": "\/Users\/sheelpatel\/Documents\/doorstepai\/doorstepai-track\/iOS\/DoorstepDropoffSDK\/DoorstepDropoffSDK\/src\/Network.swift",
|
|
1974
2057
|
"kind": "IntegerLiteral",
|
|
1975
|
-
"offset":
|
|
2058
|
+
"offset": 25262,
|
|
1976
2059
|
"length": 1,
|
|
1977
2060
|
"value": "0"
|
|
1978
2061
|
},
|
|
@@ -59,6 +59,9 @@ public enum DoorstepAIError : Swift.Error {
|
|
|
59
59
|
#endif
|
|
60
60
|
@objc deinit
|
|
61
61
|
}
|
|
62
|
+
public enum SDKVersion {
|
|
63
|
+
public static let version: Swift.String
|
|
64
|
+
}
|
|
62
65
|
public struct DoorstepAIRoot : SwiftUI.View {
|
|
63
66
|
public init()
|
|
64
67
|
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
@@ -59,6 +59,9 @@ public enum DoorstepAIError : Swift.Error {
|
|
|
59
59
|
#endif
|
|
60
60
|
@objc deinit
|
|
61
61
|
}
|
|
62
|
+
public enum SDKVersion {
|
|
63
|
+
public static let version: Swift.String
|
|
64
|
+
}
|
|
62
65
|
public struct DoorstepAIRoot : SwiftUI.View {
|
|
63
66
|
public init()
|
|
64
67
|
@_Concurrency.MainActor(unsafe) public var body: some SwiftUI.View {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
sbhULa6fbw2NlhOgJkKAkRccs7I=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
nIs46F3ClcWeHkRqyZWCIpej7dg=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
24
24
|
<data>
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
nIs46F3ClcWeHkRqyZWCIpej7dg=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
V7u7DWAX+kAtIGamtZdTLxEL6pM=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/module.modulemap</key>
|
|
36
36
|
<data>
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
<dict>
|
|
51
51
|
<key>hash2</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
54ACGzfnU+plI8X3im5tM5T1tBDn6Qqt0saidn9e5fA=
|
|
54
54
|
</data>
|
|
55
55
|
</dict>
|
|
56
56
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
57
57
|
<dict>
|
|
58
58
|
<key>hash2</key>
|
|
59
59
|
<data>
|
|
60
|
-
|
|
60
|
+
sAV6SiRCtuhaPDXid0wQh6j6Vntyg67J7RDPgFUxwcs=
|
|
61
61
|
</data>
|
|
62
62
|
</dict>
|
|
63
63
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
<dict>
|
|
72
72
|
<key>hash2</key>
|
|
73
73
|
<data>
|
|
74
|
-
|
|
74
|
+
sAV6SiRCtuhaPDXid0wQh6j6Vntyg67J7RDPgFUxwcs=
|
|
75
75
|
</data>
|
|
76
76
|
</dict>
|
|
77
77
|
<key>Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
78
78
|
<dict>
|
|
79
79
|
<key>hash2</key>
|
|
80
80
|
<data>
|
|
81
|
-
|
|
81
|
+
g3RMqWzqs8L2O/BnGoqehwCRqcdzgQP6RZplsenGuas=
|
|
82
82
|
</data>
|
|
83
83
|
</dict>
|
|
84
84
|
<key>Modules/module.modulemap</key>
|