react-native-acoustic-connect-beta 19.1.6 → 19.1.7
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/AcousticConnectRN.podspec +9 -1
- package/CHANGELOG.md +5 -0
- package/README.md +9 -10
- package/android/build.gradle +13 -3
- package/android/src/main/assets/ConnectBasicConfig.properties +1 -1
- package/android/src/main/java/com/acousticconnectrn/HybridAcousticConnectRN.kt +3 -4
- package/cli/ios/connect_pods.rb +3 -2
- package/lib/typescript/src/specs/react-native-acoustic-connect.nitro.d.ts +3 -3
- package/package.json +1 -1
- package/plugin/build/withConnectNSE.d.ts +1 -1
- package/plugin/build/withConnectNSE.js +2 -2
- package/plugin/src/withConnectNSE.ts +2 -2
- package/src/specs/react-native-acoustic-connect.nitro.ts +3 -3
|
@@ -52,7 +52,15 @@ iOSVersion = connectConfig["Connect"]["iOSVersion"]
|
|
|
52
52
|
# `ConnectDelegateProxy`-swizzled `UNUserNotificationCenter` delegate path
|
|
53
53
|
# the bridge relies on in `pushMode: 'automatic'`). 2.1.12 and older mis-wire
|
|
54
54
|
# that path, so the floor is raised to guarantee the fix is present.
|
|
55
|
-
|
|
55
|
+
# 2.1.51 floor: the first AcousticConnectDebug build with every iOS fix this
|
|
56
|
+
# release relies on. The bridge now captures the react-native-screens screen on
|
|
57
|
+
# display, and the SDK stops sending a duplicate, self-referencing screen view
|
|
58
|
+
# (from 2.1.44); an on-screen Alert.alert no longer re-posts the current screen
|
|
59
|
+
# while screenshots are on (from 2.1.49); and React Native's dev loading banner
|
|
60
|
+
# is no longer logged as a screen (2.1.51). Earlier builds still resolve and
|
|
61
|
+
# compile, but keep those defects. Open-ended on purpose: 2.2.x and newer
|
|
62
|
+
# satisfy it too.
|
|
63
|
+
sdkFloor = '>= 2.1.51'
|
|
56
64
|
dependencyRequirements = iOSVersion.to_s.empty? ? [sdkFloor] : [sdkFloor, iOSVersion]
|
|
57
65
|
|
|
58
66
|
# Normalize Connect.PushEnabled to a STRICT boolean before writing the native
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 19.1.7 (2026-10-06)
|
|
2
|
+
|
|
3
|
+
### Reverts
|
|
4
|
+
|
|
5
|
+
* Revert "Beta ReactNativeConnect build: 18.0.36" ([609ad7d](https://github.com/aipoweredmarketer/react-native-acoustic-connect-beta/commit/609ad7d3244ec06f27dced5864d40585c5b3c9cf))
|
|
1
6
|
## 19.1.6 (2026-10-01)
|
|
2
7
|
|
|
3
8
|
### Reverts
|
package/README.md
CHANGED
|
@@ -19,8 +19,8 @@ These requirements apply to SDK **19.1** and later. If your app is on React Nati
|
|
|
19
19
|
- Node 20.19.4 or newer for RN 0.84–0.86. **RN 0.87 requires Node 22.13 or newer** (`^22.13.0 || ^24.3.0 || >= 26`) and will not install on Node 20 at all
|
|
20
20
|
- JDK 17 or newer for Android builds — the same JDK React Native itself requires.
|
|
21
21
|
The Android module compiles at Java 17; newer JDKs work.
|
|
22
|
-
- iOS deployment target ≥ 15.1, AcousticConnect / AcousticConnectDebug pod ≥ 2.
|
|
23
|
-
- Android `minSdk` ≥ 26, `compileSdk` ≥ 35, `io.github.go-acoustic:connect` in `[11.
|
|
22
|
+
- iOS deployment target ≥ 15.1, AcousticConnect / AcousticConnectDebug pod ≥ 2.1.51
|
|
23
|
+
- Android `minSdk` ≥ 26, `compileSdk` ≥ 35, `io.github.go-acoustic:connect` in `[11.1.16-beta, 12.0.0)` (Connect Android 11.1 or newer)
|
|
24
24
|
- **Expo SDK 56+ is supported** from 19.1 (Expo SDK 55 → use 19.0.x) via the bundled Expo Config Plugin —
|
|
25
25
|
development builds only (Expo Go is not supported); see
|
|
26
26
|
[Using with Expo SDK 56+](#using-with-expo-sdk-56).
|
|
@@ -537,14 +537,13 @@ AcousticConnectRN.logSignal(pageView, 1)
|
|
|
537
537
|
> at the top level but dropped a top-level number. Numbers nested inside an
|
|
538
538
|
> object or array were never affected on either platform.
|
|
539
539
|
>
|
|
540
|
-
>
|
|
541
|
-
>
|
|
542
|
-
>
|
|
543
|
-
> older one:
|
|
540
|
+
> The Android versions in that note are below the `[11.1.16-beta, 12.0.0)` range this
|
|
541
|
+
> package accepts, so every supported Android version carries a top-level number.
|
|
542
|
+
> Nesting the number stays portable across both platforms:
|
|
544
543
|
>
|
|
545
544
|
> ```ts
|
|
546
545
|
> AcousticConnectRN.logSignal({ cart: { items: 3 } }, 1) // any supported version
|
|
547
|
-
> AcousticConnectRN.logSignal({ items: 3 }, 1) //
|
|
546
|
+
> AcousticConnectRN.logSignal({ items: 3 }, 1) // any supported version
|
|
548
547
|
> ```
|
|
549
548
|
|
|
550
549
|
### `AcousticConnectRN.logCustomEvent(eventName, values, level): boolean`
|
|
@@ -996,15 +995,15 @@ that **changing `android.package` requires a clean prebuild**
|
|
|
996
995
|
(`npx expo prebuild --platform android --clean`); an incremental prebuild keeps
|
|
997
996
|
the stale `applicationId`.
|
|
998
997
|
|
|
999
|
-
### iOS — `pod install` fails with `[Connect] requires AcousticConnect >= 2.
|
|
998
|
+
### iOS — `pod install` fails with `[Connect] requires AcousticConnect >= 2.1.51`
|
|
1000
999
|
|
|
1001
1000
|
You've pinned an older `iOSVersion` in `ConnectConfig.json`. Bump it to a
|
|
1002
|
-
2.
|
|
1001
|
+
2.1.51 or newer (or leave it empty for the newest available) and re-run
|
|
1003
1002
|
`pod install`.
|
|
1004
1003
|
|
|
1005
1004
|
### Android — Gradle resolution fails on `io.github.go-acoustic:connect`
|
|
1006
1005
|
|
|
1007
|
-
The strict constraint at `[11.
|
|
1006
|
+
The strict constraint at `[11.1.16-beta, 12.0.0)` is rejecting your pin. Bump
|
|
1008
1007
|
`AndroidVersion` in `ConnectConfig.json` to a release within that range (or
|
|
1009
1008
|
leave it empty for the newest 11.x available). 12.x is intentionally outside
|
|
1010
1009
|
the supported range pending compatibility validation — track that work
|
package/android/build.gradle
CHANGED
|
@@ -189,9 +189,19 @@ println "AcousticConnectRN: PushEnabled=$acousticPushEnabled, useRelease=$acoust
|
|
|
189
189
|
// constraints below. Checked up front because the constraint cannot reject a
|
|
190
190
|
// pin on its own: a strict range is itself a request for the newest version in
|
|
191
191
|
// range, so an out-of-range pin was silently replaced by that version.
|
|
192
|
-
|
|
192
|
+
// The lower bound is the first published Connect Android build with everything
|
|
193
|
+
// the bridge relies on: the Connect APIs it calls (`canTakeScreenShot`,
|
|
194
|
+
// `getLayoutInfo`, `logDialogLayout`, from 11.1.1-beta), the screen-view fix
|
|
195
|
+
// that logs a return to a screen after one that is not captured (11.1.13-beta),
|
|
196
|
+
// and password fields captured as dots rather than as typed (11.1.16-beta).
|
|
197
|
+
// Gradle orders `11.1.16-beta` below `11.1.16` (a `-beta` qualifier sorts before
|
|
198
|
+
// the release with the same numbers), so the range admits the 11.1.16 release
|
|
199
|
+
// and everything newer. The numeric pin check below ignores qualifiers, so it
|
|
200
|
+
// compares against the bare [11, 1, 16].
|
|
201
|
+
def acousticMinVersion = [11, 1, 16]
|
|
202
|
+
def acousticMinVersionQualifier = '-beta'
|
|
193
203
|
def acousticMaxVersionExclusive = [12, 0, 0]
|
|
194
|
-
def acousticSupportedRange = "[${acousticMinVersion.join('.')}, ${acousticMaxVersionExclusive.join('.')})"
|
|
204
|
+
def acousticSupportedRange = "[${acousticMinVersion.join('.')}${acousticMinVersionQualifier}, ${acousticMaxVersionExclusive.join('.')})"
|
|
195
205
|
if (!acousticVersionPin.isEmpty()) {
|
|
196
206
|
def m = acousticVersionPin =~ /^(\d+)\.(\d+)\.(\d+)/
|
|
197
207
|
def compare = { a, b -> [a, b].transpose().collect { x, y -> x <=> y }.find { it != 0 } ?: 0 }
|
|
@@ -340,7 +350,7 @@ dependencies {
|
|
|
340
350
|
strictly acousticSupportedRange
|
|
341
351
|
if (!acousticVersionPin.isEmpty()) { prefer acousticVersionPin }
|
|
342
352
|
}
|
|
343
|
-
because
|
|
353
|
+
because "AcousticConnectRN requires Connect Android SDK in ${acousticSupportedRange} (the bridge uses Connect APIs added in 11.1). Bump the upper bound after validating compatibility with a new major."
|
|
344
354
|
}
|
|
345
355
|
implementation('io.github.go-acoustic:connect-push-fcm') {
|
|
346
356
|
version {
|
|
@@ -1547,10 +1547,9 @@ class HybridAcousticConnectRN : HybridAcousticConnectRNSpec(),
|
|
|
1547
1547
|
* error, and nothing here could rescue it. Numbers nested inside an object
|
|
1548
1548
|
* or array were never affected — the enclosing [JSONObject]/[JSONArray] is
|
|
1549
1549
|
* built here, so `org.json` serializes them normally — and iOS has always
|
|
1550
|
-
* carried top-level numbers. Both sides of the boundary sit
|
|
1551
|
-
* `[11.
|
|
1552
|
-
*
|
|
1553
|
-
* is portable across the whole range.
|
|
1550
|
+
* carried top-level numbers. Both sides of the boundary sit below the
|
|
1551
|
+
* `[11.1.16-beta, 12.0.0)` range this bridge accepts, so every supported
|
|
1552
|
+
* version carries a top-level number; nesting a number stays portable.
|
|
1554
1553
|
*
|
|
1555
1554
|
* A [JSONException] aborts the whole payload rather than escaping to the
|
|
1556
1555
|
* caller. Non-finite numbers are the case that raises it: `org.json`
|
package/cli/ios/connect_pods.rb
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
# app target and the push extensions (ConnectNSE / ConnectNCE) all link the SAME
|
|
8
8
|
# SDK build:
|
|
9
9
|
# - useRelease => 'AcousticConnect', otherwise 'AcousticConnectDebug'
|
|
10
|
-
# - floor '>= 2.1.
|
|
10
|
+
# - floor '>= 2.1.51' (screen-capture, alert and dev-banner fixes; includes the push permission API
|
|
11
|
+
# and automatic-mode fix)
|
|
11
12
|
# - optional exact pin via Connect.iOSVersion
|
|
12
13
|
#
|
|
13
14
|
# Usage from a Podfile (resolve the file the same way the RN template resolves
|
|
@@ -42,7 +43,7 @@ def acoustic_connect_pod(podfile_dir, config_path: nil)
|
|
|
42
43
|
use_release = connect_config['useRelease']
|
|
43
44
|
ios_version = connect_config['iOSVersion'].to_s
|
|
44
45
|
name = use_release ? 'AcousticConnect' : 'AcousticConnectDebug'
|
|
45
|
-
floor = '>= 2.1.
|
|
46
|
+
floor = '>= 2.1.51'
|
|
46
47
|
requirements = ios_version.empty? ? [floor] : [floor, ios_version]
|
|
47
48
|
[name, requirements]
|
|
48
49
|
end
|
|
@@ -187,9 +187,9 @@ export interface AcousticConnectRN extends HybridObject<{
|
|
|
187
187
|
* map and dropped a top-level number. Numbers nested *inside* an object
|
|
188
188
|
* or array were never affected, because the bridge builds those
|
|
189
189
|
* `JSONObject`/`JSONArray` values itself, and iOS has always carried
|
|
190
|
-
* top-level numbers normally. Both versions sit
|
|
191
|
-
* `[11.
|
|
192
|
-
*
|
|
190
|
+
* top-level numbers normally. Both versions sit below the
|
|
191
|
+
* `[11.1.16-beta, 12.0.0)` range this package accepts, so every supported
|
|
192
|
+
* version carries a top-level number.
|
|
193
193
|
*
|
|
194
194
|
* @example Nested payload
|
|
195
195
|
* ```ts
|
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.7",
|
|
232
232
|
"workspaces": [
|
|
233
233
|
"example",
|
|
234
234
|
"Examples/bare-workflow"
|
|
@@ -53,7 +53,7 @@ export declare function buildNSEEntitlements(appGroupIdentifier: string): string
|
|
|
53
53
|
*
|
|
54
54
|
* Tolerates a missing ConnectConfig.json or a missing `Connect` key: when
|
|
55
55
|
* the file or key is absent the block defaults to AcousticConnectDebug with
|
|
56
|
-
* floor '>= 2.1.
|
|
56
|
+
* floor '>= 2.1.51' and no version pin, so prop-only setups (no
|
|
57
57
|
* ConnectConfig.json) keep working. If the file exists but contains invalid
|
|
58
58
|
* JSON, `pod install` will print a warning and use the same defaults rather
|
|
59
59
|
* than crashing.
|
|
@@ -179,7 +179,7 @@ const PODFILE_MARKER = '# @generated ConnectNSE target (react-native-acoustic-co
|
|
|
179
179
|
*
|
|
180
180
|
* Tolerates a missing ConnectConfig.json or a missing `Connect` key: when
|
|
181
181
|
* the file or key is absent the block defaults to AcousticConnectDebug with
|
|
182
|
-
* floor '>= 2.1.
|
|
182
|
+
* floor '>= 2.1.51' and no version pin, so prop-only setups (no
|
|
183
183
|
* ConnectConfig.json) keep working. If the file exists but contains invalid
|
|
184
184
|
* JSON, `pod install` will print a warning and use the same defaults rather
|
|
185
185
|
* than crashing.
|
|
@@ -201,7 +201,7 @@ def ${helperName}
|
|
|
201
201
|
use_release = connect_config['useRelease'] || false
|
|
202
202
|
ios_version = (connect_config['iOSVersion'] || '').to_s
|
|
203
203
|
name = use_release ? 'AcousticConnect' : 'AcousticConnectDebug'
|
|
204
|
-
floor = '>= 2.1.
|
|
204
|
+
floor = '>= 2.1.51'
|
|
205
205
|
requirements = ios_version.empty? ? [floor] : [floor, ios_version]
|
|
206
206
|
[name, requirements]
|
|
207
207
|
end
|
|
@@ -210,7 +210,7 @@ const PODFILE_MARKER =
|
|
|
210
210
|
*
|
|
211
211
|
* Tolerates a missing ConnectConfig.json or a missing `Connect` key: when
|
|
212
212
|
* the file or key is absent the block defaults to AcousticConnectDebug with
|
|
213
|
-
* floor '>= 2.1.
|
|
213
|
+
* floor '>= 2.1.51' and no version pin, so prop-only setups (no
|
|
214
214
|
* ConnectConfig.json) keep working. If the file exists but contains invalid
|
|
215
215
|
* JSON, `pod install` will print a warning and use the same defaults rather
|
|
216
216
|
* than crashing.
|
|
@@ -236,7 +236,7 @@ def ${helperName}
|
|
|
236
236
|
use_release = connect_config['useRelease'] || false
|
|
237
237
|
ios_version = (connect_config['iOSVersion'] || '').to_s
|
|
238
238
|
name = use_release ? 'AcousticConnect' : 'AcousticConnectDebug'
|
|
239
|
-
floor = '>= 2.1.
|
|
239
|
+
floor = '>= 2.1.51'
|
|
240
240
|
requirements = ios_version.empty? ? [floor] : [floor, ios_version]
|
|
241
241
|
[name, requirements]
|
|
242
242
|
end
|
|
@@ -205,9 +205,9 @@ export interface AcousticConnectRN extends HybridObject<{ ios: 'swift', android:
|
|
|
205
205
|
* map and dropped a top-level number. Numbers nested *inside* an object
|
|
206
206
|
* or array were never affected, because the bridge builds those
|
|
207
207
|
* `JSONObject`/`JSONArray` values itself, and iOS has always carried
|
|
208
|
-
* top-level numbers normally. Both versions sit
|
|
209
|
-
* `[11.
|
|
210
|
-
*
|
|
208
|
+
* top-level numbers normally. Both versions sit below the
|
|
209
|
+
* `[11.1.16-beta, 12.0.0)` range this package accepts, so every supported
|
|
210
|
+
* version carries a top-level number.
|
|
211
211
|
*
|
|
212
212
|
* @example Nested payload
|
|
213
213
|
* ```ts
|