@robono/messaging-react-native 0.12.0 → 0.14.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 +13 -1
- package/README.md +29 -4
- package/SBOM.spdx.json +618 -210
- package/dist/attachment-preview.d.ts +18 -0
- package/dist/attachment-preview.js +27 -0
- package/dist/composer-input.d.ts +5 -0
- package/dist/composer-input.js +13 -0
- package/dist/conversation-selector.d.ts +9 -0
- package/dist/conversation-selector.js +19 -0
- package/dist/expo-document.d.ts +7 -0
- package/dist/expo-document.js +50 -0
- package/dist/expo-media.js +5 -1
- package/dist/expo-messenger.d.ts +2 -0
- package/dist/expo-screen.d.ts +5 -1
- package/dist/expo-screen.js +67 -31
- package/dist/expo-thumbnails.d.ts +3 -1
- package/dist/expo-thumbnails.js +3 -1
- package/dist/expo.d.ts +1 -0
- package/dist/expo.js +1 -0
- package/dist/index.d.ts +23 -4
- package/dist/index.js +89 -41
- package/dist/keyboard-container.d.ts +10 -0
- package/dist/keyboard-container.js +18 -0
- package/dist/media-controller.d.ts +1 -0
- package/dist/media-controller.js +3 -2
- package/dist/media-ui.d.ts +4 -1
- package/dist/media-ui.js +5 -5
- package/dist/pdf-preview.d.ts +2 -0
- package/dist/pdf-preview.js +7 -0
- package/dist/pdf-renderer.generated.d.ts +1 -0
- package/dist/pdf-renderer.generated.js +2 -0
- package/dist/preview-cache.d.ts +1 -0
- package/dist/preview-cache.js +2 -0
- package/dist/sign-in.d.ts +76 -0
- package/dist/sign-in.js +46 -0
- package/dist/translation-settings.js +5 -3
- package/licenses/pdfjs-LICENSE +177 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
## 0.
|
|
1
|
+
## 0.14.0
|
|
2
|
+
|
|
3
|
+
Complete standard Messenger host controls, consistent incoming voice colors, bounded preview retry, private document preview, conversation selector, language policy and automatic embedded keyboard placement and multiline composer sizing.
|
|
4
|
+
|
|
5
|
+
Short-lived, message-scoped thumbnail grants avoid a second authorization trip; expired grants use the authenticated fallback and are excluded from offline history.
|
|
6
|
+
|
|
7
|
+
## 0.13.0
|
|
8
|
+
|
|
9
|
+
- Share the Messenger sign-in, country/phone controls and loading/recovery screen with website integrations.
|
|
10
|
+
- Require the messaging core update for direct hosted routing and clearer connection errors.
|
|
11
|
+
|
|
12
|
+
## 0.12.0
|
|
13
|
+
|
|
2
14
|
|
|
3
15
|
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
16
|
|
package/README.md
CHANGED
|
@@ -324,10 +324,7 @@ in `media.waveform`. The playback track remains seekable when the waveform is
|
|
|
324
324
|
hidden. Managed storage computes waveform data independently of this preference.
|
|
325
325
|
|
|
326
326
|
Groups offer polls; direct chats offer a recipient-only Yes/No question whose
|
|
327
|
-
first answer is final. Both use the same app-height popup frame as tracking and social previews.
|
|
328
|
-
`20261101017400_messaging_captions_questions.sql` and the updated messaging handler
|
|
329
|
-
before releasing these SDK changes. Deploy the updated media inspector before the
|
|
330
|
-
updated managed-media handler. These source changes have not been published.
|
|
327
|
+
first answer is final. Both use the same app-height popup frame as tracking and social previews. The hosted service supplies the required message and media support.
|
|
331
328
|
|
|
332
329
|
### Optional downloads in the viewer
|
|
333
330
|
|
|
@@ -491,3 +488,31 @@ contact picker using the exported `MessagingPopup`. Account callbacks include
|
|
|
491
488
|
`onEditProfile`, `onDeleteAccount`, and `onSignOut`; the host supplies its own
|
|
492
489
|
confirmation and account service. These optional callbacks do not grant service
|
|
493
490
|
permissions or delete an account by themselves.
|
|
491
|
+
|
|
492
|
+
### Shared sign-in presentation
|
|
493
|
+
|
|
494
|
+
`MessagingSignIn`, `MessagingPhoneInput` and `MessagingChoicePicker` are optional
|
|
495
|
+
shared UI components, also exported by `@robono/messaging-web`. Robono's new
|
|
496
|
+
consumer app uses these same components. The card, code cells, consent row,
|
|
497
|
+
buttons and field proportions follow the existing Messenger.
|
|
498
|
+
|
|
499
|
+
Continue using your existing login when embedding Messenger. These components
|
|
500
|
+
add **no second account, SMS provider, credential storage or authentication
|
|
501
|
+
service**. Your host controls `stage`, field values, validation, busy/error state,
|
|
502
|
+
verification expiry and `onSubmit`. Supply your own company logo/name through
|
|
503
|
+
`logo` or `appearance`, your colors through `appearance.colors`, consent copy and
|
|
504
|
+
policy links through `consent`, and translated text through `labels`.
|
|
505
|
+
|
|
506
|
+
Render your `MessagingPhoneInput` and its `MessagingChoicePicker` together inside
|
|
507
|
+
`MessagingSignIn.phoneField`; profile choices belong in `profileFields`. This
|
|
508
|
+
keeps website pickers inside the sign-in container. The host supplies supported
|
|
509
|
+
countries and validates/normalizes numbers with its own authentication provider.
|
|
510
|
+
Use `secondsRemaining` only with an expiry returned by that provider. An expired
|
|
511
|
+
code changes the submit action to “Send a new code”; the host performs that action.
|
|
512
|
+
Never include private integration keys in these props.
|
|
513
|
+
|
|
514
|
+
`MessagingConnectionState` is the shared waiting/recovery screen used by customer
|
|
515
|
+
starters and Robono Messenger. Pass `error`, `onRetry`, optional `onSignOut`,
|
|
516
|
+
`appearance`, and translated `labels`. Account actions appear only on failure,
|
|
517
|
+
never during normal connection startup. The hosted connection selects Robono's
|
|
518
|
+
approved direct transport automatically; no extra phone setup is required.
|