@robono/calling-react-native 0.9.0 → 0.9.2
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 +9 -1
- package/SBOM.spdx.json +21 -21
- package/dist/appearance.js +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +13 -3
- package/dist/recording.js +1 -1
- package/dist/versions.d.ts +2 -2
- package/dist/versions.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
## 0.
|
|
1
|
+
## 0.9.2
|
|
2
|
+
|
|
3
|
+
Older saved appearances default optional video-background labels without blocking ordinary calling. iPhone incoming-call cleanup leaves the system-owned audio session alone, including hangup cues and a following incoming call.
|
|
4
|
+
|
|
5
|
+
## 0.9.1
|
|
6
|
+
|
|
7
|
+
- Expose the caption checkbox state to browser assistive tools when the shared call controls render on the web. Native checked-state behavior is preserved.
|
|
2
8
|
|
|
3
9
|
## 0.9.0
|
|
4
10
|
|
|
5
11
|
Adds supplied recording/caption controls, local camera/microphone/speaker checks and on-device background blur for iPhone and Android. Native rebuild required for blur. Presentation-only installations keep WebRTC optional.
|
|
6
12
|
|
|
13
|
+
## 0.8.0
|
|
14
|
+
|
|
7
15
|
Add an optional on-demand connection-details panel for direct and group calls, with foreground-only sampling and cleanup.
|
|
8
16
|
|
|
9
17
|
## 0.7.0 — release candidate
|
package/SBOM.spdx.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "@robono/calling-react-native@0.9.
|
|
6
|
-
"documentNamespace": "https://robono.com/sbom/calling-react-native/0.9.
|
|
5
|
+
"name": "@robono/calling-react-native@0.9.2",
|
|
6
|
+
"documentNamespace": "https://robono.com/sbom/calling-react-native/0.9.2/9cd3feebd8f092f1a29c7be45ee6dae225bba1e7",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-11-
|
|
8
|
+
"created": "2026-11-06T08:38:17.048Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Organization: Robono (support@robono.com)"
|
|
11
11
|
]
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
{
|
|
15
15
|
"name": "@robono/calling-react-native",
|
|
16
16
|
"SPDXID": "SPDXRef-Package",
|
|
17
|
-
"versionInfo": "0.9.
|
|
17
|
+
"versionInfo": "0.9.2",
|
|
18
18
|
"downloadLocation": "NOASSERTION",
|
|
19
19
|
"filesAnalyzed": true,
|
|
20
20
|
"packageVerificationCode": {
|
|
21
|
-
"packageVerificationCodeValue": "
|
|
21
|
+
"packageVerificationCodeValue": "9cd3feebd8f092f1a29c7be45ee6dae225bba1e7"
|
|
22
22
|
},
|
|
23
23
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
24
24
|
"licenseDeclared": "LicenseRef-RobonoSDK",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"checksums": [
|
|
37
37
|
{
|
|
38
38
|
"algorithm": "SHA256",
|
|
39
|
-
"checksumValue": "
|
|
39
|
+
"checksumValue": "d7ef80202def5a1bc19217ec5acf853f9694f426811635213da0521b7f3a2407"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"algorithm": "SHA1",
|
|
43
|
-
"checksumValue": "
|
|
43
|
+
"checksumValue": "21ccad285fa013fa743fcd174a8047ced2cf72c0"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
46
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -5204,11 +5204,11 @@
|
|
|
5204
5204
|
"checksums": [
|
|
5205
5205
|
{
|
|
5206
5206
|
"algorithm": "SHA256",
|
|
5207
|
-
"checksumValue": "
|
|
5207
|
+
"checksumValue": "c03e6d74591492d164f83ae9b7c462b4fae85e9388af886a7f3abdea3bf9cdbe"
|
|
5208
5208
|
},
|
|
5209
5209
|
{
|
|
5210
5210
|
"algorithm": "SHA1",
|
|
5211
|
-
"checksumValue": "
|
|
5211
|
+
"checksumValue": "9f08890910a7d2e8dee0fe40dd866b03e65f1cf4"
|
|
5212
5212
|
}
|
|
5213
5213
|
],
|
|
5214
5214
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -5907,11 +5907,11 @@
|
|
|
5907
5907
|
"checksums": [
|
|
5908
5908
|
{
|
|
5909
5909
|
"algorithm": "SHA256",
|
|
5910
|
-
"checksumValue": "
|
|
5910
|
+
"checksumValue": "e3b23b04e51556737be79fe8bbd6e22ffd39afcf2ae2d19422a130d9b65854e1"
|
|
5911
5911
|
},
|
|
5912
5912
|
{
|
|
5913
5913
|
"algorithm": "SHA1",
|
|
5914
|
-
"checksumValue": "
|
|
5914
|
+
"checksumValue": "304d430fdc8b3a76031a9a0cf80b3dea8d5311f1"
|
|
5915
5915
|
}
|
|
5916
5916
|
],
|
|
5917
5917
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -5926,11 +5926,11 @@
|
|
|
5926
5926
|
"checksums": [
|
|
5927
5927
|
{
|
|
5928
5928
|
"algorithm": "SHA256",
|
|
5929
|
-
"checksumValue": "
|
|
5929
|
+
"checksumValue": "8e08bbb6c9f06823326e5b7cefa06e3e983a48492e6d8a6bbbf788ad6c72e7a6"
|
|
5930
5930
|
},
|
|
5931
5931
|
{
|
|
5932
5932
|
"algorithm": "SHA1",
|
|
5933
|
-
"checksumValue": "
|
|
5933
|
+
"checksumValue": "9cf661292dfa5641872e2916f7724ff889cab342"
|
|
5934
5934
|
}
|
|
5935
5935
|
],
|
|
5936
5936
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -6040,11 +6040,11 @@
|
|
|
6040
6040
|
"checksums": [
|
|
6041
6041
|
{
|
|
6042
6042
|
"algorithm": "SHA256",
|
|
6043
|
-
"checksumValue": "
|
|
6043
|
+
"checksumValue": "1af5f7c9a610852e994d2052f5dc99719e2e138c7f80730e5c87df38cbedf18f"
|
|
6044
6044
|
},
|
|
6045
6045
|
{
|
|
6046
6046
|
"algorithm": "SHA1",
|
|
6047
|
-
"checksumValue": "
|
|
6047
|
+
"checksumValue": "f64e3f5a205170b854db72c032d63f843f075693"
|
|
6048
6048
|
}
|
|
6049
6049
|
],
|
|
6050
6050
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -6211,11 +6211,11 @@
|
|
|
6211
6211
|
"checksums": [
|
|
6212
6212
|
{
|
|
6213
6213
|
"algorithm": "SHA256",
|
|
6214
|
-
"checksumValue": "
|
|
6214
|
+
"checksumValue": "b486e725b3b7ab9062741d25d6f39fb05e6e24b87c16393dac301d3d22818b0a"
|
|
6215
6215
|
},
|
|
6216
6216
|
{
|
|
6217
6217
|
"algorithm": "SHA1",
|
|
6218
|
-
"checksumValue": "
|
|
6218
|
+
"checksumValue": "cfe3bb69805b4ebd26f015c4fa1448f856a54912"
|
|
6219
6219
|
}
|
|
6220
6220
|
],
|
|
6221
6221
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -6230,11 +6230,11 @@
|
|
|
6230
6230
|
"checksums": [
|
|
6231
6231
|
{
|
|
6232
6232
|
"algorithm": "SHA256",
|
|
6233
|
-
"checksumValue": "
|
|
6233
|
+
"checksumValue": "497fd07d4064be995ee0569283f80ae1b11cf529abe9c847b273de03906c5a6b"
|
|
6234
6234
|
},
|
|
6235
6235
|
{
|
|
6236
6236
|
"algorithm": "SHA1",
|
|
6237
|
-
"checksumValue": "
|
|
6237
|
+
"checksumValue": "5a29d1a4242cc482da1bb4bdae716d3951b47690"
|
|
6238
6238
|
}
|
|
6239
6239
|
],
|
|
6240
6240
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -6591,11 +6591,11 @@
|
|
|
6591
6591
|
"checksums": [
|
|
6592
6592
|
{
|
|
6593
6593
|
"algorithm": "SHA256",
|
|
6594
|
-
"checksumValue": "
|
|
6594
|
+
"checksumValue": "9bb228049fcdc5b8829428f70afdb7130008384e80424061de407afaa4cedd94"
|
|
6595
6595
|
},
|
|
6596
6596
|
{
|
|
6597
6597
|
"algorithm": "SHA1",
|
|
6598
|
-
"checksumValue": "
|
|
6598
|
+
"checksumValue": "6d93232a28ab3acde5e1addabb0c0cf7e99790d8"
|
|
6599
6599
|
}
|
|
6600
6600
|
],
|
|
6601
6601
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
package/dist/appearance.js
CHANGED
|
@@ -132,7 +132,7 @@ export function validateCallingAppearance(input) {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
for (const key of Object.keys(callingText)) {
|
|
135
|
-
const x = v.labels?.[key] ?? (['more', 'videoCall', 'incomingVideo', 'cameraOn', 'cameraOff', 'switchCamera', 'shareScreen', 'stopSharing', 'sharingScreen'].includes(key) ? callingText[key] : undefined);
|
|
135
|
+
const x = v.labels?.[key] ?? (['backgroundBlur', 'backgroundUnavailable', 'more', 'videoCall', 'incomingVideo', 'cameraOn', 'cameraOff', 'switchCamera', 'shareScreen', 'stopSharing', 'sharingScreen'].includes(key) ? callingText[key] : undefined);
|
|
136
136
|
if (typeof x !== "string" || !x.trim() ||
|
|
137
137
|
x.length >
|
|
138
138
|
([
|
package/dist/native.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { CallRuntime } from './runtime.js';
|
|
|
4
4
|
export interface NativeAdapterOptions {
|
|
5
5
|
systemCalling?: NativeSystemCallAudio;
|
|
6
6
|
appearance?: CallingAppearance;
|
|
7
|
-
/** Restore
|
|
7
|
+
/** Restore app-owned audio after a call. CallKit-owned iOS sessions are released by the system; the next playback/recording operation acquires its normal mode. */
|
|
8
8
|
restoreAudio(): Promise<void>;
|
|
9
9
|
onError(error: Error): void;
|
|
10
10
|
/** Default uses the person's system ringtone. Set 'robono' for the supplied chime. */
|
package/dist/native.js
CHANGED
|
@@ -102,7 +102,11 @@ export function createNativeCallAdapters(options) {
|
|
|
102
102
|
async play(kind, playback = {}) {
|
|
103
103
|
pause();
|
|
104
104
|
current = kind;
|
|
105
|
-
|
|
105
|
+
// CallKit owns incoming-call cues and its asynchronous end transition too.
|
|
106
|
+
// Playing/seeking an Expo end cue during that transition can fail with !pri.
|
|
107
|
+
if (Platform.OS === 'ios' && (systemSession || options.systemCalling?.active()))
|
|
108
|
+
return;
|
|
109
|
+
if (options.systemCalling?.active() && playback.event === 'incoming')
|
|
106
110
|
return;
|
|
107
111
|
if (playback.event === 'incoming' && !options.appearance && kind === 'ringing' && options.ringtone !== 'robono') {
|
|
108
112
|
InCallManager.startRingtone('_DEFAULT_', [0, 350, 900], 'ambient', 0);
|
|
@@ -125,7 +129,8 @@ export function createNativeCallAdapters(options) {
|
|
|
125
129
|
if (audioOwner !== owner)
|
|
126
130
|
return;
|
|
127
131
|
try {
|
|
128
|
-
|
|
132
|
+
const borrowedSystemSession = systemSession || (Platform.OS === 'ios' && options.systemCalling?.active());
|
|
133
|
+
if (!borrowedSystemSession)
|
|
129
134
|
InCallManager.stop();
|
|
130
135
|
systemSession = false;
|
|
131
136
|
session = '';
|
|
@@ -140,7 +145,12 @@ export function createNativeCallAdapters(options) {
|
|
|
140
145
|
await options.runtime?.end();
|
|
141
146
|
}
|
|
142
147
|
finally {
|
|
143
|
-
|
|
148
|
+
// We never changed Expo's mode for a CallKit-owned session. Restoring
|
|
149
|
+
// it here would replace the system session before didDeactivate, or
|
|
150
|
+
// while a following incoming call is already ringing. The next app
|
|
151
|
+
// playback/recording operation acquires its own normal audio mode.
|
|
152
|
+
if (!borrowedSystemSession)
|
|
153
|
+
await options.restoreAudio();
|
|
144
154
|
}
|
|
145
155
|
}
|
|
146
156
|
}
|
package/dist/recording.js
CHANGED
|
@@ -23,7 +23,7 @@ export function CallingRecordingControls() {
|
|
|
23
23
|
setFailure(true); }).finally(() => { if (mounted.current && current === operation.current)
|
|
24
24
|
setBusy(false); }); };
|
|
25
25
|
const button = (label, action, primary = false, interrupt = false) => _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: label, accessibilityState: { disabled: busy && !interrupt }, disabled: busy && !interrupt, onPress: action, style: { minHeight: 44, paddingHorizontal: 14, justifyContent: 'center', borderRadius: 12, backgroundColor: primary ? theme.accent : theme.control }, children: _jsx(Text, { style: [typography(15), { color: primary ? theme.background : theme.foreground, fontWeight: '600' }], children: label }) }, label);
|
|
26
|
-
return _jsxs(View, { testID: "calling-recording", style: { width: '100%', maxWidth: 480, alignSelf: 'center', paddingHorizontal: 12, paddingVertical: 6, gap: 6 }, children: [consent ? _jsxs(View, { style: { backgroundColor: theme.control, borderRadius: 16, padding: 14, gap: 8 }, children: [_jsx(Text, { style: [typography(17), { color: theme.foreground, fontWeight: '600' }], children: text.request }), _jsxs(Text, { style: [typography(14), { color: theme.secondary }], children: [text.notice, r?.transcribe ? ' ' + text.captionNotice : ''] }), _jsxs(View, { style: { flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }, children: [button(text.decline, () => run(() => controller.consent(false), true), false, true), button(text.allow, () => run(() => controller.consent(true)), true)] })] }) : active ? _jsxs(View, { style: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', gap: 10 }, children: [_jsx(View, { style: { width: 9, height: 9, borderRadius: 5, backgroundColor: r.state === 'recording' ? '#EE4848' : theme.accent } }), _jsx(Text, { accessibilityLiveRegion: "polite", style: [typography(15), { color: theme.foreground, flex: 1 }], children: r.state === 'recording' ? text.active : r.state === 'awaiting_consent' ? text.waiting : text.preparing }), button(text.stop, () => run(() => controller.stop(), true), false, true)] }) : _jsxs(_Fragment, { children: [r && ['complete', 'failed', 'declined', 'cancelled'].includes(r.state) && _jsx(Text, { accessibilityLiveRegion: "polite", style: [typography(14), { color: r.state === 'failed' ? theme.accent : theme.secondary, textAlign: 'center' }], children: r.state === 'complete' ? text.saved : r.state === 'failed' ? text.failed : r.state === 'declined' ? text.declined : text.cancelled }), choose ? _jsxs(View, { style: { backgroundColor: theme.control, borderRadius: 14, padding: 10, gap: 6 }, children: [_jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: text.close, onPress: () => setChoose(false), style: { alignSelf: 'flex-end', width: 44, height: 44, alignItems: 'center', justifyContent: 'center' }, children: _jsx(RobonoIcon, { name: "close", size: 22, color: theme.foreground }) }), _jsx(Text, { style: [typography(14), { color: theme.secondary }], children: text.notice }), snapshot.capabilities?.captions && _jsxs(Pressable, { accessibilityRole: "checkbox", accessibilityState: { checked: includeCaptions }, accessibilityLabel: text.captions, onPress: () => setIncludeCaptions(v => !v), style: { minHeight: 44, flexDirection: 'row', gap: 10, alignItems: 'center' }, children: [_jsx(View, { style: { width: 20, height: 20, borderWidth: 1, borderRadius: 4, borderColor: theme.accent, backgroundColor: includeCaptions ? theme.accent : 'transparent' } }), _jsx(Text, { style: [typography(14), { color: theme.foreground, flex: 1 }], children: text.captions })] }), _jsxs(View, { style: { flexDirection: 'row', gap: 8, justifyContent: 'center' }, children: [snapshot.capabilities?.audio !== false && button(text.audio, () => run(async () => { await controller.start({ mode: 'audio', transcribe: includeCaptions }); if (mounted.current)
|
|
26
|
+
return _jsxs(View, { testID: "calling-recording", style: { width: '100%', maxWidth: 480, alignSelf: 'center', paddingHorizontal: 12, paddingVertical: 6, gap: 6 }, children: [consent ? _jsxs(View, { style: { backgroundColor: theme.control, borderRadius: 16, padding: 14, gap: 8 }, children: [_jsx(Text, { style: [typography(17), { color: theme.foreground, fontWeight: '600' }], children: text.request }), _jsxs(Text, { style: [typography(14), { color: theme.secondary }], children: [text.notice, r?.transcribe ? ' ' + text.captionNotice : ''] }), _jsxs(View, { style: { flexDirection: 'row', gap: 8, justifyContent: 'flex-end' }, children: [button(text.decline, () => run(() => controller.consent(false), true), false, true), button(text.allow, () => run(() => controller.consent(true)), true)] })] }) : active ? _jsxs(View, { style: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center', gap: 10 }, children: [_jsx(View, { style: { width: 9, height: 9, borderRadius: 5, backgroundColor: r.state === 'recording' ? '#EE4848' : theme.accent } }), _jsx(Text, { accessibilityLiveRegion: "polite", style: [typography(15), { color: theme.foreground, flex: 1 }], children: r.state === 'recording' ? text.active : r.state === 'awaiting_consent' ? text.waiting : text.preparing }), button(text.stop, () => run(() => controller.stop(), true), false, true)] }) : _jsxs(_Fragment, { children: [r && ['complete', 'failed', 'declined', 'cancelled'].includes(r.state) && _jsx(Text, { accessibilityLiveRegion: "polite", style: [typography(14), { color: r.state === 'failed' ? theme.accent : theme.secondary, textAlign: 'center' }], children: r.state === 'complete' ? text.saved : r.state === 'failed' ? text.failed : r.state === 'declined' ? text.declined : text.cancelled }), choose ? _jsxs(View, { style: { backgroundColor: theme.control, borderRadius: 14, padding: 10, gap: 6 }, children: [_jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: text.close, onPress: () => setChoose(false), style: { alignSelf: 'flex-end', width: 44, height: 44, alignItems: 'center', justifyContent: 'center' }, children: _jsx(RobonoIcon, { name: "close", size: 22, color: theme.foreground }) }), _jsx(Text, { style: [typography(14), { color: theme.secondary }], children: text.notice }), snapshot.capabilities?.captions && _jsxs(Pressable, { accessibilityRole: "checkbox", "aria-checked": includeCaptions, accessibilityState: { checked: includeCaptions }, accessibilityLabel: text.captions, onPress: () => setIncludeCaptions(v => !v), style: { minHeight: 44, flexDirection: 'row', gap: 10, alignItems: 'center' }, children: [_jsx(View, { style: { width: 20, height: 20, borderWidth: 1, borderRadius: 4, borderColor: theme.accent, backgroundColor: includeCaptions ? theme.accent : 'transparent' } }), _jsx(Text, { style: [typography(14), { color: theme.foreground, flex: 1 }], children: text.captions })] }), _jsxs(View, { style: { flexDirection: 'row', gap: 8, justifyContent: 'center' }, children: [snapshot.capabilities?.audio !== false && button(text.audio, () => run(async () => { await controller.start({ mode: 'audio', transcribe: includeCaptions }); if (mounted.current)
|
|
27
27
|
setChoose(false); }), true), state.kind === 'video' && snapshot.capabilities?.video !== false && button(text.video, () => run(async () => { await controller.start({ mode: 'video', transcribe: includeCaptions }); if (mounted.current)
|
|
28
28
|
setChoose(false); }), true)] })] }) : state.phase === 'connected' && snapshot.capabilities?.available === true && _jsxs(Pressable, { accessibilityRole: "button", accessibilityLabel: text.record, onPress: () => setChoose(true), style: { minHeight: 44, alignItems: 'center', justifyContent: 'center', flexDirection: 'row', gap: 8 }, children: [_jsx(RobonoIcon, { name: "circle-dot", size: 20, color: theme.foreground }), _jsx(Text, { style: [typography(14), { color: theme.foreground }], children: text.record })] })] }), r?.transcript?.captions.length ? _jsx(View, { accessibilityLiveRegion: "polite", style: { backgroundColor: '#111111dd', borderRadius: 12, padding: 10, gap: 4 }, children: r.transcript.captions.slice(-2).map(caption => _jsxs(Text, { numberOfLines: 3, style: [typography(16), { color: '#ffffff' }], children: [state.groupMembers?.find(m => m.id === caption.participant)?.name ?? (caption.participant === own ? text.you : state.contact?.name ?? text.caller), ": ", caption.text] }, caption.participant + ':' + caption.sequence)) }) : null, r?.transcript?.state === 'unavailable' && _jsx(Text, { accessibilityRole: "alert", style: [typography(14), { color: theme.secondary }], children: text.captionUnavailable }), (failure || snapshot.error) && _jsx(Text, { accessibilityRole: "alert", style: [typography(14), { color: theme.accent, textAlign: 'center' }], children: text.error })] });
|
|
29
29
|
}
|
package/dist/versions.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const mobileVersion = "0.9.
|
|
2
|
-
export declare const engineVersion = "0.6.
|
|
1
|
+
export declare const mobileVersion = "0.9.2";
|
|
2
|
+
export declare const engineVersion = "0.6.1";
|
package/dist/versions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated from the package manifests by build.mjs.
|
|
2
|
-
export const mobileVersion = "0.9.
|
|
3
|
-
export const engineVersion = "0.6.
|
|
2
|
+
export const mobileVersion = "0.9.2";
|
|
3
|
+
export const engineVersion = "0.6.1";
|