@oneuptime/react-native-replay 17.1.0 → 17.3.0

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/README.md CHANGED
@@ -11,6 +11,9 @@ capturing screenshots or readable native text.
11
11
  - React Native 0.73 or newer.
12
12
  - `@react-native-async-storage/async-storage` installed in the application.
13
13
  - A OneUptime RUM application with session replay enabled.
14
+ - An ingestion key: the app's **Mobile** key, the one its OpenTelemetry SDK
15
+ already sends with, or a **Browser** key that lists the app as
16
+ `app://com.example.yourapp`.
14
17
  - The Android application ID or iOS bundle ID added to that application's
15
18
  replay origin allowlist as `app://com.example.yourapp`.
16
19
 
@@ -57,7 +60,10 @@ export default function App() {
57
60
  `mobileAppIdentifier` is the installed binary's Android `applicationId` or
58
61
  iOS bundle identifier. It is canonicalized to lowercase and must contain at
59
62
  least two reverse-DNS labels. `appIdentifier` is the OneUptime RUM application
60
- identifier; the two identifiers are intentionally different.
63
+ identifier; the two identifiers are intentionally different. With a Mobile
64
+ key, `appIdentifier` is the key's Pinned Service Name: a Mobile key records
65
+ only the app it is pinned to, and a recording for any other application is
66
+ refused with a `422`.
61
67
 
62
68
  For manual lifecycle control, omit `options` from the provider and use the
63
69
  singleton:
package/dist/index.cjs CHANGED
@@ -99,7 +99,7 @@ var SESSION_REPLAY_MAX_OFFLINE_DELAY_MS = 3 * 24 * 60 * 60 * 1e3;
99
99
  var MOBILE_CAPTURE_INTERVAL_MS = 500;
100
100
  var MOBILE_RECORDER_KIND = "rn-view-tree";
101
101
  var SYNTHETIC_RRWEB_VERSION = "synthetic-1";
102
- var RECORDER_VERSION = true ? "17.1.0" : "0.0.0-dev";
102
+ var RECORDER_VERSION = true ? "17.3.0" : "0.0.0-dev";
103
103
  var SESSION_REPLAY_MOBILE_RECORDER_CAPABILITIES = [
104
104
  "mobile-view-tree",
105
105
  "mobile-touch-events",
package/dist/index.js CHANGED
@@ -60,7 +60,7 @@ var SESSION_REPLAY_MAX_OFFLINE_DELAY_MS = 3 * 24 * 60 * 60 * 1e3;
60
60
  var MOBILE_CAPTURE_INTERVAL_MS = 500;
61
61
  var MOBILE_RECORDER_KIND = "rn-view-tree";
62
62
  var SYNTHETIC_RRWEB_VERSION = "synthetic-1";
63
- var RECORDER_VERSION = true ? "17.1.0" : "0.0.0-dev";
63
+ var RECORDER_VERSION = true ? "17.3.0" : "0.0.0-dev";
64
64
  var SESSION_REPLAY_MOBILE_RECORDER_CAPABILITIES = [
65
65
  "mobile-view-tree",
66
66
  "mobile-touch-events",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneuptime/react-native-replay",
3
- "version": "17.1.0",
3
+ "version": "17.3.0",
4
4
  "description": "Privacy-first OneUptime session replay recorder for React Native applications.",
5
5
  "repository": {
6
6
  "type": "git",