@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.
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>InfivizShotSDK.framework/InfivizShotSDK</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64_x86_64-simulator</string>
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-arm64</string>
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>
@@ -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": 13087,
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": 13164,
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": 6422,
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": 6556,
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": 6598,
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": 6910,
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": 6940,
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": 7311,
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": 7351,
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": 7375,
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": 7401,
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": 7440,
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": 7495,
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": 7816,
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": 7861,
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": 7685,
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": 8480,
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": 9444,
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": 84874,
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": 104178,
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": 13087,
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": 13164,
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": 6422,
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": 6556,
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": 6598,
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": 6910,
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": 6940,
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": 7311,
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": 7351,
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": 7375,
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": 7401,
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": 7440,
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": 7495,
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": 7816,
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": 7861,
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": 7685,
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": 8480,
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": 9444,
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": 84874,
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": 104178,
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": 13087,
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": 13164,
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": 6422,
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": 6556,
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": 6598,
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": 6910,
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": 6940,
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": 7311,
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": 7351,
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": 7375,
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": 7401,
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": 7440,
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": 7495,
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": 7816,
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": 7861,
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": 7685,
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": 8480,
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": 9444,
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": 84874,
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": 104178,
84416
+ "offset": 103956,
84424
84417
  "length": 4,
84425
84418
  "value": "true"
84426
84419
  },
@@ -106,11 +106,11 @@ RCT_EXTERN_METHOD(startActionsWorkFlow:
106
106
  rejecter:(RCTPromiseRejectBlock)reject)
107
107
 
108
108
  RCT_EXTERN_METHOD(retakeImage:
109
- temporarySessionId:(NSString *)temporarySessionId
110
- imageURL:(NSString *)imageURL
111
- metaData:(NSDictionary *)metaData
112
- resolver:(RCTPromiseResolveBlock)resolve
113
- rejecter:(RCTPromiseRejectBlock)reject)
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
- "sessionId": sessionId as String
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
- rejecter reject: @escaping RCTPromiseRejectBlock) {
364
-
365
- print("Login called from JS")
366
- let model = InfivizUserLoginContext(
367
- appID: appID as String,
368
- authSecret: authSecret as String,
369
- accountKey: accountKey as String,
370
- userID: userID as String,
371
- clientID: clientID as String,
372
- apiToken: apiToken as String
373
- )
374
- let environment = APIEnvironment(rawValue: env as String) ?? .production
375
- InfivizShotsSDK.shared.initializeEnvironent(environment)
376
- activity = InfivizShotsActivity(model: model)
377
- activity?.initialize { result in
378
- switch result {
379
- case .success(let success):
380
- resolve(success)
381
- case .failure(let error):
382
- reject("LOGIN_FAILED", error.localizedDescription, nil)
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
- _ temporarySessionId: NSString,
546
- imageURL: String,
547
- metaData: NSDictionary,
548
- resolver resolve: @escaping RCTPromiseResolveBlock,
549
- rejecter reject: @escaping RCTPromiseRejectBlock
558
+ _ temporarySessionId: NSString,
559
+ imageURL: String,
560
+ metaData: NSDictionary?,
561
+ resolver resolve: @escaping RCTPromiseResolveBlock,
562
+ rejecter reject: @escaping RCTPromiseRejectBlock
550
563
  ) {
551
- // Build a minimal CameraContext. If your SDK truly needs values like
552
- // taskName, storeTitle, etc., pass them in from JS or hard‐code defaults here.
553
- let context = CameraContext(
554
- taskName: "",
555
- storeTitle: "",
556
- storeId: "",
557
- photoType: "",
558
- category: "",
559
- maxPhoto: 0,
560
- maxPhotoOneGo: 0,
561
- navigationController: nil,
562
- metaData: metaData as? [String: Any]
563
- )
564
-
565
- let controller = InfilectSDKCameraActivityForResult(cameraContext: context)
566
- controller.retakeImage(imageURL: imageURL, sessionID: temporarySessionId as String, metaData: metaData as? [String: Any]) { result in
567
- switch result {
568
- case .success(let newImageId):
569
- resolve(newImageId)
570
- case .failure(let sdkError):
571
- let nsError = sdkError as NSError
572
- reject(
573
- "RetakeImageError",
574
- "Failed to retake image: \(nsError.localizedDescription)",
575
- nsError
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infilectorg/infiviz-shots-react-sdk",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "React Native package for native libraries",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",