@upscopeio/react-native-sdk 2026.4.2 → 2026.6.1
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 +9 -14
- package/lib/commonjs/version.js +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/version.ts +1 -1
- package/upscopeio-react-native-sdk.podspec +1 -1
package/README.md
CHANGED
|
@@ -17,16 +17,11 @@ npm install @upscopeio/react-native-sdk
|
|
|
17
17
|
|
|
18
18
|
### iOS
|
|
19
19
|
|
|
20
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
|
190
|
+
| `customMessageReceived` | `CustomMessageEvent` | Arbitrary string from a viewer |
|
|
196
191
|
| `error` | `UpscopeError` | Non-fatal SDK error |
|
|
197
|
-
| `
|
|
198
|
-
| `
|
|
199
|
-
| `
|
|
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
|
|
378
|
+
| `sendCustomMessage(message)` | Send a string to all connected viewers. |
|
|
384
379
|
|
|
385
380
|
### Events
|
|
386
381
|
|
package/lib/commonjs/version.js
CHANGED
|
@@ -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.
|
|
8
|
+
const SDK_VERSION = exports.SDK_VERSION = "2026.6.1";
|
|
9
9
|
//# sourceMappingURL=version.js.map
|
package/lib/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2026.
|
|
1
|
+
export declare const SDK_VERSION = "2026.6.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
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.
|
|
2
|
+
export const SDK_VERSION = "2026.6.1";
|