@upscopeio/react-native-sdk 2026.4.2 → 2026.6.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
@@ -17,16 +17,11 @@ npm install @upscopeio/react-native-sdk
17
17
 
18
18
  ### iOS
19
19
 
20
- 1. **Add UpscopeSDK via SPM** In Xcode, go to your project > Package Dependencies > `+` and add:
21
- ```
22
- https://github.com/upscopeio/cobrowsing-ios
23
- ```
24
- Set version to `~> 1.0`.
20
+ Run `pod install` — the native UpscopeSDK is linked automatically via this SDK's podspec dependency, so its version always matches the published package. No extra steps.
25
21
 
26
- 2. **Install pods** (for the RN bridge module):
27
- ```bash
28
- cd ios && pod install
29
- ```
22
+ ```bash
23
+ cd ios && pod install
24
+ ```
30
25
 
31
26
  By default the SDK shares only your app's UI. To let agents view the visitor's
32
27
  **entire device**, see [Full device sharing (iOS)](#full-device-sharing-ios).
@@ -192,11 +187,11 @@ useEffect(() => {
192
187
  | `sessionStateChanged` | `SessionStateChangedEvent` | Session state transitioned (current-value)|
193
188
  | `sessionStarted` | `SessionStartedEvent` | Agent joined and session is active |
194
189
  | `sessionEnded` | `SessionEndedEvent` | Session ended (includes reason) |
195
- | `customMessageReceived` | `CustomMessageEvent` | Arbitrary string from an observer |
190
+ | `customMessageReceived` | `CustomMessageEvent` | Arbitrary string from a viewer |
196
191
  | `error` | `UpscopeError` | Non-fatal SDK error |
197
- | `observerJoined` | `Observer` | New observer connected |
198
- | `observerLeft` | `ObserverLeftEvent` | Observer disconnected |
199
- | `observerCountChanged` | `ObserverCountChangedEvent` | Total observer count changed |
192
+ | `viewerJoined` | `Viewer` | New viewer connected |
193
+ | `viewerLeft` | `ViewerLeftEvent` | Viewer disconnected |
194
+ | `viewerCountChanged` | `ViewerCountChangedEvent` | Total viewer count changed |
200
195
  | `shortIdChanged` | `ShortIdChangedEvent` | Short ID assigned or rotated |
201
196
  | `lookupCodeChanged` | `LookupCodeChangedEvent` | Lookup code issued or changed |
202
197
  | `remoteControlStateChanged` | `RemoteControlStateChangedEvent` | Agent gained or lost remote control |
@@ -380,7 +375,7 @@ Upscope.initialize({
380
375
 
381
376
  | Method | Description |
382
377
  | ----------------------------------- | --------------------------------------------------- |
383
- | `sendCustomMessage(message)` | Send a string to all connected observers. |
378
+ | `sendCustomMessage(message)` | Send a string to all connected viewers. |
384
379
 
385
380
  ### Events
386
381
 
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.SDK_VERSION = void 0;
7
7
  // Auto-generated by scripts/generate-version.sh — do not edit manually
8
- const SDK_VERSION = exports.SDK_VERSION = "2026.4.2";
8
+ const SDK_VERSION = exports.SDK_VERSION = "2026.6.0";
9
9
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // Auto-generated by scripts/generate-version.sh — do not edit manually
4
- export const SDK_VERSION = "2026.4.2";
4
+ export const SDK_VERSION = "2026.6.0";
5
5
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2026.4.2";
1
+ export declare const SDK_VERSION = "2026.6.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upscopeio/react-native-sdk",
3
- "version": "2026.4.2",
3
+ "version": "2026.6.0",
4
4
  "description": "React Native SDK for Upscope cobrowsing",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Auto-generated by scripts/generate-version.sh — do not edit manually
2
- export const SDK_VERSION = "2026.4.2";
2
+ export const SDK_VERSION = "2026.6.0";