react-native-acoustic-connect-beta 19.0.29 → 19.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.
- package/CHANGELOG.md +5 -0
- package/ConnectConfig.example.json +1 -1
- package/README.md +6 -2
- package/android/src/main/assets/ConnectAdvancedConfig.json +1 -1
- package/android/src/main/assets/ConnectBasicConfig.properties +1 -1
- package/android/src/main/java/com/acousticconnectrn/HybridAcousticConnectRN.kt +62 -15
- package/lib/typescript/src/specs/react-native-acoustic-connect.nitro.d.ts +12 -0
- package/lib/typescript/src/specs/react-native-acoustic-connect.nitro.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/specs/react-native-acoustic-connect.nitro.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## 19.0.30 (2026-09-21)
|
|
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.0.29 (2026-09-17)
|
|
2
7
|
|
|
3
8
|
### Reverts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Connect": {
|
|
3
3
|
"AndroidNotificationIconResName": "ic_notification",
|
|
4
|
-
"AndroidVersion": "11.0.
|
|
4
|
+
"AndroidVersion": "11.0.31-beta",
|
|
5
5
|
"AppKey": "YOUR_CONNECT_APP_KEY_HERE",
|
|
6
6
|
"KillSwitchUrl": "YOUR_KILL_SWITCH_URL_HERE",
|
|
7
7
|
"PostMessageUrl": "YOUR_POST_MESSAGE_URL_HERE",
|
package/README.md
CHANGED
|
@@ -363,7 +363,7 @@ screen / touch / keyboard tracking) can skip it entirely.
|
|
|
363
363
|
### 3. Log events (imperative, anywhere)
|
|
364
364
|
|
|
365
365
|
```ts
|
|
366
|
-
import AcousticConnectRN from 'react-native-acoustic-connect-beta'
|
|
366
|
+
import AcousticConnectRN, { TLTRN } from 'react-native-acoustic-connect-beta'
|
|
367
367
|
|
|
368
368
|
// Custom application event (flat key/value pairs)
|
|
369
369
|
AcousticConnectRN.logCustomEvent('checkout_started', { cartId: 'abc' }, 1)
|
|
@@ -377,8 +377,12 @@ AcousticConnectRN.logSignal(
|
|
|
377
377
|
1
|
|
378
378
|
)
|
|
379
379
|
|
|
380
|
-
// Force a logical screen name (e.g. for non-NavigationContainer screens)
|
|
380
|
+
// Force a logical screen name (e.g. for non-NavigationContainer screens).
|
|
381
|
+
// Sets the name that later events are attributed to — it does not itself emit
|
|
382
|
+
// a screen view or capture a layout. For a screen <Connect> cannot see, follow
|
|
383
|
+
// it with logScreenLayout, which does both.
|
|
381
384
|
AcousticConnectRN.setCurrentScreenName('CheckoutScreen')
|
|
385
|
+
TLTRN.logScreenLayout('CheckoutScreen')
|
|
382
386
|
|
|
383
387
|
// Manual exception capture
|
|
384
388
|
AcousticConnectRN.logExceptionEvent(
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"IpPlaceholder": "N/A",
|
|
25
25
|
"KillSwitchAsync": true,
|
|
26
26
|
"KillSwitchDelay": 300,
|
|
27
|
-
"LibraryVersion": "11.0.
|
|
27
|
+
"LibraryVersion": "11.0.31-beta",
|
|
28
28
|
"LogFullRequestResponsePayloads": true,
|
|
29
29
|
"MessageTypeHeader": "WorklightHit",
|
|
30
30
|
"MessageTypes": "4,5",
|
|
@@ -912,12 +912,6 @@ class HybridAcousticConnectRN : HybridAcousticConnectRNSpec(),
|
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
/**
|
|
916
|
-
* Requests that the framework save the current application page name.
|
|
917
|
-
*
|
|
918
|
-
* @param logicalPageName The logical page name to be set.
|
|
919
|
-
* @return True if the operation was successful, false otherwise.
|
|
920
|
-
*/
|
|
921
915
|
/**
|
|
922
916
|
* Whether the bridge may touch capture at all.
|
|
923
917
|
*
|
|
@@ -926,7 +920,7 @@ class HybridAcousticConnectRN : HybridAcousticConnectRNSpec(),
|
|
|
926
920
|
* `<Connect>` only advances the current screen name. On Android the same
|
|
927
921
|
* component also drives capture explicitly on every navigation
|
|
928
922
|
* (`logScreenViewPageName` + `logScreenLayout`), and those paths used to run
|
|
929
|
-
* regardless of the flag: `setCurrentScreenName`
|
|
923
|
+
* regardless of the flag: `setCurrentScreenName` called through to
|
|
930
924
|
* `Tealeaf.resumeTealeaf`, which resumes logging, and `logScreenLayout`
|
|
931
925
|
* captured a full layout. The net effect was that `disable()` silenced
|
|
932
926
|
* capture on iOS but not on Android, for an app doing nothing unusual.
|
|
@@ -936,11 +930,60 @@ class HybridAcousticConnectRN : HybridAcousticConnectRNSpec(),
|
|
|
936
930
|
*/
|
|
937
931
|
private fun isCaptureAllowed(): Boolean = Connect.isEnabled()
|
|
938
932
|
|
|
933
|
+
/**
|
|
934
|
+
* Requests that the framework save the current application page name.
|
|
935
|
+
*
|
|
936
|
+
* Sets the name and nothing else, which is what the name promises and what
|
|
937
|
+
* iOS has always done — `TLFApplicationHelper.setCurrentScreenName:` just
|
|
938
|
+
* assigns `TLFScreenViewManager`'s current screen view name.
|
|
939
|
+
*
|
|
940
|
+
* `<Connect>` calls this on every touch: `onStartShouldSetResponderCapture`
|
|
941
|
+
* needs the name current so the click that follows is attributed to the
|
|
942
|
+
* right screen. It therefore has to be cheap, and on Android it was not. It
|
|
943
|
+
* used to be `Connect.resumeConnect` → `Tealeaf.resumeTealeaf`, which does
|
|
944
|
+
* four things at once: sets the name, emits a screenview LOAD, re-arms
|
|
945
|
+
* capture, and **captures a full screen layout**. Only the first is wanted
|
|
946
|
+
* here. The layout put a message of tens to hundreds of KB on the wire per
|
|
947
|
+
* tap on Android, where the same call on iOS sends nothing.
|
|
948
|
+
*
|
|
949
|
+
* That volume is not merely wasteful. EOCore's disk cache holds at most
|
|
950
|
+
* `MaxNumberOfFilesToCache` (5) chunks between post cycles and silently
|
|
951
|
+
* discards the rest while posting is healthy, so a tap-heavy screen loses
|
|
952
|
+
* whole batches: in a customer session, a `DeliveryOptionsScreen` LOAD and
|
|
953
|
+
* the first 8 s of capture on it went missing that way.
|
|
954
|
+
*
|
|
955
|
+
* Dropping the re-arm with it is safe, and was verified on-device rather
|
|
956
|
+
* than assumed: `logScreenLayout` below still calls `resumeConnect` on
|
|
957
|
+
* every navigation and on first paint, which arms capture before any touch
|
|
958
|
+
* can reach this method. Measured on the bare-workflow sample, twelve taps
|
|
959
|
+
* on one screen went from 21 layout messages (586 KB) to 4 (67 KB) with all
|
|
960
|
+
* twelve clicks still captured.
|
|
961
|
+
*
|
|
962
|
+
* Screenview and layout belong to the navigation path, which goes through
|
|
963
|
+
* `logScreenLayout` below and is unchanged.
|
|
964
|
+
*
|
|
965
|
+
* @param logicalPageName The logical page name to be set.
|
|
966
|
+
* @return True if the operation was successful, false otherwise.
|
|
967
|
+
*/
|
|
939
968
|
override fun setCurrentScreenName(logicalPageName: String): Boolean {
|
|
940
|
-
//
|
|
969
|
+
// Nothing should advance capture state while disabled. Cheaper than it
|
|
970
|
+
// was — this no longer captures a layout — but still the wrong thing to
|
|
971
|
+
// do behind a `disable()`.
|
|
941
972
|
if (!isCaptureAllowed()) return false
|
|
942
|
-
|
|
943
|
-
|
|
973
|
+
// Guarded because of where this runs, not because the call is expected to
|
|
974
|
+
// fail: `<Connect>` invokes it from `onStartShouldSetResponderCapture`, so
|
|
975
|
+
// this is the one bridge method on the per-touch path. An exception out of
|
|
976
|
+
// the SDK here would surface inside React's responder negotiation on every
|
|
977
|
+
// tap, taking touch handling down with it. Report the failure instead — the
|
|
978
|
+
// click that follows is then attributed to the previous screen, which is
|
|
979
|
+
// wrong but survivable.
|
|
980
|
+
return try {
|
|
981
|
+
Connect.setCurrentLogicalPageName(logicalPageName)
|
|
982
|
+
true
|
|
983
|
+
} catch (e: Exception) {
|
|
984
|
+
Log.v(TAG, "setCurrentScreenName error: ${e.message}")
|
|
985
|
+
false
|
|
986
|
+
}
|
|
944
987
|
}
|
|
945
988
|
|
|
946
989
|
/**
|
|
@@ -992,13 +1035,17 @@ class HybridAcousticConnectRN : HybridAcousticConnectRNSpec(),
|
|
|
992
1035
|
override fun logScreenLayout(name: String, delay: Double): Boolean {
|
|
993
1036
|
// The wrapper calls this on every Android navigation.
|
|
994
1037
|
if (!isCaptureAllowed()) return false
|
|
995
|
-
//
|
|
1038
|
+
// Resume explicitly rather than via `setCurrentScreenName`, which now only
|
|
1039
|
+
// sets the name. Navigation is where resuming belongs: `resumeTealeaf`
|
|
1040
|
+
// re-enables capture for the screen being entered (`_isCaptureScreenContentsEnabled`)
|
|
1041
|
+
// after a `pauseTealeaf`, honouring the screen's layout config. Calling it
|
|
1042
|
+
// here keeps this path byte-identical to what it did before that split.
|
|
1043
|
+
//
|
|
1044
|
+
// The result is advisory on purpose: a false means the resume did not take,
|
|
996
1045
|
// which is not a reason to skip the screenview and layout that follow — they
|
|
997
1046
|
// are what the caller asked for. Treating it as fatal would suppress capture
|
|
998
|
-
// in cases that capture fine today.
|
|
999
|
-
|
|
1000
|
-
// stays safe for callers that reach it directly.
|
|
1001
|
-
setCurrentScreenName(name)
|
|
1047
|
+
// in cases that capture fine today.
|
|
1048
|
+
resumeConnect(getCurrentActivity(), name, false)
|
|
1002
1049
|
// The 3-arg overload takes a nullable Activity, so this one is safe to pass
|
|
1003
1050
|
// through — unlike the 4-arg overload the context methods use.
|
|
1004
1051
|
logScreenview(getCurrentActivity(), name, ScreenviewType.LOAD)
|
|
@@ -217,6 +217,18 @@ export interface AcousticConnectRN extends HybridObject<{
|
|
|
217
217
|
logLocationWithLatitudeLongitude(latitude: number, longitude: number, level: number): boolean;
|
|
218
218
|
logClickEvent(target: number, controlId: string): boolean;
|
|
219
219
|
logTextChangeEvent(target: number, controlId: string, text: string | null | undefined): boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Sets the logical screen name subsequent events are attributed to.
|
|
222
|
+
*
|
|
223
|
+
* Sets the name and nothing else — no screenview, no layout capture — on
|
|
224
|
+
* both platforms. `<Connect>` calls this on every touch so the click that
|
|
225
|
+
* follows lands on the right screen, so it has to stay cheap.
|
|
226
|
+
*
|
|
227
|
+
* Android used to route it through `Connect.resumeConnect`, which also
|
|
228
|
+
* emitted a screenview and captured a full layout, putting tens to hundreds
|
|
229
|
+
* of KB on the wire per tap where iOS sent none. Use `logScreenLayout` when
|
|
230
|
+
* a layout capture is what you want.
|
|
231
|
+
*/
|
|
220
232
|
setCurrentScreenName(logicalPageName: string): boolean;
|
|
221
233
|
logScreenViewContextLoad(logicalPageName: string | null | undefined, referrer: string | null | undefined): boolean;
|
|
222
234
|
logScreenViewContextUnload(logicalPageName: string | null | undefined, referrer: string | null | undefined): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-native-acoustic-connect.nitro.d.ts","sourceRoot":"","sources":["../../../../src/specs/react-native-acoustic-connect.nitro.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAG3E,MAAM,MAAM,cAAc,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAA;AAEjC,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC1B,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAA;CAClB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAoB;IACjC,gEAAgE;IAChE,OAAO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BAA2B,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAE7F;;;;;;;OAOG;IACH,qBAAqB,IAAI,OAAO,CAAC,oBAAoB,CAAC,CAAA;IAEtD;;;;OAIG;IACH,sBAAsB,IAAI,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;CACpD"}
|
|
1
|
+
{"version":3,"file":"react-native-acoustic-connect.nitro.d.ts","sourceRoot":"","sources":["../../../../src/specs/react-native-acoustic-connect.nitro.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAG3E,MAAM,MAAM,cAAc,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAA;AAEjC,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,iBAAiB,GAAG,MAAM,CAAA;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC1B,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAA;CAClB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,oBAAoB;IACjC,gEAAgE;IAChE,OAAO,EAAE,OAAO,CAAA;IAChB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,YAAY,CAAC;IAAE,GAAG,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAA;CAAE,CAAC;IACxF;;;;;;;;;;;;;;;;;;;;;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AI,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;CACpD"}
|
package/package.json
CHANGED
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"source": "src/index",
|
|
228
228
|
"summary": "react-native ios android tealeaf connect cxa wxca er enhanced-replay",
|
|
229
229
|
"types": "./lib/typescript/src/index.d.ts",
|
|
230
|
-
"version": "19.0.
|
|
230
|
+
"version": "19.0.30",
|
|
231
231
|
"workspaces": [
|
|
232
232
|
"example",
|
|
233
233
|
"Examples/bare-workflow"
|
|
@@ -235,6 +235,18 @@ export interface AcousticConnectRN extends HybridObject<{ ios: 'swift', android:
|
|
|
235
235
|
logLocationWithLatitudeLongitude(latitude: number, longitude: number, level: number): boolean
|
|
236
236
|
logClickEvent(target: number, controlId: string): boolean
|
|
237
237
|
logTextChangeEvent(target: number, controlId: string, text: string | null | undefined): boolean
|
|
238
|
+
/**
|
|
239
|
+
* Sets the logical screen name subsequent events are attributed to.
|
|
240
|
+
*
|
|
241
|
+
* Sets the name and nothing else — no screenview, no layout capture — on
|
|
242
|
+
* both platforms. `<Connect>` calls this on every touch so the click that
|
|
243
|
+
* follows lands on the right screen, so it has to stay cheap.
|
|
244
|
+
*
|
|
245
|
+
* Android used to route it through `Connect.resumeConnect`, which also
|
|
246
|
+
* emitted a screenview and captured a full layout, putting tens to hundreds
|
|
247
|
+
* of KB on the wire per tap where iOS sent none. Use `logScreenLayout` when
|
|
248
|
+
* a layout capture is what you want.
|
|
249
|
+
*/
|
|
238
250
|
setCurrentScreenName(logicalPageName: string): boolean
|
|
239
251
|
logScreenViewContextLoad(logicalPageName: string | null | undefined, referrer:string | null | undefined): boolean
|
|
240
252
|
logScreenViewContextUnload(logicalPageName: string | null | undefined, referrer:string | null | undefined): boolean
|