@infilectorg/infiviz-shots-react-sdk 1.2.3 → 1.2.4
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/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 +21 -21
- package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- 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 +21 -21
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +21 -21
- package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
- 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.swift +48 -45
- package/package.json +1 -1
- package/react-native-infiviz-shots.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -108,7 +108,7 @@ dependencies {
|
|
|
108
108
|
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
implementation 'com.infilect:infivizshots-sdk:RN-1.2.
|
|
111
|
+
implementation 'com.infilect:infivizshots-sdk:RN-1.2.3'
|
|
112
112
|
|
|
113
113
|
testImplementation 'junit:junit:4.13.2'
|
|
114
114
|
implementation 'com.github.bumptech.glide:glide:4.14.2'
|
|
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": 13008,
|
|
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": 13085,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84287,133 +84287,133 @@
|
|
|
84287
84287
|
{
|
|
84288
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
84289
|
"kind": "IntegerLiteral",
|
|
84290
|
-
"offset":
|
|
84290
|
+
"offset": 6494,
|
|
84291
84291
|
"length": 1,
|
|
84292
84292
|
"value": "0"
|
|
84293
84293
|
},
|
|
84294
84294
|
{
|
|
84295
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84296
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84297
|
+
"offset": 6628,
|
|
84298
84298
|
"length": 1,
|
|
84299
84299
|
"value": "0"
|
|
84300
84300
|
},
|
|
84301
84301
|
{
|
|
84302
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84303
|
"kind": "BooleanLiteral",
|
|
84304
|
-
"offset":
|
|
84304
|
+
"offset": 6670,
|
|
84305
84305
|
"length": 5,
|
|
84306
84306
|
"value": "false"
|
|
84307
84307
|
},
|
|
84308
84308
|
{
|
|
84309
84309
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84310
|
"kind": "IntegerLiteral",
|
|
84311
|
-
"offset":
|
|
84311
|
+
"offset": 6287,
|
|
84312
84312
|
"length": 1,
|
|
84313
84313
|
"value": "0"
|
|
84314
84314
|
},
|
|
84315
84315
|
{
|
|
84316
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84317
84317
|
"kind": "StringLiteral",
|
|
84318
|
-
"offset":
|
|
84318
|
+
"offset": 6982,
|
|
84319
84319
|
"length": 2,
|
|
84320
84320
|
"value": "\"\""
|
|
84321
84321
|
},
|
|
84322
84322
|
{
|
|
84323
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84324
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84325
|
+
"offset": 7012,
|
|
84326
84326
|
"length": 2,
|
|
84327
84327
|
"value": "\"\""
|
|
84328
84328
|
},
|
|
84329
84329
|
{
|
|
84330
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84331
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84332
|
+
"offset": 7383,
|
|
84333
84333
|
"length": 2,
|
|
84334
84334
|
"value": "\"\""
|
|
84335
84335
|
},
|
|
84336
84336
|
{
|
|
84337
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84338
|
"kind": "IntegerLiteral",
|
|
84339
|
-
"offset":
|
|
84339
|
+
"offset": 7423,
|
|
84340
84340
|
"length": 1,
|
|
84341
84341
|
"value": "0"
|
|
84342
84342
|
},
|
|
84343
84343
|
{
|
|
84344
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84345
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84346
|
+
"offset": 7447,
|
|
84347
84347
|
"length": 1,
|
|
84348
84348
|
"value": "0"
|
|
84349
84349
|
},
|
|
84350
84350
|
{
|
|
84351
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84352
|
"kind": "StringLiteral",
|
|
84353
|
-
"offset":
|
|
84353
|
+
"offset": 7473,
|
|
84354
84354
|
"length": 2,
|
|
84355
84355
|
"value": "\"\""
|
|
84356
84356
|
},
|
|
84357
84357
|
{
|
|
84358
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84359
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84360
|
+
"offset": 7512,
|
|
84361
84361
|
"length": 12,
|
|
84362
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84363
84363
|
},
|
|
84364
84364
|
{
|
|
84365
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84366
|
"kind": "BooleanLiteral",
|
|
84367
|
-
"offset":
|
|
84367
|
+
"offset": 7567,
|
|
84368
84368
|
"length": 5,
|
|
84369
84369
|
"value": "false"
|
|
84370
84370
|
},
|
|
84371
84371
|
{
|
|
84372
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84373
|
"kind": "IntegerLiteral",
|
|
84374
|
-
"offset":
|
|
84374
|
+
"offset": 7888,
|
|
84375
84375
|
"length": 1,
|
|
84376
84376
|
"value": "0"
|
|
84377
84377
|
},
|
|
84378
84378
|
{
|
|
84379
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84380
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84381
|
+
"offset": 7933,
|
|
84382
84382
|
"length": 1,
|
|
84383
84383
|
"value": "2"
|
|
84384
84384
|
},
|
|
84385
84385
|
{
|
|
84386
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84387
|
"kind": "BooleanLiteral",
|
|
84388
|
-
"offset":
|
|
84388
|
+
"offset": 7757,
|
|
84389
84389
|
"length": 4,
|
|
84390
84390
|
"value": "true"
|
|
84391
84391
|
},
|
|
84392
84392
|
{
|
|
84393
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84394
|
"kind": "StringLiteral",
|
|
84395
|
-
"offset":
|
|
84395
|
+
"offset": 8552,
|
|
84396
84396
|
"length": 9,
|
|
84397
84397
|
"value": "\"session\""
|
|
84398
84398
|
},
|
|
84399
84399
|
{
|
|
84400
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84401
|
"kind": "Array",
|
|
84402
|
-
"offset":
|
|
84402
|
+
"offset": 9516,
|
|
84403
84403
|
"length": 2,
|
|
84404
84404
|
"value": "[]"
|
|
84405
84405
|
},
|
|
84406
84406
|
{
|
|
84407
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84408
|
"kind": "BooleanLiteral",
|
|
84409
|
-
"offset":
|
|
84409
|
+
"offset": 85814,
|
|
84410
84410
|
"length": 4,
|
|
84411
84411
|
"value": "true"
|
|
84412
84412
|
},
|
|
84413
84413
|
{
|
|
84414
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84415
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84416
|
+
"offset": 105414,
|
|
84417
84417
|
"length": 4,
|
|
84418
84418
|
"value": "true"
|
|
84419
84419
|
},
|
|
Binary file
|
|
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": 13008,
|
|
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": 13085,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84287,133 +84287,133 @@
|
|
|
84287
84287
|
{
|
|
84288
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
84289
|
"kind": "IntegerLiteral",
|
|
84290
|
-
"offset":
|
|
84290
|
+
"offset": 6494,
|
|
84291
84291
|
"length": 1,
|
|
84292
84292
|
"value": "0"
|
|
84293
84293
|
},
|
|
84294
84294
|
{
|
|
84295
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84296
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84297
|
+
"offset": 6628,
|
|
84298
84298
|
"length": 1,
|
|
84299
84299
|
"value": "0"
|
|
84300
84300
|
},
|
|
84301
84301
|
{
|
|
84302
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84303
|
"kind": "BooleanLiteral",
|
|
84304
|
-
"offset":
|
|
84304
|
+
"offset": 6670,
|
|
84305
84305
|
"length": 5,
|
|
84306
84306
|
"value": "false"
|
|
84307
84307
|
},
|
|
84308
84308
|
{
|
|
84309
84309
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84310
|
"kind": "IntegerLiteral",
|
|
84311
|
-
"offset":
|
|
84311
|
+
"offset": 6287,
|
|
84312
84312
|
"length": 1,
|
|
84313
84313
|
"value": "0"
|
|
84314
84314
|
},
|
|
84315
84315
|
{
|
|
84316
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84317
84317
|
"kind": "StringLiteral",
|
|
84318
|
-
"offset":
|
|
84318
|
+
"offset": 6982,
|
|
84319
84319
|
"length": 2,
|
|
84320
84320
|
"value": "\"\""
|
|
84321
84321
|
},
|
|
84322
84322
|
{
|
|
84323
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84324
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84325
|
+
"offset": 7012,
|
|
84326
84326
|
"length": 2,
|
|
84327
84327
|
"value": "\"\""
|
|
84328
84328
|
},
|
|
84329
84329
|
{
|
|
84330
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84331
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84332
|
+
"offset": 7383,
|
|
84333
84333
|
"length": 2,
|
|
84334
84334
|
"value": "\"\""
|
|
84335
84335
|
},
|
|
84336
84336
|
{
|
|
84337
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84338
|
"kind": "IntegerLiteral",
|
|
84339
|
-
"offset":
|
|
84339
|
+
"offset": 7423,
|
|
84340
84340
|
"length": 1,
|
|
84341
84341
|
"value": "0"
|
|
84342
84342
|
},
|
|
84343
84343
|
{
|
|
84344
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84345
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84346
|
+
"offset": 7447,
|
|
84347
84347
|
"length": 1,
|
|
84348
84348
|
"value": "0"
|
|
84349
84349
|
},
|
|
84350
84350
|
{
|
|
84351
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84352
|
"kind": "StringLiteral",
|
|
84353
|
-
"offset":
|
|
84353
|
+
"offset": 7473,
|
|
84354
84354
|
"length": 2,
|
|
84355
84355
|
"value": "\"\""
|
|
84356
84356
|
},
|
|
84357
84357
|
{
|
|
84358
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84359
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84360
|
+
"offset": 7512,
|
|
84361
84361
|
"length": 12,
|
|
84362
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84363
84363
|
},
|
|
84364
84364
|
{
|
|
84365
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84366
|
"kind": "BooleanLiteral",
|
|
84367
|
-
"offset":
|
|
84367
|
+
"offset": 7567,
|
|
84368
84368
|
"length": 5,
|
|
84369
84369
|
"value": "false"
|
|
84370
84370
|
},
|
|
84371
84371
|
{
|
|
84372
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84373
|
"kind": "IntegerLiteral",
|
|
84374
|
-
"offset":
|
|
84374
|
+
"offset": 7888,
|
|
84375
84375
|
"length": 1,
|
|
84376
84376
|
"value": "0"
|
|
84377
84377
|
},
|
|
84378
84378
|
{
|
|
84379
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84380
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84381
|
+
"offset": 7933,
|
|
84382
84382
|
"length": 1,
|
|
84383
84383
|
"value": "2"
|
|
84384
84384
|
},
|
|
84385
84385
|
{
|
|
84386
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84387
|
"kind": "BooleanLiteral",
|
|
84388
|
-
"offset":
|
|
84388
|
+
"offset": 7757,
|
|
84389
84389
|
"length": 4,
|
|
84390
84390
|
"value": "true"
|
|
84391
84391
|
},
|
|
84392
84392
|
{
|
|
84393
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84394
|
"kind": "StringLiteral",
|
|
84395
|
-
"offset":
|
|
84395
|
+
"offset": 8552,
|
|
84396
84396
|
"length": 9,
|
|
84397
84397
|
"value": "\"session\""
|
|
84398
84398
|
},
|
|
84399
84399
|
{
|
|
84400
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84401
|
"kind": "Array",
|
|
84402
|
-
"offset":
|
|
84402
|
+
"offset": 9516,
|
|
84403
84403
|
"length": 2,
|
|
84404
84404
|
"value": "[]"
|
|
84405
84405
|
},
|
|
84406
84406
|
{
|
|
84407
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84408
|
"kind": "BooleanLiteral",
|
|
84409
|
-
"offset":
|
|
84409
|
+
"offset": 85814,
|
|
84410
84410
|
"length": 4,
|
|
84411
84411
|
"value": "true"
|
|
84412
84412
|
},
|
|
84413
84413
|
{
|
|
84414
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84415
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84416
|
+
"offset": 105414,
|
|
84417
84417
|
"length": 4,
|
|
84418
84418
|
"value": "true"
|
|
84419
84419
|
},
|
|
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": 13008,
|
|
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": 13085,
|
|
82779
82779
|
"length": 5,
|
|
82780
82780
|
"value": "false"
|
|
82781
82781
|
},
|
|
@@ -84287,133 +84287,133 @@
|
|
|
84287
84287
|
{
|
|
84288
84288
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84289
84289
|
"kind": "IntegerLiteral",
|
|
84290
|
-
"offset":
|
|
84290
|
+
"offset": 6494,
|
|
84291
84291
|
"length": 1,
|
|
84292
84292
|
"value": "0"
|
|
84293
84293
|
},
|
|
84294
84294
|
{
|
|
84295
84295
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84296
84296
|
"kind": "IntegerLiteral",
|
|
84297
|
-
"offset":
|
|
84297
|
+
"offset": 6628,
|
|
84298
84298
|
"length": 1,
|
|
84299
84299
|
"value": "0"
|
|
84300
84300
|
},
|
|
84301
84301
|
{
|
|
84302
84302
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84303
84303
|
"kind": "BooleanLiteral",
|
|
84304
|
-
"offset":
|
|
84304
|
+
"offset": 6670,
|
|
84305
84305
|
"length": 5,
|
|
84306
84306
|
"value": "false"
|
|
84307
84307
|
},
|
|
84308
84308
|
{
|
|
84309
84309
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84310
84310
|
"kind": "IntegerLiteral",
|
|
84311
|
-
"offset":
|
|
84311
|
+
"offset": 6287,
|
|
84312
84312
|
"length": 1,
|
|
84313
84313
|
"value": "0"
|
|
84314
84314
|
},
|
|
84315
84315
|
{
|
|
84316
84316
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84317
84317
|
"kind": "StringLiteral",
|
|
84318
|
-
"offset":
|
|
84318
|
+
"offset": 6982,
|
|
84319
84319
|
"length": 2,
|
|
84320
84320
|
"value": "\"\""
|
|
84321
84321
|
},
|
|
84322
84322
|
{
|
|
84323
84323
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84324
84324
|
"kind": "StringLiteral",
|
|
84325
|
-
"offset":
|
|
84325
|
+
"offset": 7012,
|
|
84326
84326
|
"length": 2,
|
|
84327
84327
|
"value": "\"\""
|
|
84328
84328
|
},
|
|
84329
84329
|
{
|
|
84330
84330
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84331
84331
|
"kind": "StringLiteral",
|
|
84332
|
-
"offset":
|
|
84332
|
+
"offset": 7383,
|
|
84333
84333
|
"length": 2,
|
|
84334
84334
|
"value": "\"\""
|
|
84335
84335
|
},
|
|
84336
84336
|
{
|
|
84337
84337
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84338
84338
|
"kind": "IntegerLiteral",
|
|
84339
|
-
"offset":
|
|
84339
|
+
"offset": 7423,
|
|
84340
84340
|
"length": 1,
|
|
84341
84341
|
"value": "0"
|
|
84342
84342
|
},
|
|
84343
84343
|
{
|
|
84344
84344
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84345
84345
|
"kind": "IntegerLiteral",
|
|
84346
|
-
"offset":
|
|
84346
|
+
"offset": 7447,
|
|
84347
84347
|
"length": 1,
|
|
84348
84348
|
"value": "0"
|
|
84349
84349
|
},
|
|
84350
84350
|
{
|
|
84351
84351
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84352
84352
|
"kind": "StringLiteral",
|
|
84353
|
-
"offset":
|
|
84353
|
+
"offset": 7473,
|
|
84354
84354
|
"length": 2,
|
|
84355
84355
|
"value": "\"\""
|
|
84356
84356
|
},
|
|
84357
84357
|
{
|
|
84358
84358
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84359
84359
|
"kind": "StringLiteral",
|
|
84360
|
-
"offset":
|
|
84360
|
+
"offset": 7512,
|
|
84361
84361
|
"length": 12,
|
|
84362
84362
|
"value": "\"dd\/MM\/yyyy\""
|
|
84363
84363
|
},
|
|
84364
84364
|
{
|
|
84365
84365
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84366
84366
|
"kind": "BooleanLiteral",
|
|
84367
|
-
"offset":
|
|
84367
|
+
"offset": 7567,
|
|
84368
84368
|
"length": 5,
|
|
84369
84369
|
"value": "false"
|
|
84370
84370
|
},
|
|
84371
84371
|
{
|
|
84372
84372
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84373
84373
|
"kind": "IntegerLiteral",
|
|
84374
|
-
"offset":
|
|
84374
|
+
"offset": 7888,
|
|
84375
84375
|
"length": 1,
|
|
84376
84376
|
"value": "0"
|
|
84377
84377
|
},
|
|
84378
84378
|
{
|
|
84379
84379
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84380
84380
|
"kind": "IntegerLiteral",
|
|
84381
|
-
"offset":
|
|
84381
|
+
"offset": 7933,
|
|
84382
84382
|
"length": 1,
|
|
84383
84383
|
"value": "2"
|
|
84384
84384
|
},
|
|
84385
84385
|
{
|
|
84386
84386
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84387
84387
|
"kind": "BooleanLiteral",
|
|
84388
|
-
"offset":
|
|
84388
|
+
"offset": 7757,
|
|
84389
84389
|
"length": 4,
|
|
84390
84390
|
"value": "true"
|
|
84391
84391
|
},
|
|
84392
84392
|
{
|
|
84393
84393
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84394
84394
|
"kind": "StringLiteral",
|
|
84395
|
-
"offset":
|
|
84395
|
+
"offset": 8552,
|
|
84396
84396
|
"length": 9,
|
|
84397
84397
|
"value": "\"session\""
|
|
84398
84398
|
},
|
|
84399
84399
|
{
|
|
84400
84400
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84401
84401
|
"kind": "Array",
|
|
84402
|
-
"offset":
|
|
84402
|
+
"offset": 9516,
|
|
84403
84403
|
"length": 2,
|
|
84404
84404
|
"value": "[]"
|
|
84405
84405
|
},
|
|
84406
84406
|
{
|
|
84407
84407
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84408
84408
|
"kind": "BooleanLiteral",
|
|
84409
|
-
"offset":
|
|
84409
|
+
"offset": 85814,
|
|
84410
84410
|
"length": 4,
|
|
84411
84411
|
"value": "true"
|
|
84412
84412
|
},
|
|
84413
84413
|
{
|
|
84414
84414
|
"filePath": "\/Users\/manish\/Documents\/Workspace\/infiviz-shots-common-ios\/Module\/Camera\/Controller\/MainView\/CameraViewController.swift",
|
|
84415
84415
|
"kind": "BooleanLiteral",
|
|
84416
|
-
"offset":
|
|
84416
|
+
"offset": 105414,
|
|
84417
84417
|
"length": 4,
|
|
84418
84418
|
"value": "true"
|
|
84419
84419
|
},
|
|
Binary file
|
|
Binary file
|
|
@@ -194,6 +194,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
194
194
|
case .success(let value):
|
|
195
195
|
// Convert any value to a clean dictionary that handles Optionals properly
|
|
196
196
|
let cleanDict = self.convertToCleanDictionary(value)
|
|
197
|
+
print(value)
|
|
197
198
|
// Return the dictionary directly instead of JSON string
|
|
198
199
|
resolve(cleanDict)
|
|
199
200
|
case .failure(let error):
|
|
@@ -202,21 +203,14 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
//
|
|
206
|
-
// MARK: - Convert Any Value to Clean Dictionary
|
|
206
|
+
// MARK: - Convert Any to Clean Dictionary
|
|
207
207
|
private func convertToCleanDictionary(_ value: Any) -> [String: Any] {
|
|
208
208
|
if let dict = value as? [String: Any] {
|
|
209
209
|
return cleanDictionary(dict)
|
|
210
|
-
} else if let dict = value as? [AnyHashable: Any] {
|
|
211
|
-
var result: [String: Any] = [:]
|
|
212
|
-
for (k, v) in dict {
|
|
213
|
-
result[String(describing: k)] = unwrapOptional(v)
|
|
214
|
-
}
|
|
215
|
-
return result
|
|
216
210
|
} else {
|
|
217
|
-
// Try to convert to dictionary using Mirror reflection
|
|
218
211
|
let mirror = Mirror(reflecting: value)
|
|
219
212
|
var result: [String: Any] = [:]
|
|
213
|
+
|
|
220
214
|
for child in mirror.children {
|
|
221
215
|
if let label = child.label {
|
|
222
216
|
result[label] = unwrapOptional(child.value)
|
|
@@ -225,7 +219,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
225
219
|
return result
|
|
226
220
|
}
|
|
227
221
|
}
|
|
228
|
-
|
|
222
|
+
|
|
229
223
|
// MARK: - Recursively Clean Dictionary
|
|
230
224
|
private func cleanDictionary(_ dict: [String: Any]) -> [String: Any] {
|
|
231
225
|
var cleaned: [String: Any] = [:]
|
|
@@ -234,74 +228,83 @@ class InfivizShotsReactSdk: RCTEventEmitter {
|
|
|
234
228
|
}
|
|
235
229
|
return cleaned
|
|
236
230
|
}
|
|
237
|
-
|
|
238
|
-
// MARK: - Unwrap Optionals and
|
|
231
|
+
|
|
232
|
+
// MARK: - Unwrap Optionals and Flatten SDK Values
|
|
239
233
|
private func unwrapOptional(_ value: Any) -> Any {
|
|
240
|
-
let mirror = Mirror(reflecting: value)
|
|
241
|
-
|
|
242
234
|
// 1. Handle Optional
|
|
243
|
-
let
|
|
244
|
-
if
|
|
235
|
+
let mirror = Mirror(reflecting: value)
|
|
236
|
+
if mirror.displayStyle == .optional {
|
|
245
237
|
if let unwrapped = mirror.children.first?.value {
|
|
246
238
|
return unwrapOptional(unwrapped)
|
|
247
239
|
} else {
|
|
248
240
|
return NSNull()
|
|
249
241
|
}
|
|
250
242
|
}
|
|
251
|
-
|
|
252
|
-
// 2.
|
|
253
|
-
if let
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
243
|
+
|
|
244
|
+
// 2. Handle JSONValue directly
|
|
245
|
+
if let jsonValue = value as? InfivizShotSDK.JSONValue {
|
|
246
|
+
switch jsonValue {
|
|
247
|
+
case .string(let str): return str
|
|
248
|
+
case .bool(let b): return b
|
|
249
|
+
case .int(let i): return i
|
|
250
|
+
case .double(let d): return d
|
|
251
|
+
case .dictionary(let dict):
|
|
252
|
+
var cleaned: [String: Any] = [:]
|
|
253
|
+
for (k, v) in dict {
|
|
254
|
+
cleaned[k] = unwrapOptional(v)
|
|
255
|
+
}
|
|
256
|
+
return cleaned
|
|
257
|
+
case .array(let arr):
|
|
258
|
+
return arr.map { unwrapOptional($0) }
|
|
259
|
+
case .null:
|
|
260
|
+
return NSNull()
|
|
261
|
+
@unknown default:
|
|
262
|
+
return NSNull()
|
|
263
|
+
}
|
|
257
264
|
}
|
|
258
|
-
|
|
265
|
+
|
|
259
266
|
// 3. Arrays
|
|
260
267
|
if let array = value as? [Any] {
|
|
261
268
|
return array.map { unwrapOptional($0) }
|
|
262
269
|
}
|
|
263
|
-
|
|
270
|
+
|
|
264
271
|
// 4. Dictionaries
|
|
265
272
|
if let dict = value as? [String: Any] {
|
|
266
|
-
|
|
267
|
-
if dict.keys.count == 1, let firstKey = dict.keys.first {
|
|
268
|
-
if ["string", "bool", "int", "double", "float"].contains(firstKey.lowercased()) {
|
|
269
|
-
return unwrapOptional(dict[firstKey]!)
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
return cleanDictionary(dict)
|
|
273
|
-
} else if let dict = value as? [AnyHashable: Any] {
|
|
274
|
-
var result: [String: Any] = [:]
|
|
273
|
+
var cleaned: [String: Any] = [:]
|
|
275
274
|
for (k, v) in dict {
|
|
276
|
-
|
|
275
|
+
cleaned[k] = unwrapOptional(v)
|
|
277
276
|
}
|
|
278
|
-
return
|
|
277
|
+
return cleaned
|
|
279
278
|
}
|
|
280
|
-
|
|
281
|
-
// 5.
|
|
279
|
+
|
|
280
|
+
// 5. Enum like SessionSyncStateEnum
|
|
281
|
+
let typeName = String(describing: type(of: value))
|
|
282
|
+
if typeName.contains("InfivizShotSDK.SessionSyncStateEnum") {
|
|
283
|
+
return String(describing: value)
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// 6. Date
|
|
282
287
|
if let date = value as? Date {
|
|
283
288
|
let formatter = DateFormatter()
|
|
284
289
|
formatter.dateFormat = "yyyy-MM-dd HH:mm:ss Z"
|
|
285
290
|
return formatter.string(from: date)
|
|
286
291
|
}
|
|
287
|
-
|
|
288
|
-
//
|
|
289
|
-
|
|
290
|
-
if !objectMirror.children.isEmpty {
|
|
292
|
+
|
|
293
|
+
// 7. Custom objects
|
|
294
|
+
if !mirror.children.isEmpty {
|
|
291
295
|
var result: [String: Any] = [:]
|
|
292
|
-
for child in
|
|
296
|
+
for child in mirror.children {
|
|
293
297
|
if let label = child.label {
|
|
294
298
|
result[label] = unwrapOptional(child.value)
|
|
295
299
|
}
|
|
296
300
|
}
|
|
297
301
|
return result
|
|
298
302
|
}
|
|
299
|
-
|
|
300
|
-
//
|
|
303
|
+
|
|
304
|
+
// 8. Primitive
|
|
301
305
|
return value
|
|
302
306
|
}
|
|
303
307
|
|
|
304
|
-
|
|
305
308
|
// MARK: - Logout
|
|
306
309
|
@objc
|
|
307
310
|
func logout(_ resolve: @escaping RCTPromiseResolveBlock, rejecter reject: @escaping RCTPromiseRejectBlock) {
|
package/package.json
CHANGED