@infilect-sdk/infiviz-shots-react-sdk 1.3.4 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (15) hide show
  1. package/README.md +3 -0
  2. package/android/build.gradle +1 -1
  3. package/ios/InfivizShotSDK.xcframework/Info.plist +7 -7
  4. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/InfivizShotSDK +0 -0
  5. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios.abi.json +0 -28
  6. package/ios/InfivizShotSDK.xcframework/ios-arm64/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
  7. package/ios/InfivizShotSDK.xcframework/ios-arm64/dSYMs/InfivizShotSDK-device.framework.dSYM/Contents/Resources/DWARF/InfivizShotSDK +0 -0
  8. package/ios/InfivizShotSDK.xcframework/ios-arm64/dSYMs/InfivizShotSDK-device.framework.dSYM/Contents/Resources/Relocations/aarch64/InfivizShotSDK.yml +30434 -30439
  9. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/InfivizShotSDK +0 -0
  10. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -28
  11. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/Modules/InfivizShotSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -28
  12. package/ios/InfivizShotSDK.xcframework/ios-arm64_x86_64-simulator/InfivizShotSDK.framework/shotsSDK.storyboardc/xUL-ol-gRQ-view-6A8-mO-Rhi.nib +0 -0
  13. package/ios/InfivizShotsReactSdk.swift +2 -2
  14. package/package.json +1 -1
  15. package/android/consumer-rules.pro +0 -15
@@ -99286,34 +99286,6 @@
99286
99286
  "length": 3,
99287
99287
  "value": "[]"
99288
99288
  },
99289
- {
99290
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99291
- "kind": "StringLiteral",
99292
- "offset": 3309,
99293
- "length": 10,
99294
- "value": "\"CLIENTID\""
99295
- },
99296
- {
99297
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99298
- "kind": "StringLiteral",
99299
- "offset": 3363,
99300
- "length": 2,
99301
- "value": "\"\""
99302
- },
99303
- {
99304
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99305
- "kind": "StringLiteral",
99306
- "offset": 3403,
99307
- "length": 10,
99308
- "value": "\"APITOKEN\""
99309
- },
99310
- {
99311
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99312
- "kind": "StringLiteral",
99313
- "offset": 3457,
99314
- "length": 2,
99315
- "value": "\"\""
99316
- },
99317
99289
  {
99318
99290
  "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Module\/Realtime\/RealTimeView\/RealTimeView.swift",
99319
99291
  "kind": "BooleanLiteral",
@@ -99286,34 +99286,6 @@
99286
99286
  "length": 3,
99287
99287
  "value": "[]"
99288
99288
  },
99289
- {
99290
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99291
- "kind": "StringLiteral",
99292
- "offset": 3309,
99293
- "length": 10,
99294
- "value": "\"CLIENTID\""
99295
- },
99296
- {
99297
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99298
- "kind": "StringLiteral",
99299
- "offset": 3363,
99300
- "length": 2,
99301
- "value": "\"\""
99302
- },
99303
- {
99304
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99305
- "kind": "StringLiteral",
99306
- "offset": 3403,
99307
- "length": 10,
99308
- "value": "\"APITOKEN\""
99309
- },
99310
- {
99311
- "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Utilities\/APIManager\/APIServiceManager.swift",
99312
- "kind": "StringLiteral",
99313
- "offset": 3457,
99314
- "length": 2,
99315
- "value": "\"\""
99316
- },
99317
99289
  {
99318
99290
  "filePath": "\/Users\/anjalisreekumar\/Documents\/infiviz-shots-common-ios\/Module\/Realtime\/RealTimeView\/RealTimeView.swift",
99319
99291
  "kind": "BooleanLiteral",
@@ -845,7 +845,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
845
845
  } else {
846
846
  reject(
847
847
  "IR_RESULT_ERROR", // error code (custom identifier)
848
- error.debugDescription,
848
+ (error as? Error)?.localizedDescription ?? "Unknown error",
849
849
  error as? NSError // error message
850
850
  )
851
851
  }
@@ -867,7 +867,7 @@ class InfivizShotsReactSdk: RCTEventEmitter {
867
867
  } else {
868
868
  reject(
869
869
  "ACTIONS_FAILED", // error code (custom identifier)
870
- error.debugDescription,
870
+ (error as? Error)?.localizedDescription ?? "Unknown error",
871
871
  error as? NSError // error message
872
872
  )
873
873
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infilect-sdk/infiviz-shots-react-sdk",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "React Native package for native libraries",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",
@@ -1,15 +0,0 @@
1
- # Consumer ProGuard/R8 rules applied to the integrating React Native app's
2
- # release build. The Infiviz core SDK ships its own consumer-rules.pro; these
3
- # cover the RN bridge layer.
4
-
5
- # Gson reflects over field names; keep the attributes it needs.
6
- -keepattributes Signature, *Annotation*
7
-
8
- # Keep the RN bridge package + module so React Native can register them.
9
- -keep class com.infilect.infivizshotsreactsdk.InfivizShotsReactSdkPackage { *; }
10
- -keep class com.infilect.infivizshotsreactsdk.InfivizShotsReactSdkModule { *; }
11
-
12
- # DTOs serialized to JSON across the bridge with Gson. Field names must survive
13
- # R8 so the JS side can read `.status` / `.sessionId`. (Belt-and-suspenders:
14
- # these classes also carry @SerializedName.)
15
- -keep class com.infilect.infivizshotsreactsdk.SessionStatus { *; }