@infilectorg/infiviz-shots-react-sdk 1.0.29 → 1.0.30
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/ios/InfivizShotSDK.xcframework/Info.plist +5 -5
- package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Assets.car +0 -0
- package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/InfivizShotSDK +0 -0
- package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.abi.json +20 -27
- package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/InfivizShotSDK +0 -0
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +20 -27
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +20 -27
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
- package/ios/InfivizShotsReactSdk.m +5 -5
- package/ios/InfivizShotsReactSdk.swift +72 -57
- package/package.json +1 -1
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>InfivizShotSDK.framework/InfivizShotSDK</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>InfivizShotSDK.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>InfivizShotSDK.framework/InfivizShotSDK</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>InfivizShotSDK.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
|
|
Binary file
|
|
@@ -82768,14 +82768,14 @@
|
|
|
82768
82768
|
{
|
|
82769
82769
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82770
82770
|
"kind": "BooleanLiteral",
|
|
82771
|
-
"offset":
|
|
82771
|
+
"offset": 13151,
|
|
82772
82772
|
"length": 5,
|
|
82773
82773
|
"value": "false"
|
|
82774
82774
|
},
|
|
82775
82775
|
{
|
|
82776
82776
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82777
82777
|
"kind": "BooleanLiteral",
|
|
82778
|
-
"offset":
|
|
82778
|
+
"offset": 13228,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84284,31 +84284,24 @@
|
|
|
84284
84284
|
"length": 2,
|
|
84285
84285
|
"value": "\"\""
|
|
84286
84286
|
},
|
|
84287
|
-
{
|
|
84288
|
-
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
|
-
"kind": "BooleanLiteral",
|
|
84290
|
-
"offset": 6341,
|
|
84291
|
-
"length": 4,
|
|
84292
|
-
"value": "true"
|
|
84293
|
-
},
|
|
84294
84287
|
{
|
|
84295
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84289
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84290
|
+
"offset": 6385,
|
|
84298
84291
|
"length": 1,
|
|
84299
84292
|
"value": "0"
|
|
84300
84293
|
},
|
|
84301
84294
|
{
|
|
84302
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84296
|
"kind": "IntegerLiteral",
|
|
84304
|
-
"offset":
|
|
84297
|
+
"offset": 6519,
|
|
84305
84298
|
"length": 1,
|
|
84306
84299
|
"value": "0"
|
|
84307
84300
|
},
|
|
84308
84301
|
{
|
|
84309
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84303
|
"kind": "BooleanLiteral",
|
|
84311
|
-
"offset":
|
|
84304
|
+
"offset": 6561,
|
|
84312
84305
|
"length": 5,
|
|
84313
84306
|
"value": "false"
|
|
84314
84307
|
},
|
|
@@ -84322,105 +84315,105 @@
|
|
|
84322
84315
|
{
|
|
84323
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84317
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84318
|
+
"offset": 6873,
|
|
84326
84319
|
"length": 2,
|
|
84327
84320
|
"value": "\"\""
|
|
84328
84321
|
},
|
|
84329
84322
|
{
|
|
84330
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84324
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84325
|
+
"offset": 6903,
|
|
84333
84326
|
"length": 2,
|
|
84334
84327
|
"value": "\"\""
|
|
84335
84328
|
},
|
|
84336
84329
|
{
|
|
84337
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84331
|
"kind": "StringLiteral",
|
|
84339
|
-
"offset":
|
|
84332
|
+
"offset": 7274,
|
|
84340
84333
|
"length": 2,
|
|
84341
84334
|
"value": "\"\""
|
|
84342
84335
|
},
|
|
84343
84336
|
{
|
|
84344
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84338
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84339
|
+
"offset": 7314,
|
|
84347
84340
|
"length": 1,
|
|
84348
84341
|
"value": "0"
|
|
84349
84342
|
},
|
|
84350
84343
|
{
|
|
84351
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84345
|
"kind": "IntegerLiteral",
|
|
84353
|
-
"offset":
|
|
84346
|
+
"offset": 7338,
|
|
84354
84347
|
"length": 1,
|
|
84355
84348
|
"value": "0"
|
|
84356
84349
|
},
|
|
84357
84350
|
{
|
|
84358
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84352
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84353
|
+
"offset": 7364,
|
|
84361
84354
|
"length": 2,
|
|
84362
84355
|
"value": "\"\""
|
|
84363
84356
|
},
|
|
84364
84357
|
{
|
|
84365
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84359
|
"kind": "StringLiteral",
|
|
84367
|
-
"offset":
|
|
84360
|
+
"offset": 7403,
|
|
84368
84361
|
"length": 12,
|
|
84369
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84370
84363
|
},
|
|
84371
84364
|
{
|
|
84372
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84366
|
"kind": "BooleanLiteral",
|
|
84374
|
-
"offset":
|
|
84367
|
+
"offset": 7458,
|
|
84375
84368
|
"length": 5,
|
|
84376
84369
|
"value": "false"
|
|
84377
84370
|
},
|
|
84378
84371
|
{
|
|
84379
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84373
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84374
|
+
"offset": 7779,
|
|
84382
84375
|
"length": 1,
|
|
84383
84376
|
"value": "0"
|
|
84384
84377
|
},
|
|
84385
84378
|
{
|
|
84386
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84380
|
"kind": "IntegerLiteral",
|
|
84388
|
-
"offset":
|
|
84381
|
+
"offset": 7824,
|
|
84389
84382
|
"length": 1,
|
|
84390
84383
|
"value": "2"
|
|
84391
84384
|
},
|
|
84392
84385
|
{
|
|
84393
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84387
|
"kind": "BooleanLiteral",
|
|
84395
|
-
"offset":
|
|
84388
|
+
"offset": 7648,
|
|
84396
84389
|
"length": 4,
|
|
84397
84390
|
"value": "true"
|
|
84398
84391
|
},
|
|
84399
84392
|
{
|
|
84400
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84394
|
"kind": "StringLiteral",
|
|
84402
|
-
"offset":
|
|
84395
|
+
"offset": 8443,
|
|
84403
84396
|
"length": 9,
|
|
84404
84397
|
"value": "\"session\""
|
|
84405
84398
|
},
|
|
84406
84399
|
{
|
|
84407
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84401
|
"kind": "Array",
|
|
84409
|
-
"offset":
|
|
84402
|
+
"offset": 9407,
|
|
84410
84403
|
"length": 2,
|
|
84411
84404
|
"value": "[]"
|
|
84412
84405
|
},
|
|
84413
84406
|
{
|
|
84414
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84408
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84409
|
+
"offset": 84689,
|
|
84417
84410
|
"length": 4,
|
|
84418
84411
|
"value": "true"
|
|
84419
84412
|
},
|
|
84420
84413
|
{
|
|
84421
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84422
84415
|
"kind": "BooleanLiteral",
|
|
84423
|
-
"offset":
|
|
84416
|
+
"offset": 103956,
|
|
84424
84417
|
"length": 4,
|
|
84425
84418
|
"value": "true"
|
|
84426
84419
|
},
|
|
Binary file
|
|
Binary file
|
|
@@ -82768,14 +82768,14 @@
|
|
|
82768
82768
|
{
|
|
82769
82769
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82770
82770
|
"kind": "BooleanLiteral",
|
|
82771
|
-
"offset":
|
|
82771
|
+
"offset": 13151,
|
|
82772
82772
|
"length": 5,
|
|
82773
82773
|
"value": "false"
|
|
82774
82774
|
},
|
|
82775
82775
|
{
|
|
82776
82776
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82777
82777
|
"kind": "BooleanLiteral",
|
|
82778
|
-
"offset":
|
|
82778
|
+
"offset": 13228,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84284,31 +84284,24 @@
|
|
|
84284
84284
|
"length": 2,
|
|
84285
84285
|
"value": "\"\""
|
|
84286
84286
|
},
|
|
84287
|
-
{
|
|
84288
|
-
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
|
-
"kind": "BooleanLiteral",
|
|
84290
|
-
"offset": 6341,
|
|
84291
|
-
"length": 4,
|
|
84292
|
-
"value": "true"
|
|
84293
|
-
},
|
|
84294
84287
|
{
|
|
84295
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84289
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84290
|
+
"offset": 6385,
|
|
84298
84291
|
"length": 1,
|
|
84299
84292
|
"value": "0"
|
|
84300
84293
|
},
|
|
84301
84294
|
{
|
|
84302
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84296
|
"kind": "IntegerLiteral",
|
|
84304
|
-
"offset":
|
|
84297
|
+
"offset": 6519,
|
|
84305
84298
|
"length": 1,
|
|
84306
84299
|
"value": "0"
|
|
84307
84300
|
},
|
|
84308
84301
|
{
|
|
84309
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84303
|
"kind": "BooleanLiteral",
|
|
84311
|
-
"offset":
|
|
84304
|
+
"offset": 6561,
|
|
84312
84305
|
"length": 5,
|
|
84313
84306
|
"value": "false"
|
|
84314
84307
|
},
|
|
@@ -84322,105 +84315,105 @@
|
|
|
84322
84315
|
{
|
|
84323
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84317
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84318
|
+
"offset": 6873,
|
|
84326
84319
|
"length": 2,
|
|
84327
84320
|
"value": "\"\""
|
|
84328
84321
|
},
|
|
84329
84322
|
{
|
|
84330
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84324
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84325
|
+
"offset": 6903,
|
|
84333
84326
|
"length": 2,
|
|
84334
84327
|
"value": "\"\""
|
|
84335
84328
|
},
|
|
84336
84329
|
{
|
|
84337
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84331
|
"kind": "StringLiteral",
|
|
84339
|
-
"offset":
|
|
84332
|
+
"offset": 7274,
|
|
84340
84333
|
"length": 2,
|
|
84341
84334
|
"value": "\"\""
|
|
84342
84335
|
},
|
|
84343
84336
|
{
|
|
84344
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84338
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84339
|
+
"offset": 7314,
|
|
84347
84340
|
"length": 1,
|
|
84348
84341
|
"value": "0"
|
|
84349
84342
|
},
|
|
84350
84343
|
{
|
|
84351
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84345
|
"kind": "IntegerLiteral",
|
|
84353
|
-
"offset":
|
|
84346
|
+
"offset": 7338,
|
|
84354
84347
|
"length": 1,
|
|
84355
84348
|
"value": "0"
|
|
84356
84349
|
},
|
|
84357
84350
|
{
|
|
84358
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84352
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84353
|
+
"offset": 7364,
|
|
84361
84354
|
"length": 2,
|
|
84362
84355
|
"value": "\"\""
|
|
84363
84356
|
},
|
|
84364
84357
|
{
|
|
84365
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84359
|
"kind": "StringLiteral",
|
|
84367
|
-
"offset":
|
|
84360
|
+
"offset": 7403,
|
|
84368
84361
|
"length": 12,
|
|
84369
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84370
84363
|
},
|
|
84371
84364
|
{
|
|
84372
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84366
|
"kind": "BooleanLiteral",
|
|
84374
|
-
"offset":
|
|
84367
|
+
"offset": 7458,
|
|
84375
84368
|
"length": 5,
|
|
84376
84369
|
"value": "false"
|
|
84377
84370
|
},
|
|
84378
84371
|
{
|
|
84379
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84373
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84374
|
+
"offset": 7779,
|
|
84382
84375
|
"length": 1,
|
|
84383
84376
|
"value": "0"
|
|
84384
84377
|
},
|
|
84385
84378
|
{
|
|
84386
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84380
|
"kind": "IntegerLiteral",
|
|
84388
|
-
"offset":
|
|
84381
|
+
"offset": 7824,
|
|
84389
84382
|
"length": 1,
|
|
84390
84383
|
"value": "2"
|
|
84391
84384
|
},
|
|
84392
84385
|
{
|
|
84393
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84387
|
"kind": "BooleanLiteral",
|
|
84395
|
-
"offset":
|
|
84388
|
+
"offset": 7648,
|
|
84396
84389
|
"length": 4,
|
|
84397
84390
|
"value": "true"
|
|
84398
84391
|
},
|
|
84399
84392
|
{
|
|
84400
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84394
|
"kind": "StringLiteral",
|
|
84402
|
-
"offset":
|
|
84395
|
+
"offset": 8443,
|
|
84403
84396
|
"length": 9,
|
|
84404
84397
|
"value": "\"session\""
|
|
84405
84398
|
},
|
|
84406
84399
|
{
|
|
84407
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84401
|
"kind": "Array",
|
|
84409
|
-
"offset":
|
|
84402
|
+
"offset": 9407,
|
|
84410
84403
|
"length": 2,
|
|
84411
84404
|
"value": "[]"
|
|
84412
84405
|
},
|
|
84413
84406
|
{
|
|
84414
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84408
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84409
|
+
"offset": 84689,
|
|
84417
84410
|
"length": 4,
|
|
84418
84411
|
"value": "true"
|
|
84419
84412
|
},
|
|
84420
84413
|
{
|
|
84421
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84422
84415
|
"kind": "BooleanLiteral",
|
|
84423
|
-
"offset":
|
|
84416
|
+
"offset": 103956,
|
|
84424
84417
|
"length": 4,
|
|
84425
84418
|
"value": "true"
|
|
84426
84419
|
},
|
|
@@ -82768,14 +82768,14 @@
|
|
|
82768
82768
|
{
|
|
82769
82769
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82770
82770
|
"kind": "BooleanLiteral",
|
|
82771
|
-
"offset":
|
|
82771
|
+
"offset": 13151,
|
|
82772
82772
|
"length": 5,
|
|
82773
82773
|
"value": "false"
|
|
82774
82774
|
},
|
|
82775
82775
|
{
|
|
82776
82776
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/MainInteractor\/InfilectSDKCameraActivityForResult.swift",
|
|
82777
82777
|
"kind": "BooleanLiteral",
|
|
82778
|
-
"offset":
|
|
82778
|
+
"offset": 13228,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84284,31 +84284,24 @@
|
|
|
84284
84284
|
"length": 2,
|
|
84285
84285
|
"value": "\"\""
|
|
84286
84286
|
},
|
|
84287
|
-
{
|
|
84288
|
-
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
|
-
"kind": "BooleanLiteral",
|
|
84290
|
-
"offset": 6341,
|
|
84291
|
-
"length": 4,
|
|
84292
|
-
"value": "true"
|
|
84293
|
-
},
|
|
84294
84287
|
{
|
|
84295
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84289
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84290
|
+
"offset": 6385,
|
|
84298
84291
|
"length": 1,
|
|
84299
84292
|
"value": "0"
|
|
84300
84293
|
},
|
|
84301
84294
|
{
|
|
84302
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84296
|
"kind": "IntegerLiteral",
|
|
84304
|
-
"offset":
|
|
84297
|
+
"offset": 6519,
|
|
84305
84298
|
"length": 1,
|
|
84306
84299
|
"value": "0"
|
|
84307
84300
|
},
|
|
84308
84301
|
{
|
|
84309
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84303
|
"kind": "BooleanLiteral",
|
|
84311
|
-
"offset":
|
|
84304
|
+
"offset": 6561,
|
|
84312
84305
|
"length": 5,
|
|
84313
84306
|
"value": "false"
|
|
84314
84307
|
},
|
|
@@ -84322,105 +84315,105 @@
|
|
|
84322
84315
|
{
|
|
84323
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84317
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84318
|
+
"offset": 6873,
|
|
84326
84319
|
"length": 2,
|
|
84327
84320
|
"value": "\"\""
|
|
84328
84321
|
},
|
|
84329
84322
|
{
|
|
84330
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84324
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84325
|
+
"offset": 6903,
|
|
84333
84326
|
"length": 2,
|
|
84334
84327
|
"value": "\"\""
|
|
84335
84328
|
},
|
|
84336
84329
|
{
|
|
84337
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84331
|
"kind": "StringLiteral",
|
|
84339
|
-
"offset":
|
|
84332
|
+
"offset": 7274,
|
|
84340
84333
|
"length": 2,
|
|
84341
84334
|
"value": "\"\""
|
|
84342
84335
|
},
|
|
84343
84336
|
{
|
|
84344
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84338
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84339
|
+
"offset": 7314,
|
|
84347
84340
|
"length": 1,
|
|
84348
84341
|
"value": "0"
|
|
84349
84342
|
},
|
|
84350
84343
|
{
|
|
84351
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84345
|
"kind": "IntegerLiteral",
|
|
84353
|
-
"offset":
|
|
84346
|
+
"offset": 7338,
|
|
84354
84347
|
"length": 1,
|
|
84355
84348
|
"value": "0"
|
|
84356
84349
|
},
|
|
84357
84350
|
{
|
|
84358
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84352
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84353
|
+
"offset": 7364,
|
|
84361
84354
|
"length": 2,
|
|
84362
84355
|
"value": "\"\""
|
|
84363
84356
|
},
|
|
84364
84357
|
{
|
|
84365
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84359
|
"kind": "StringLiteral",
|
|
84367
|
-
"offset":
|
|
84360
|
+
"offset": 7403,
|
|
84368
84361
|
"length": 12,
|
|
84369
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84370
84363
|
},
|
|
84371
84364
|
{
|
|
84372
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84366
|
"kind": "BooleanLiteral",
|
|
84374
|
-
"offset":
|
|
84367
|
+
"offset": 7458,
|
|
84375
84368
|
"length": 5,
|
|
84376
84369
|
"value": "false"
|
|
84377
84370
|
},
|
|
84378
84371
|
{
|
|
84379
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84373
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84374
|
+
"offset": 7779,
|
|
84382
84375
|
"length": 1,
|
|
84383
84376
|
"value": "0"
|
|
84384
84377
|
},
|
|
84385
84378
|
{
|
|
84386
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84380
|
"kind": "IntegerLiteral",
|
|
84388
|
-
"offset":
|
|
84381
|
+
"offset": 7824,
|
|
84389
84382
|
"length": 1,
|
|
84390
84383
|
"value": "2"
|
|
84391
84384
|
},
|
|
84392
84385
|
{
|
|
84393
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84387
|
"kind": "BooleanLiteral",
|
|
84395
|
-
"offset":
|
|
84388
|
+
"offset": 7648,
|
|
84396
84389
|
"length": 4,
|
|
84397
84390
|
"value": "true"
|
|
84398
84391
|
},
|
|
84399
84392
|
{
|
|
84400
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84394
|
"kind": "StringLiteral",
|
|
84402
|
-
"offset":
|
|
84395
|
+
"offset": 8443,
|
|
84403
84396
|
"length": 9,
|
|
84404
84397
|
"value": "\"session\""
|
|
84405
84398
|
},
|
|
84406
84399
|
{
|
|
84407
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84401
|
"kind": "Array",
|
|
84409
|
-
"offset":
|
|
84402
|
+
"offset": 9407,
|
|
84410
84403
|
"length": 2,
|
|
84411
84404
|
"value": "[]"
|
|
84412
84405
|
},
|
|
84413
84406
|
{
|
|
84414
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84408
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84409
|
+
"offset": 84689,
|
|
84417
84410
|
"length": 4,
|
|
84418
84411
|
"value": "true"
|
|
84419
84412
|
},
|
|
84420
84413
|
{
|
|
84421
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84422
84415
|
"kind": "BooleanLiteral",
|
|
84423
|
-
"offset":
|
|
84416
|
+
"offset": 103956,
|
|
84424
84417
|
"length": 4,
|
|
84425
84418
|
"value": "true"
|
|
84426
84419
|
},
|
|
Binary file
|
|
@@ -106,11 +106,11 @@ RCT_EXTERN_METHOD(startActionsWorkFlow:
|
|
|
106
106
|
rejecter:(RCTPromiseRejectBlock)reject)
|
|
107
107
|
|
|
108
108
|
RCT_EXTERN_METHOD(retakeImage:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
(NSString *)temporarySessionId
|
|
110
|
+
imageURL:(NSString *)imageURL
|
|
111
|
+
metaData:(NSDictionary *)metaData
|
|
112
|
+
resolver:(RCTPromiseResolveBlock)resolve
|
|
113
|
+
rejecter:(RCTPromiseRejectBlock)reject)
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
RCT_EXTERN_METHOD(resumeCamera:
|
|
@@ -98,7 +98,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
98
98
|
let payload: [String: Any] = [
|
|
99
99
|
"status": "400",
|
|
100
100
|
"message": error.localizedDescription,
|
|
101
|
-
"
|
|
101
|
+
"temporarySessionID": sessionId as String
|
|
102
102
|
]
|
|
103
103
|
self.sendEvent(withName: "SyncEvent", body: payload)
|
|
104
104
|
}
|
|
@@ -262,6 +262,19 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
262
262
|
return formatter.string(from: date)
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
+
// Handle custom objects (like ImageMetaData) using Mirror reflection
|
|
266
|
+
// This ensures that objects with optional properties are properly serialized
|
|
267
|
+
let objectMirror = Mirror(reflecting: value)
|
|
268
|
+
if !objectMirror.children.isEmpty {
|
|
269
|
+
var result: [String: Any] = [:]
|
|
270
|
+
for child in objectMirror.children {
|
|
271
|
+
if let label = child.label {
|
|
272
|
+
result[label] = unwrapOptional(child.value)
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
return result
|
|
276
|
+
}
|
|
277
|
+
|
|
265
278
|
// Return the value as-is if it's a basic type
|
|
266
279
|
return value
|
|
267
280
|
}
|
|
@@ -360,28 +373,28 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
360
373
|
apiToken: NSString,
|
|
361
374
|
env: NSString,
|
|
362
375
|
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
376
|
+
rejecter reject: @escaping RCTPromiseRejectBlock) {
|
|
377
|
+
|
|
378
|
+
let model = InfivizUserLoginContext(
|
|
379
|
+
appID: appID as String,
|
|
380
|
+
authSecret: authSecret as String,
|
|
381
|
+
accountKey: accountKey as String,
|
|
382
|
+
userID: userID as String,
|
|
383
|
+
clientID: clientID as String,
|
|
384
|
+
apiToken: apiToken as String
|
|
385
|
+
)
|
|
386
|
+
|
|
387
|
+
let environment = APIEnvironment(rawValue: env as String) ?? .production
|
|
388
|
+
InfivizShotsSDK.shared.initializeEnvironent(environment)
|
|
389
|
+
activity = InfivizShotsActivity(model: model)
|
|
390
|
+
activity?.initialize { result in
|
|
391
|
+
switch result {
|
|
392
|
+
case .success(let success):
|
|
393
|
+
resolve(success)
|
|
394
|
+
case .failure(let error):
|
|
395
|
+
reject("LOGIN_FAILED", error.localizedDescription, nil)
|
|
396
|
+
}
|
|
383
397
|
}
|
|
384
|
-
}
|
|
385
398
|
}
|
|
386
399
|
|
|
387
400
|
@objc
|
|
@@ -465,7 +478,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
465
478
|
@objc(resumeCamera:metaData:resolver:rejecter:)
|
|
466
479
|
func resumeCamera(
|
|
467
480
|
_ temporarySessionID: NSString,
|
|
468
|
-
metaData: NSDictionary
|
|
481
|
+
metaData: NSDictionary?,
|
|
469
482
|
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
470
483
|
rejecter reject: @escaping RCTPromiseRejectBlock
|
|
471
484
|
) {
|
|
@@ -542,44 +555,46 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
542
555
|
|
|
543
556
|
@objc(retakeImage:imageURL:metaData:resolver:rejecter:)
|
|
544
557
|
func retakeImage(
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
558
|
+
_ temporarySessionId: NSString,
|
|
559
|
+
imageURL: String,
|
|
560
|
+
metaData: NSDictionary?,
|
|
561
|
+
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
562
|
+
rejecter reject: @escaping RCTPromiseRejectBlock
|
|
550
563
|
) {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
564
|
+
let context = CameraContext(
|
|
565
|
+
taskName: "",
|
|
566
|
+
storeTitle: "",
|
|
567
|
+
storeId: "",
|
|
568
|
+
photoType: "",
|
|
569
|
+
category: "",
|
|
570
|
+
maxPhoto: 0,
|
|
571
|
+
maxPhotoOneGo: 0,
|
|
572
|
+
navigationController: nil,
|
|
573
|
+
metaData: metaData as? [String: Any]
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
let imageURL = imageURL.components(separatedBy: "/").last ?? ""
|
|
577
|
+
|
|
578
|
+
let controller = InfilectSDKCameraActivityForResult(cameraContext: context)
|
|
579
|
+
controller.retakeImage(
|
|
580
|
+
imageURL: imageURL,
|
|
581
|
+
sessionID: temporarySessionId as String,
|
|
582
|
+
metaData: metaData as? [String: Any]
|
|
583
|
+
) { result in
|
|
584
|
+
switch result {
|
|
585
|
+
case .success(let newImageId):
|
|
586
|
+
resolve(newImageId)
|
|
587
|
+
case .failure(let sdkError):
|
|
588
|
+
reject(
|
|
589
|
+
"RetakeImageError",
|
|
590
|
+
"Failed to retake image: \((sdkError as NSError).localizedDescription)",
|
|
591
|
+
sdkError as NSError
|
|
592
|
+
)
|
|
593
|
+
}
|
|
577
594
|
}
|
|
578
|
-
}
|
|
579
595
|
}
|
|
580
596
|
|
|
581
597
|
// MARK: – React Native Promise Exposures for OutputAPI
|
|
582
|
-
|
|
583
598
|
/// Expose `getIRResult(sessionID:completion:)` to JavaScript as:
|
|
584
599
|
/// InfiBridge.getIRResult("session-123").then(...).catch(...)
|
|
585
600
|
@objc
|
|
@@ -644,4 +659,4 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
644
659
|
let payload = notification.userInfo ?? [:]
|
|
645
660
|
sendEvent(withName: "SessionRealTimeResultEvent", body: payload)
|
|
646
661
|
}
|
|
647
|
-
}
|
|
662
|
+
}
|