@robono/messaging-react-native 0.25.0 → 0.25.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/CHANGELOG.md +4 -0
- package/README.md +2 -0
- package/SBOM.spdx.json +18 -18
- package/dist/expo-connected-calling.d.ts +1 -0
- package/dist/expo-connected-calling.js +13 -2
- package/dist/expo-messenger.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.25.1
|
|
4
|
+
|
|
5
|
+
- Sync applied website calling logos automatically. Preserve cached branding for locked iPhone calls, support removal and account changes, and refresh without interrupting active calls. Older apps need one SDK update; subsequent logo changes require no rebuild.
|
|
6
|
+
|
|
3
7
|
## 0.25.0 — 2026-11-15
|
|
4
8
|
|
|
5
9
|
- Add authorized local recent history and saved previews, assigned review/monitoring, and shared backup adapters on iPhone and Android.
|
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Optional Robono messaging screens
|
|
2
2
|
|
|
3
|
+
Customers can upload an iPhone call icon in the website designer and save/apply their design. With this SDK and calling SDK 0.11.3+, branding syncs automatically when the app opens and stays cached for locked incoming calls. Existing apps need one native update; subsequent logo changes need no developer handoff or rebuild.
|
|
4
|
+
|
|
3
5
|
## Small interface customizations
|
|
4
6
|
|
|
5
7
|
Choose fonts, text size, message spacing and bubble shape in **Features & preview →
|
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/messaging-react-native@0.25.
|
|
6
|
-
"documentNamespace": "https://robono.com/sbom/messaging-react-native/0.25.
|
|
5
|
+
"name": "@robono/messaging-react-native@0.25.1",
|
|
6
|
+
"documentNamespace": "https://robono.com/sbom/messaging-react-native/0.25.1/7f3f66ee83b1ed2b87aa396dfbe5971a50c1260f",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-11-
|
|
8
|
+
"created": "2026-11-16T10:54:28.227Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Organization: Robono (support@robono.com)"
|
|
11
11
|
]
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
{
|
|
15
15
|
"name": "@robono/messaging-react-native",
|
|
16
16
|
"SPDXID": "SPDXRef-Package",
|
|
17
|
-
"versionInfo": "0.25.
|
|
17
|
+
"versionInfo": "0.25.1",
|
|
18
18
|
"downloadLocation": "NOASSERTION",
|
|
19
19
|
"filesAnalyzed": true,
|
|
20
20
|
"packageVerificationCode": {
|
|
21
|
-
"packageVerificationCodeValue": "
|
|
21
|
+
"packageVerificationCodeValue": "7f3f66ee83b1ed2b87aa396dfbe5971a50c1260f"
|
|
22
22
|
},
|
|
23
23
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
24
24
|
"licenseDeclared": "LicenseRef-RobonoSDK",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"LicenseRef-RobonoSDK"
|
|
27
27
|
],
|
|
28
28
|
"copyrightText": "Copyright (c) 2026 Add to Loop LLC.",
|
|
29
|
-
"comment": "Host-supplied peers (not bundled): {\"@robono/messaging\":\"^0.19.0\",\"react\":\">=18.2 <20\",\"react-native\":\">=0.76 <1\",\"expo-audio\":\">=55 <57\",\"expo-image-picker\":\">=55 <57\",\"expo-document-picker\":\">=55 <57\",\"expo-file-system\":\">=55.0.5 <57\",\"expo-sharing\":\">=55 <57\",\"expo-video\":\">=55 <57\",\"expo-crypto\":\">=55 <57\",\"react-native-safe-area-context\":\">=5 <6\",\"react-native-svg\":\">=15 <16\",\"@robono/calling-react-native\":\"^0.11.
|
|
29
|
+
"comment": "Host-supplied peers (not bundled): {\"@robono/messaging\":\"^0.19.0\",\"react\":\">=18.2 <20\",\"react-native\":\">=0.76 <1\",\"expo-audio\":\">=55 <57\",\"expo-image-picker\":\">=55 <57\",\"expo-document-picker\":\">=55 <57\",\"expo-file-system\":\">=55.0.5 <57\",\"expo-sharing\":\">=55 <57\",\"expo-video\":\">=55 <57\",\"expo-crypto\":\">=55 <57\",\"react-native-safe-area-context\":\">=5 <6\",\"react-native-svg\":\">=15 <16\",\"@robono/calling-react-native\":\"^0.11.3\",\"expo-clipboard\":\">=8 <57\",\"expo-image-manipulator\":\">=14 <57\",\"expo-video-thumbnails\":\">=14 <57\",\"react-native-webview\":\">=13 <14\",\"expo-blur\":\">=55 <57\",\"expo-notifications\":\">=55 <57\",\"expo-secure-store\":\">=55 <57\",\"@robono/location-react-native\":\"^0.4.2\",\"expo-location\":\">=55 <57\",\"expo-constants\":\">=55 <57\",\"@robono/location\":\"^0.4.1\",\"expo-haptics\":\">=55 <57\",\"@robono/calling\":\"^0.7.0\",\"expo-media-library\":\">=55 <57\",\"expo-task-manager\":\">=55.0.0 <57.0.0\",\"expo-application\":\">=55 <57\",\"react-native-passkey\":\"^3.6.2\",\"expo-background-task\":\">=55 <57\",\"expo-network\":\">=55 <57\"}"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"files": [
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"checksums": [
|
|
56
56
|
{
|
|
57
57
|
"algorithm": "SHA256",
|
|
58
|
-
"checksumValue": "
|
|
58
|
+
"checksumValue": "893adf6368992850aa840c7b223a2cc3b0a8c2a42326ddbbbe9b318f7d6610d6"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"algorithm": "SHA1",
|
|
62
|
-
"checksumValue": "
|
|
62
|
+
"checksumValue": "d71f008a6c9c489377ace92b48e1baba108b1a08"
|
|
63
63
|
}
|
|
64
64
|
],
|
|
65
65
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
"checksums": [
|
|
94
94
|
{
|
|
95
95
|
"algorithm": "SHA256",
|
|
96
|
-
"checksumValue": "
|
|
96
|
+
"checksumValue": "9db182066a643acb06cca8ff80e2785d234706eb3441f0fb6fdb3886e01f3ec3"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"algorithm": "SHA1",
|
|
100
|
-
"checksumValue": "
|
|
100
|
+
"checksumValue": "035274a694b6c44f00b9e92269a8f9fb57def239"
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
103
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -1689,11 +1689,11 @@
|
|
|
1689
1689
|
"checksums": [
|
|
1690
1690
|
{
|
|
1691
1691
|
"algorithm": "SHA256",
|
|
1692
|
-
"checksumValue": "
|
|
1692
|
+
"checksumValue": "d168d6cc0ce34ffc948ca104095d911f80c7c4ef56b0cb92908f27251d4912cb"
|
|
1693
1693
|
},
|
|
1694
1694
|
{
|
|
1695
1695
|
"algorithm": "SHA1",
|
|
1696
|
-
"checksumValue": "
|
|
1696
|
+
"checksumValue": "c04366297f0e04c03451ee0364ae1f104d230739"
|
|
1697
1697
|
}
|
|
1698
1698
|
],
|
|
1699
1699
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -1708,11 +1708,11 @@
|
|
|
1708
1708
|
"checksums": [
|
|
1709
1709
|
{
|
|
1710
1710
|
"algorithm": "SHA256",
|
|
1711
|
-
"checksumValue": "
|
|
1711
|
+
"checksumValue": "2bf70b2b302f992092bf69398b8697cbcf8d2f8c7d548d39995218de5b168850"
|
|
1712
1712
|
},
|
|
1713
1713
|
{
|
|
1714
1714
|
"algorithm": "SHA1",
|
|
1715
|
-
"checksumValue": "
|
|
1715
|
+
"checksumValue": "35b3af6d15e1586152cd426536a8cce86afd62f0"
|
|
1716
1716
|
}
|
|
1717
1717
|
],
|
|
1718
1718
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -2145,11 +2145,11 @@
|
|
|
2145
2145
|
"checksums": [
|
|
2146
2146
|
{
|
|
2147
2147
|
"algorithm": "SHA256",
|
|
2148
|
-
"checksumValue": "
|
|
2148
|
+
"checksumValue": "25147b2f220414b96aecfaff030325c3653465fd29e7780940077a4d93d598d9"
|
|
2149
2149
|
},
|
|
2150
2150
|
{
|
|
2151
2151
|
"algorithm": "SHA1",
|
|
2152
|
-
"checksumValue": "
|
|
2152
|
+
"checksumValue": "5a11611337c6876234657a32c0e3fa525eb30116"
|
|
2153
2153
|
}
|
|
2154
2154
|
],
|
|
2155
2155
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -5223,11 +5223,11 @@
|
|
|
5223
5223
|
"checksums": [
|
|
5224
5224
|
{
|
|
5225
5225
|
"algorithm": "SHA256",
|
|
5226
|
-
"checksumValue": "
|
|
5226
|
+
"checksumValue": "acbe88fc9b9b1cb1b1e83b7fa2f02938fd0c10d54205e2060947914b2bcd458f"
|
|
5227
5227
|
},
|
|
5228
5228
|
{
|
|
5229
5229
|
"algorithm": "SHA1",
|
|
5230
|
-
"checksumValue": "
|
|
5230
|
+
"checksumValue": "5f11574d719ef03a29f3f5c4a064c7a3b5627f5d"
|
|
5231
5231
|
}
|
|
5232
5232
|
],
|
|
5233
5233
|
"licenseConcluded": "LicenseRef-RobonoSDK",
|
|
@@ -27,6 +27,7 @@ export declare function createExpoMessengerCalling(options: {
|
|
|
27
27
|
dispose(): Promise<void>;
|
|
28
28
|
} | undefined;
|
|
29
29
|
start: () => Promise<void>;
|
|
30
|
+
refreshAppearance: () => Promise<void>;
|
|
30
31
|
getSnapshot: () => MessengerCallingState;
|
|
31
32
|
subscribe(fn: () => void): () => void;
|
|
32
33
|
isActive: () => boolean;
|
|
@@ -4,7 +4,7 @@ import { Text } from './typography.js';
|
|
|
4
4
|
import { callingText } from '@robono/calling-react-native/appearance';
|
|
5
5
|
import { useRobonoLocale } from './localization.js';
|
|
6
6
|
import { useEffect, useSyncExternalStore } from 'react';
|
|
7
|
-
import { Pressable, View } from 'react-native';
|
|
7
|
+
import { AppState, Pressable, View } from 'react-native';
|
|
8
8
|
import { setAudioModeAsync } from 'expo-audio';
|
|
9
9
|
import { createMessengerCalling } from '@robono/calling-react-native/messenger';
|
|
10
10
|
import { createNativeCallAdapters, createNativeCallDeviceCheck } from '@robono/calling-react-native/native';
|
|
@@ -18,6 +18,7 @@ export function createExpoMessengerCalling(options) {
|
|
|
18
18
|
let people = {};
|
|
19
19
|
const system = createNativeSystemCalling({ start: () => calling.start(), onError: () => calling.reportError('The incoming call could not connect. Open the app and check microphone access and your connection.') });
|
|
20
20
|
const calling = createMessengerCalling({
|
|
21
|
+
onAppearance: appearance => system.updateAppearance(appearance),
|
|
21
22
|
deviceCheck: active => createNativeCallDeviceCheck({ active, restoreAudio: () => setAudioModeAsync({ allowsRecording: false, playsInSilentMode: true, shouldPlayInBackground: false, shouldRouteThroughEarpiece: false, interruptionMode: 'mixWithOthers' }) }),
|
|
22
23
|
request: createMessagingTransport({ ...options, url: url.href }),
|
|
23
24
|
resolveContact: id => {
|
|
@@ -36,9 +37,19 @@ export function createExpoMessengerCalling(options) {
|
|
|
36
37
|
return { ...adapter, attach(value) { controller = value; const a = runtime.attach(value), b = system.attach(value); return () => { b(); a(); controller = undefined; }; }, dispose: runtime.dispose };
|
|
37
38
|
},
|
|
38
39
|
});
|
|
40
|
+
// Branding refresh is independent of call/session renewal, and never ends an
|
|
41
|
+
// active call. Stop polling in the background; locked launches use native cache.
|
|
42
|
+
let brandingTimer;
|
|
43
|
+
const refreshBranding = () => { void calling.refreshAppearance().catch(() => { }); };
|
|
44
|
+
const brandingState = (state) => { clearInterval(brandingTimer); if (state === 'active') {
|
|
45
|
+
refreshBranding();
|
|
46
|
+
brandingTimer = setInterval(refreshBranding, 60000);
|
|
47
|
+
} };
|
|
48
|
+
const brandingSubscription = AppState.addEventListener('change', brandingState);
|
|
49
|
+
brandingState(AppState.currentState);
|
|
39
50
|
return { ...calling, systemNotifications: system.notifications,
|
|
40
51
|
async notification(data, opened = false) { await system.receive(data); return calling.notification(data, opened); },
|
|
41
|
-
async dispose() { await system.dispose(); await calling.dispose(); },
|
|
52
|
+
async dispose() { brandingSubscription.remove(); clearInterval(brandingTimer); await system.dispose(); await calling.dispose(); },
|
|
42
53
|
updateContacts(next) { people = next; const names = {}; for (const row of options.inbox.getSnapshot().conversations) {
|
|
43
54
|
const person = next[row.contactId ?? ''];
|
|
44
55
|
const name = row.kind === 'group' ? row.name : person?.name;
|
package/dist/expo-messenger.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare function createExpoMessenger(options: {
|
|
|
65
65
|
dispose(): Promise<void>;
|
|
66
66
|
} | undefined;
|
|
67
67
|
start: () => Promise<void>;
|
|
68
|
+
refreshAppearance: () => Promise<void>;
|
|
68
69
|
getSnapshot: () => import("@robono/calling-react-native/messenger").MessengerCallingState;
|
|
69
70
|
subscribe(fn: () => void): () => void;
|
|
70
71
|
isActive: () => boolean;
|
|
@@ -110,6 +111,7 @@ export declare function createHostedExpoMessenger(options: Omit<Parameters<typeo
|
|
|
110
111
|
dispose(): Promise<void>;
|
|
111
112
|
} | undefined;
|
|
112
113
|
start: () => Promise<void>;
|
|
114
|
+
refreshAppearance: () => Promise<void>;
|
|
113
115
|
getSnapshot: () => import("@robono/calling-react-native/messenger").MessengerCallingState;
|
|
114
116
|
subscribe(fn: () => void): () => void;
|
|
115
117
|
isActive: () => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robono/messaging-react-native",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"./dist/expo-notification-cleanup.js"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"expo-crypto": ">=55 <57",
|
|
86
86
|
"react-native-safe-area-context": ">=5 <6",
|
|
87
87
|
"react-native-svg": ">=15 <16",
|
|
88
|
-
"@robono/calling-react-native": "^0.11.
|
|
88
|
+
"@robono/calling-react-native": "^0.11.3",
|
|
89
89
|
"expo-clipboard": ">=8 <57",
|
|
90
90
|
"expo-image-manipulator": ">=14 <57",
|
|
91
91
|
"expo-video-thumbnails": ">=14 <57",
|