react-native-acoustic-connect-beta 19.1.15 → 19.1.16
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.
|
@@ -157,6 +157,7 @@ Pod::Spec.new do |s|
|
|
|
157
157
|
'ios/Tests/**/*.swift',
|
|
158
158
|
'ios/ConnectRNParsing.swift',
|
|
159
159
|
'ios/ConnectRNScreenResolution.swift',
|
|
160
|
+
'ios/ConnectRNExceptionPayload.swift',
|
|
160
161
|
'nitrogen/generated/ios/swift/Variant_Bool_String_Double.swift',
|
|
161
162
|
]
|
|
162
163
|
# ios/ConnectRNParsing.swift does `import Connect`. CocoaPods test_specs
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 19.1.16 (2026-10-27)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* CA-159219 only count an active PodSpecs source line ([#134](https://github.com/aipoweredmarketer/react-native-acoustic-connect-beta/issues/134)) ([9f28890](https://github.com/aipoweredmarketer/react-native-acoustic-connect-beta/commit/9f2889027e318f01d08f56723ac0ff6d0049f00b)), closes [cordova-acoustic-connect#64](https://github.com/aipoweredmarketer/cordova-acoustic-connect/issues/64) [#123](https://github.com/aipoweredmarketer/react-native-acoustic-connect-beta/issues/123)
|
|
6
|
+
|
|
7
|
+
### Reverts
|
|
8
|
+
|
|
9
|
+
* Revert "Beta ReactNativeConnect build: 18.0.36" ([609ad7d](https://github.com/aipoweredmarketer/react-native-acoustic-connect-beta/commit/609ad7d3244ec06f27dced5864d40585c5b3c9cf))
|
|
1
10
|
## 19.1.15 (2026-10-26)
|
|
2
11
|
|
|
3
12
|
### Bug Fixes
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (C) 2026 Acoustic, L.P. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
// NOTICE: This file contains material that is confidential and proprietary to
|
|
5
|
+
// Acoustic, L.P. and/or other developers. No license is granted under any
|
|
6
|
+
// intellectual or industrial property rights of Acoustic, L.P. except as may
|
|
7
|
+
// be provided in an agreement with Acoustic, L.P. Any unauthorized copying or
|
|
8
|
+
// distribution of content from this file is prohibited.
|
|
9
|
+
//
|
|
10
|
+
|
|
11
|
+
import Foundation
|
|
12
|
+
|
|
13
|
+
/// What `logExceptionEvent` hands the SDK for a JavaScript error.
|
|
14
|
+
///
|
|
15
|
+
/// Kept apart from `HybridAcousticConnectRN` and free of any SDK import so the
|
|
16
|
+
/// UnitTests test_spec can compile it directly (see the podspec).
|
|
17
|
+
enum ConnectRNExceptionPayload {
|
|
18
|
+
|
|
19
|
+
/// The exception name every JavaScript error is reported under; Android's
|
|
20
|
+
/// bridge posts the same one.
|
|
21
|
+
static let exceptionName = "React Plugin"
|
|
22
|
+
|
|
23
|
+
/// Builds the arguments for `logNSExceptionEvent:dataDictionary:isUnhandled:`.
|
|
24
|
+
///
|
|
25
|
+
/// The exception must not be nil: the SDK reads `name` and `description`
|
|
26
|
+
/// off it, and with none it posts only `unhandled` (CA-161116). It is never
|
|
27
|
+
/// raised, so it has no call stack of its own; the JavaScript stack travels
|
|
28
|
+
/// in `data` as `stacktrace`.
|
|
29
|
+
static func make(message: String, stackInfo: String) -> (exception: NSException, data: [String: Any]) {
|
|
30
|
+
let data: [String: Any] = [
|
|
31
|
+
"type": exceptionName,
|
|
32
|
+
"message": message,
|
|
33
|
+
"stacktrace": stackInfo,
|
|
34
|
+
]
|
|
35
|
+
let exception = NSException(name: NSExceptionName(exceptionName), reason: message, userInfo: nil)
|
|
36
|
+
return (exception, data)
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (C) 2025 Acoustic, L.P. All rights reserved.
|
|
1
|
+
// Copyright (C) 2025, 2026 Acoustic, L.P. All rights reserved.
|
|
2
2
|
//
|
|
3
3
|
// NOTICE: This file contains material that is confidential and proprietary to
|
|
4
4
|
// Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
|
|
@@ -720,12 +720,8 @@ class HybridAcousticConnectRN: HybridAcousticConnectRNSpec {
|
|
|
720
720
|
/// - unhandled: Whether exception is unhandled.
|
|
721
721
|
/// - Returns: Boolean value will return whether it was able to log the exception event.
|
|
722
722
|
func logExceptionEvent(message: String, stackInfo: String, unhandled: Bool) throws -> Bool {
|
|
723
|
-
let
|
|
724
|
-
|
|
725
|
-
"message": message,
|
|
726
|
-
"stacktrace": stackInfo
|
|
727
|
-
]
|
|
728
|
-
let result = ConnectCustomEvent().logNSExceptionEvent(nil, dataDictionary: exceptionDict, isUnhandled: unhandled)
|
|
723
|
+
let payload = ConnectRNExceptionPayload.make(message: message, stackInfo: stackInfo)
|
|
724
|
+
let result = ConnectCustomEvent().logNSExceptionEvent(payload.exception, dataDictionary: payload.data, isUnhandled: unhandled)
|
|
729
725
|
return result
|
|
730
726
|
}
|
|
731
727
|
|
package/package.json
CHANGED
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"source": "src/index",
|
|
229
229
|
"summary": "react-native ios android tealeaf connect cxa wxca er enhanced-replay",
|
|
230
230
|
"types": "./lib/typescript/src/index.d.ts",
|
|
231
|
-
"version": "19.1.
|
|
231
|
+
"version": "19.1.16",
|
|
232
232
|
"workspaces": [
|
|
233
233
|
"example",
|
|
234
234
|
"Examples/bare-workflow"
|