@robono/messaging-react-native 0.11.0 → 0.12.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/CHANGELOG.md +8 -0
- package/README.md +38 -4
- package/SBOM.spdx.json +194 -98
- package/dist/account.d.ts +1 -0
- package/dist/account.js +1 -1
- package/dist/expo-media.js +18 -4
- package/dist/expo-messenger.d.ts +5 -0
- package/dist/expo-messenger.js +3 -3
- package/dist/expo-screen.d.ts +10 -2
- package/dist/expo-screen.js +15 -7
- package/dist/expo-thumbnails.d.ts +0 -1
- package/dist/expo-thumbnails.js +17 -26
- package/dist/expo.d.ts +1 -0
- package/dist/expo.js +1 -0
- package/dist/group-editor.d.ts +1 -0
- package/dist/group-editor.js +1 -1
- package/dist/inbox.d.ts +1 -0
- package/dist/inbox.js +2 -2
- package/dist/index.d.ts +10 -1
- package/dist/index.js +14 -12
- package/dist/media-controller.d.ts +9 -2
- package/dist/media-controller.js +15 -10
- package/dist/media-screening.js +9 -3
- package/dist/preview-cache.d.ts +24 -0
- package/dist/preview-cache.js +59 -0
- package/dist/recording-permission.d.ts +12 -0
- package/dist/recording-permission.js +34 -0
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
## 0.12.0 — unpublished candidate
|
|
2
|
+
|
|
3
|
+
Keep Android recording alive through microphone permission dialogs; process two bounded thumbnails concurrently with permission-safe reuse. Add authenticated host downloads and host-controlled links/addresses. Keep Expo 55 audio handling compatible. Add self-chat and consumer integration hooks, stable forwarded-message delivery states and group-invitation eligibility.
|
|
4
|
+
|
|
1
5
|
## 0.10.0 — release candidate
|
|
2
6
|
|
|
7
|
+
## 0.11.1
|
|
8
|
+
|
|
9
|
+
- Automatically install the shared calling UI package used by the account device-check panel, including chat-only installations. Native camera/calling dependencies remain optional.
|
|
10
|
+
|
|
3
11
|
## 0.11.0
|
|
4
12
|
|
|
5
13
|
Connects the supplied Messenger to recording/caption controls, on-device background blur and account device checks, using its existing call integration.
|
package/README.md
CHANGED
|
@@ -168,7 +168,21 @@ Install native dependencies with your Expo project's installer so their versions
|
|
|
168
168
|
npx expo install expo-audio expo-image-picker expo-document-picker expo-file-system expo-sharing expo-video expo-crypto react-native-safe-area-context react-native-svg
|
|
169
169
|
```
|
|
170
170
|
|
|
171
|
-
This entry targets Expo SDK 55–56; the core components do not require Expo.
|
|
171
|
+
This entry targets Expo SDK 55–56; the core components do not require Expo.
|
|
172
|
+
|
|
173
|
+
| Project | Supplied integration |
|
|
174
|
+
| --- | --- |
|
|
175
|
+
| Expo 55 or 56 | Use the `/expo` entry and `npx expo install` for matching native packages. |
|
|
176
|
+
| Expo 54 or earlier | The supplied Expo adapter is not supported. Upgrade Expo before running setup; do not force incompatible peer dependencies. |
|
|
177
|
+
| React Native without Expo | Use the core UI and documented device/storage adapters. The Expo version range does not apply to these components. |
|
|
178
|
+
|
|
179
|
+
The installer checks the Expo version before changing files. Pin the Robono version
|
|
180
|
+
in your lockfile and update through the setup command so required native changes
|
|
181
|
+
are reported. Optional calling and background movement require a rebuilt native
|
|
182
|
+
app; Expo Go does not include those modules. A successful package installation is
|
|
183
|
+
not a guarantee that unsupported Expo versions will work.
|
|
184
|
+
|
|
185
|
+
Configure the `expo-audio` plugin's `microphonePermission` with your app's explanation (for example, “Allow microphone access to record voice messages”). Keep background recording disabled. Native dependency or permission changes need a new development/store build; screen changes do not. The standard system photo picker does not require full photo-library access. Documents use the platform's file picker, without broad storage access.
|
|
172
186
|
|
|
173
187
|
```tsx
|
|
174
188
|
import {
|
|
@@ -257,7 +271,7 @@ import { MessagingCallingScreen } from '@robono/messaging-react-native/calling';
|
|
|
257
271
|
/>
|
|
258
272
|
```
|
|
259
273
|
|
|
260
|
-
The
|
|
274
|
+
The shared `@robono/calling-react-native` UI package is installed automatically, including for the account device-check panel. Native call media and notification adapters remain optional. Mount the calling overlay and configure native audio/notifications through the existing calling integration. This entry creates no call client and requests no permission. Omit `onCall` to hide the action; backend admission remains authoritative. `MessagingHeader` also accepts children for custom header actions.
|
|
261
275
|
|
|
262
276
|
The website preview renders the same bubbles, inline voice controls, full-screen photo/file viewer and video transport controls through React Native Web. Phone/tablet and portrait/landscape choices resize the real layout viewport without reloading the conversation. Browser media elements and Expo players drive the shared controls; the browser preview does not substitute native browser player controls or a generic dialog. Camera/library/file selection and OS permission prompts still follow the platform. Preview interactions never contact real users or send billable events.
|
|
263
277
|
|
|
@@ -419,8 +433,9 @@ sender. Times are stored in UTC and displayed in the device's current time zone.
|
|
|
419
433
|
Scheduling uploads selected attachments before confirming the queue; closing the
|
|
420
434
|
app does not prevent server delivery afterward. The selected time is approximate
|
|
421
435
|
to the minute. Current access, screening and spending rules still apply at send
|
|
422
|
-
time.
|
|
423
|
-
|
|
436
|
+
time. Stop a voice recording to stage it, then hold Send to schedule it just like
|
|
437
|
+
a photo, video or file. Poll creation sends immediately; custom composers can
|
|
438
|
+
schedule finalized content through the same API.
|
|
424
439
|
|
|
425
440
|
### Screen sharing in the complete messenger
|
|
426
441
|
|
|
@@ -457,3 +472,22 @@ Robono hosts optional call recording and transcription. Enable recording once in
|
|
|
457
472
|
The supplied adapters also offer camera/microphone/speaker checks and camera background blur. Screen sharing is separate. Phone blur requires rebuilding the native app; browser blur downloads its model only when selected and needs the documented content-security policy. Background processing stays on the device.
|
|
458
473
|
|
|
459
474
|
See the [recording and call tools guide](https://robono.com/guides/call-recording.html) for prices, retention, short-lived downloads, deletion, platform requirements and label customization. Captions arrive in short batches with several seconds of delay and can be inaccurate; incomplete transcripts are marked.
|
|
475
|
+
|
|
476
|
+
### Customer-controlled links, downloads and account actions
|
|
477
|
+
|
|
478
|
+
`linkHandling` can disable URLs/addresses independently or route their taps through
|
|
479
|
+
`openUrl(url, message)` / `openAddress(address, message)`. A disabled link renders
|
|
480
|
+
as ordinary text. Host overrides also suppress social/tracking shortcuts that
|
|
481
|
+
would otherwise bypass the host's navigation policy.
|
|
482
|
+
|
|
483
|
+
`onDownloadAttachment({file,message,signal})` changes the standard viewer's Download
|
|
484
|
+
action to a host-owned destination. Enable `appearance.showDownloadButton`. The
|
|
485
|
+
SDK rechecks access, supplies a private temporary file, and cleans it up afterward;
|
|
486
|
+
copy it to your destination before resolving the callback. Do not retain its URI
|
|
487
|
+
as a permanent saved file. Cancellation and permission changes still apply.
|
|
488
|
+
|
|
489
|
+
`ExpoMessenger` offers `onNewConversation` and `inboxOverlay` for a host-owned
|
|
490
|
+
contact picker using the exported `MessagingPopup`. Account callbacks include
|
|
491
|
+
`onEditProfile`, `onDeleteAccount`, and `onSignOut`; the host supplies its own
|
|
492
|
+
confirmation and account service. These optional callbacks do not grant service
|
|
493
|
+
permissions or delete an account by themselves.
|