@robono/messaging-react-native 0.23.0 → 0.25.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 +27 -0
- package/README.md +157 -4
- package/RobonoMessagingRuntime.podspec +16 -0
- package/SBOM.spdx.json +2709 -813
- package/android/build.gradle +10 -0
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/robono/messaging/RobonoBackupCrypto.java +27 -0
- package/android/src/main/java/com/robono/messaging/RobonoBackupGoogle.java +76 -0
- package/android/src/main/java/com/robono/messaging/RobonoHistoryStore.java +173 -0
- package/android/src/main/java/com/robono/messaging/RobonoMessagingPackage.java +11 -0
- package/app.plugin.cjs +22 -3
- package/cloudkit/backup-schema.ckdb +13 -0
- package/dist/account-pages.d.ts +51 -0
- package/dist/account-pages.js +65 -0
- package/dist/account.d.ts +6 -2
- package/dist/account.js +37 -11
- package/dist/attachment-preview.d.ts +11 -10
- package/dist/attachment-preview.js +15 -12
- package/dist/backup-background.d.ts +25 -0
- package/dist/backup-background.js +71 -0
- package/dist/backup-base64.d.ts +3 -0
- package/dist/backup-base64.js +41 -0
- package/dist/backup-google-authorization.d.ts +23 -0
- package/dist/backup-google-authorization.js +95 -0
- package/dist/backup.d.ts +24 -0
- package/dist/backup.js +202 -0
- package/dist/brand.js +4 -4
- package/dist/bubble-design.d.ts +1 -1
- package/dist/bubble-design.js +5 -3
- package/dist/cloudkit-backup.d.ts +14 -0
- package/dist/cloudkit-backup.js +193 -0
- package/dist/contact-directory.d.ts +3 -1
- package/dist/contact-directory.js +3 -3
- package/dist/conversation-details.js +2 -2
- package/dist/customization.d.ts +1 -0
- package/dist/delivery-bar.d.ts +3 -2
- package/dist/delivery-bar.js +7 -4
- package/dist/delivery-notice.d.ts +9 -0
- package/dist/delivery-notice.js +15 -0
- package/dist/directory-navigation.d.ts +25 -0
- package/dist/directory-navigation.js +69 -0
- package/dist/expo-backup-background.d.ts +17 -0
- package/dist/expo-backup-background.js +57 -0
- package/dist/expo-backup-cloudkit.d.ts +6 -0
- package/dist/expo-backup-cloudkit.js +11 -0
- package/dist/expo-backup-crypto.d.ts +3 -0
- package/dist/expo-backup-crypto.js +17 -0
- package/dist/expo-backup-google.d.ts +7 -0
- package/dist/expo-backup-google.js +16 -0
- package/dist/expo-backup-network.d.ts +8 -0
- package/dist/expo-backup-network.js +18 -0
- package/dist/expo-backup-passkeys.d.ts +14 -0
- package/dist/expo-backup-passkeys.js +46 -0
- package/dist/expo-backup-settings.d.ts +4 -0
- package/dist/expo-backup-settings.js +59 -0
- package/dist/expo-backup.d.ts +14 -0
- package/dist/expo-backup.js +22 -0
- package/dist/expo-bridge.d.ts +2 -0
- package/dist/expo-bridge.js +3 -1
- package/dist/expo-cache.js +20 -1
- package/dist/expo-device-history.d.ts +24 -0
- package/dist/expo-device-history.js +88 -0
- package/dist/expo-durable-history.d.ts +26 -0
- package/dist/expo-durable-history.js +56 -0
- package/dist/expo-history-backup.d.ts +3 -0
- package/dist/expo-history-backup.js +79 -0
- package/dist/expo-history-maintenance.d.ts +4 -0
- package/dist/expo-history-maintenance.js +23 -0
- package/dist/expo-history-previews.d.ts +5 -0
- package/dist/expo-history-previews.js +57 -0
- package/dist/expo-history.d.ts +1 -1
- package/dist/expo-history.js +2 -2
- package/dist/expo-inbox-preferences.d.ts +3 -0
- package/dist/expo-inbox-preferences.js +9 -0
- package/dist/expo-media.d.ts +2 -0
- package/dist/expo-media.js +18 -24
- package/dist/expo-messenger.d.ts +8 -0
- package/dist/expo-messenger.js +27 -11
- package/dist/expo-notifications.d.ts +17 -1
- package/dist/expo-notifications.js +36 -16
- package/dist/expo-outbox.d.ts +2 -0
- package/dist/expo-outbox.js +1 -1
- package/dist/expo-oversight.d.ts +15 -0
- package/dist/expo-oversight.js +15 -0
- package/dist/expo-reviews.d.ts +6 -0
- package/dist/expo-reviews.js +145 -0
- package/dist/expo-screen.js +62 -28
- package/dist/expo-thumbnails.d.ts +6 -2
- package/dist/expo-thumbnails.js +73 -8
- package/dist/expo.d.ts +14 -0
- package/dist/expo.js +12 -0
- package/dist/forward.js +2 -2
- package/dist/header-calls.js +1 -1
- package/dist/header-colors.d.ts +5 -0
- package/dist/header-colors.js +7 -0
- package/dist/inbox-search.d.ts +1 -1
- package/dist/inbox-search.js +7 -3
- package/dist/inbox.d.ts +6 -2
- package/dist/inbox.js +27 -55
- package/dist/index.d.ts +14 -6
- package/dist/index.js +195 -78
- package/dist/linked-apps.d.ts +45 -0
- package/dist/linked-apps.js +40 -0
- package/dist/loading-messages.d.ts +5 -0
- package/dist/loading-messages.js +10 -0
- package/dist/media-access.d.ts +8 -0
- package/dist/media-access.js +6 -1
- package/dist/media-controller.d.ts +2 -0
- package/dist/native-history-authorization.d.ts +4 -0
- package/dist/native-history-authorization.js +69 -0
- package/dist/native-history-backup.d.ts +16 -0
- package/dist/native-history-backup.js +144 -0
- package/dist/native-history.d.ts +14 -0
- package/dist/native-history.js +186 -0
- package/dist/native-outbox.d.ts +2 -0
- package/dist/oversight-session.d.ts +4 -0
- package/dist/oversight-session.js +14 -0
- package/dist/popup.d.ts +6 -3
- package/dist/popup.js +6 -6
- package/dist/preview-layout.d.ts +12 -0
- package/dist/preview-layout.js +102 -0
- package/dist/recent-media.js +2 -1
- package/dist/reviews.d.ts +19 -0
- package/dist/reviews.js +231 -0
- package/dist/scheduled.js +6 -6
- package/dist/search.js +18 -8
- package/ios/RobonoBackupCloudKit.m +96 -0
- package/ios/RobonoBackupCrypto.m +30 -0
- package/ios/RobonoHistoryStore.m +170 -0
- package/package.json +34 -7
- package/plugin/backup-expiration.cjs +23 -0
- package/plugin/prepare-native.cjs +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.25.0 — 2026-11-15
|
|
4
|
+
|
|
5
|
+
- Add authorized local recent history and saved previews, assigned review/monitoring, and shared backup adapters on iPhone and Android.
|
|
6
|
+
- Keep headers, composers and complete photo/video frames stable while connecting; preserve independent caption/media actions and media playback controls.
|
|
7
|
+
- Show cached-conversation refresh progress in the existing header and preserve the message-box space without a false Offline message.
|
|
8
|
+
- Correct notification callback remounts and Android Back navigation. Native personal-cloud recovery remains subject to the acceptance gates in the shared backup guide.
|
|
9
|
+
|
|
10
|
+
## 0.24.0 — 2026-11-11
|
|
11
|
+
|
|
12
|
+
- Add password and WebAuthn PRF passkey backup protection alongside recovery keys, with a shared three-choice setup and authenticated recovery envelopes. Experimental backup APIs; native passkey provisioning and real cloud/replacement-device acceptance remain pending.
|
|
13
|
+
|
|
14
|
+
- Place expanded popup screens directly below the Messenger header, tighten content spacing, and place backup and scheduling descriptions directly under their headers. Keep compact confirmations and embedded pane boundaries.
|
|
15
|
+
|
|
16
|
+
- Keep one settings panel mounted while navigating Account, Chat backup and backup recovery pages, preventing flashes of the inbox and preserving the account scroll position.
|
|
17
|
+
|
|
18
|
+
- Add the shared Chat backup screen, native encryption and private key/preferences storage. Follow original Messenger settings styling and friendly dates. Production cloud/history wiring remains incomplete.
|
|
19
|
+
|
|
20
|
+
- Display JPEG photos up to 128 KiB through the authorized original download when no page preview grant is supplied, avoiding a separate thumbnail lookup and image re-encoding.
|
|
21
|
+
|
|
22
|
+
- Keep failed-message Retry inside the text bubble, photo/video preview, voice pill or file card, with the delivery bar confined to that surface.
|
|
23
|
+
- Stabilize conversation headers with inbox appearance on first render, a reserved activity line and a stable options column.
|
|
24
|
+
|
|
25
|
+
- Recognize source-backed history attachments as remote media: skip outgoing draft-file lookups and use authorized streaming for voice/video, consistently with other shared storage sources.
|
|
26
|
+
|
|
27
|
+
- Fit photo and video previews to their full proportions, including portrait and panoramic media. Quote, selected-attachment and shared-media previews also show the whole image.
|
|
28
|
+
- Accept message-bound Bridge history preview grants up to the existing 200 KB Bridge preview limit, avoiding a separate thumbnail authorization request when the service supplies a fresh grant.
|
|
29
|
+
|
|
3
30
|
## 0.23.0 — 2026-11-10
|
|
4
31
|
|
|
5
32
|
Add signed device Apple environment registration, shared playback callbacks, Bridge presence/privacy and foreground lifecycle integration.
|
package/README.md
CHANGED
|
@@ -170,6 +170,14 @@ npx expo install expo-audio expo-image-picker expo-document-picker expo-file-sys
|
|
|
170
170
|
|
|
171
171
|
This entry targets Expo SDK 55–56; the core components do not require Expo.
|
|
172
172
|
|
|
173
|
+
When using Expo's fingerprint runtime policy, run the public
|
|
174
|
+
`@robono/messaging-react-native/prepare-native` helper from your app's
|
|
175
|
+
`postinstall` script. Call `prepareNativeDependencies(projectRoot,
|
|
176
|
+
{backupBackgroundTasks: true})` when automatic backups are enabled, or omit the
|
|
177
|
+
option otherwise. This prepares the SDK's Expo native corrections before
|
|
178
|
+
fingerprinting; the config plugin repeats the same idempotent step at prebuild.
|
|
179
|
+
See [backup build configuration](../messaging/BACKUPS.md#native-automatic-backups).
|
|
180
|
+
|
|
173
181
|
| Project | Supplied integration |
|
|
174
182
|
| --- | --- |
|
|
175
183
|
| Expo 55 or 56 | Use the `/expo` entry and `npx expo install` for matching native packages. |
|
|
@@ -423,6 +431,28 @@ Server 0.18.0 and mobile 0.4.0 remove the customer notification database and wor
|
|
|
423
431
|
|
|
424
432
|
Always await `messenger.signOut()` before ending your host login session, using a finally block to finish host sign-out even if the network is unavailable. The host still owns its global notification presentation handler; compose it with `withMessagingNotificationPresentation` if needed. Custom screens can continue using the separate `./expo-notifications` connector. Apple/Google permissions and a real device are required to prove background delivery; signing in and seeing a chat is not enough.
|
|
425
433
|
|
|
434
|
+
For Android, include your Firebase project's downloaded **Android client**
|
|
435
|
+
`google-services.json` in the signed app and point Expo's
|
|
436
|
+
`android.googleServicesFile` to it. Its package name must match the app's Android
|
|
437
|
+
package. This client configuration initializes FCM on the device; uploading a
|
|
438
|
+
Firebase service-account key to the server does not replace it. Keep the private
|
|
439
|
+
service-account key out of the app. Changing this native configuration requires
|
|
440
|
+
a new signed Android build, not a JavaScript update.
|
|
441
|
+
|
|
442
|
+
When replacing a host's previous notification implementation, supply
|
|
443
|
+
`onNotificationRegistered` to `createExpoMessenger` (`onRegistered` on the
|
|
444
|
+
standalone connector). It runs after the server confirms this account's new
|
|
445
|
+
device registration. Use its abort signal and your authenticated host endpoint
|
|
446
|
+
to retire only the previous registration for this installation and account.
|
|
447
|
+
Keep other devices and accounts intact. A failed callback retries when the app
|
|
448
|
+
returns to the foreground; a rejected new registration never retires the old
|
|
449
|
+
one. Do not run two alert senders for the same installation after migration.
|
|
450
|
+
|
|
451
|
+
For integration diagnostics, `onNotificationDiagnostic` (`onDiagnostic` on the
|
|
452
|
+
standalone connector) reports response receipt, authorization and routing outcomes.
|
|
453
|
+
It includes only stage names and boolean flags, never tokens or message contents.
|
|
454
|
+
A diagnostics callback failure cannot interrupt notification handling.
|
|
455
|
+
|
|
426
456
|
## Send later
|
|
427
457
|
|
|
428
458
|
With the scheduling service available, hold the composer Send button after writing
|
|
@@ -637,13 +667,136 @@ recordings are preserved rather than treated as disposable files.
|
|
|
637
667
|
Choose **Design → Chat screen → Messages & bubbles** in the website customization tool. The shared preview uses the same renderer as the customer Messenger.
|
|
638
668
|
|
|
639
669
|
- **Bubble corners:** standard, square (90°), or more rounded.
|
|
640
|
-
- **Bubble style:** classic, a top tail on text/file bubbles, or
|
|
641
|
-
- **Delivery status:** a bar inside the bubble, flush with its right edge, or a circle with a checkmark.
|
|
670
|
+
- **Bubble style:** classic, a top tail on text/file bubbles (top right for sent messages, top left for received messages), or the original Messenger’s tighter sender-side bottom corner (3px, with 14px body corners). Voice messages keep their player shape; photos and videos fill their bubble without a padded outer background.
|
|
671
|
+
- **Delivery status:** a bar inside the bubble, flush with its right edge, or a circle with a checkmark. Bar mode offers sent, delivered and seen/heard/watched colors. Each outgoing item has its own indicator, including attachments sent together. Incoming messages have no delivery indicator.
|
|
642
672
|
|
|
643
|
-
A circle is empty while sending, gains a checkmark on delivery and fills with the
|
|
673
|
+
A circle is empty while sending, gains a checkmark on delivery and fills with the accent color when consumed. Viewing status is only shown when receipt permissions allow it; styling never overrides those permissions.
|
|
644
674
|
|
|
645
|
-
These choices are stored in `appearance.presentation.bubbleShape`, `appearance.presentation.bubbleStyle`, and `appearance.messageStatus` (`style`, `sent`, `delivered`, `consumed`). Existing designs default to the inside edge bar and classic bubbles. Customers need a package version containing these controls before saved designs can render them.
|
|
675
|
+
These choices are stored in `appearance.presentation.bubbleShape`, `appearance.presentation.bubbleStyle`, and `appearance.messageStatus` (`style`, `position`, `sent`, `delivered`, `consumed`). Existing designs default to the inside edge bar and classic bubbles. Customers need a package version containing these controls before saved designs can render them.
|
|
646
676
|
|
|
647
677
|
The website's **Calling** settings control the optional message offer after an unanswered call. The shared panel presents one recording preview, Record again, Cancel and an explicit Send action. Drafts are not uploaded until Send.
|
|
648
678
|
|
|
649
679
|
The website’s **Design → Chat screen → Writing area** offers an optional **Message field border** and its color. The thin outline follows the field corners without changing its size. These are `appearance.composer.fieldBorder` and `fieldBorderColor`; existing designs remain borderless.
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
The standard media preview loader may expose `peek(message)` to return an already
|
|
683
|
+
authorized, memory-only preview synchronously. The Expo and browser adapters do
|
|
684
|
+
this automatically. Hosts must scope previews to the current account/conversation,
|
|
685
|
+
clear them on permission or identity changes, and keep private URLs out of persistent
|
|
686
|
+
history. Server-provided thumbnails are displayed without another image conversion.
|
|
687
|
+
|
|
688
|
+
Delivery bar colors use `appearance.messageStatus.sent`, `.delivered` and `.consumed`.
|
|
689
|
+
The website builder shows these color controls only when `messageStatus.style` is
|
|
690
|
+
`bar`; choosing `circle` hides them and preserves the bar choices for switching back.
|
|
691
|
+
Voice completion pauses playback and resets to zero; an ordinary Pause preserves the
|
|
692
|
+
position and Play resumes from it on web, iPhone and Android.
|
|
693
|
+
|
|
694
|
+
The 12px status circle can sit inside or below each outgoing bubble via
|
|
695
|
+
`appearance.messageStatus.position: 'inside' | 'below'` (default `inside`).
|
|
696
|
+
Message time independently uses `appearance.messageTime.position: 'inside' |
|
|
697
|
+
'below' | 'slide'` (default `slide`). Below-bubble metadata moves with its own
|
|
698
|
+
message during a swipe. These settings apply to web, iPhone and Android.
|
|
699
|
+
`appearance.screens.chat.messageWidth` limits long bubbles to 70, 88 or 94 percent
|
|
700
|
+
of the message area; short messages retain their natural width.
|
|
701
|
+
|
|
702
|
+
When top tails are selected, the delivery bar starts at the tail’s base with a
|
|
703
|
+
rounded cap; it does not draw a stripe through the tail.
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
## Parent message reviews
|
|
707
|
+
|
|
708
|
+
Use the shared `ExpoMessageReviewInbox` with the authenticated parent route described in the
|
|
709
|
+
[server integration instructions](../server/README.md#parent-approval-before-delivery).
|
|
710
|
+
Use the matching server and core packages, and confirm the public review API is available before enabling reviews.
|
|
711
|
+
|
|
712
|
+
```tsx
|
|
713
|
+
import {MessageReviewClient} from '@robono/messaging';
|
|
714
|
+
import {ExpoMessageReviewInbox} from '@robono/messaging-react-native/expo';
|
|
715
|
+
const reviewClient = new MessageReviewClient(async (operation, input) => {
|
|
716
|
+
const response = await fetch('/api/parent-message-reviews', {
|
|
717
|
+
method: 'POST', credentials: 'include',
|
|
718
|
+
headers: {'content-type': 'application/json'},
|
|
719
|
+
body: JSON.stringify({...input, operation}),
|
|
720
|
+
});
|
|
721
|
+
const result = await response.json();
|
|
722
|
+
if (!response.ok) throw Error(result.error?.message ?? 'Review unavailable');
|
|
723
|
+
return result;
|
|
724
|
+
});
|
|
725
|
+
// Use your authenticated transport/session and account directory on mobile.
|
|
726
|
+
<ExpoMessageReviewInbox client={reviewClient} name={userDisplayName}
|
|
727
|
+
conversationName={friendDisplayNameForConversation} />
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
Keep the client stable while the signed-in account is unchanged, and replace it on
|
|
731
|
+
sign-out/account changes. Names are display data, never authorization. The parent
|
|
732
|
+
sees the child, intended friend, exact words and private photo/video/voice preview.
|
|
733
|
+
Pending and completed items are separate; only a pending item offers a decision.
|
|
734
|
+
Approved items with interrupted delivery offer Retry delivery. Media is cleared
|
|
735
|
+
when the item changes or the app backgrounds. Native hosts without Expo can use
|
|
736
|
+
`MessagingReviewInbox` with their own authorized `renderMedia` callback.
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
Directory contacts now open the conversation destination immediately, without an
|
|
740
|
+
“Opening chat” dialog. The shared screen keeps the friend's name and avatar visible
|
|
741
|
+
while `onOpenDirectoryContact` resolves. No messages or composer are mounted before
|
|
742
|
+
the authorized result. Return the conversation summary directly after the permission
|
|
743
|
+
check; refreshing contact lists or the inbox must not delay that result. Back,
|
|
744
|
+
account changes and revoked directory entries cancel pending opens and discard late
|
|
745
|
+
responses. Unavailable contacts explain their status in the same conversation pane.
|
|
746
|
+
This navigation correction is local and awaiting the combined SDK release.
|
|
747
|
+
|
|
748
|
+
### Private Me chat
|
|
749
|
+
|
|
750
|
+
The shared friend list places the authenticated user's direct self conversation first and labels it **Me**. It uses the signed-in account's avatar. The conversation must come from the authorized inbox response (`selfConversation`); the UI never invents a conversation ID or substitutes another contact.
|
|
751
|
+
|
|
752
|
+
**Account → Show Me in friends** hides or restores that row without deleting messages. Complete Messenger integrations persist this preference on the current device/browser, partitioned by endpoint, namespace and user. With persistence disabled it lasts for the client session. Composable integrations can supply `MessagingInboxClient({request, userId, preferences: {read, write}})` and pass the same `inbox` to `MessagingAccountMenu` / `MessagingAccountScreen`; custom preference adapters may sync the choice through the host's authenticated account settings. This is a personal account choice, not a network appearance default.
|
|
753
|
+
|
|
754
|
+
The complete Messenger uses the inbox’s saved appearance while a conversation loads. For a standalone conversation screen, `initialAppearance` supplies that same presentation fallback until the conversation settings arrive; `appearance` remains an explicit override. Neither option grants messaging or calling permissions.
|
|
755
|
+
|
|
756
|
+
### Chat backup — unreleased
|
|
757
|
+
|
|
758
|
+
Website customization saves `messaging.appearance.showChatBackup`. `false` hides
|
|
759
|
+
Chat backup and closes an open backup page; `true` still requires the host's
|
|
760
|
+
`account.backup` client. Omission preserves existing host-controlled availability.
|
|
761
|
+
For server-retained history without personal backups, omit the backup client and
|
|
762
|
+
background workers. Existing personal archives are not deleted by this choice.
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
The shared backup screen follows Messenger account settings and supports backup status, account/storage actions, schedules, cellular policy, video inclusion, password/passkey/recovery-key protection and restore. Pass a `MessagingBackupClient` as `account.backup`. `createExpoMessagingBackup` connects private durable history and native encryption; `createExpoCloudKitMessagingBackup` supplies private iCloud transport, and `createExpoGoogleMessagingBackup` supplies Android authorization plus private Drive transport. The optional `/expo-backup-network` entry point supplies actual Expo network state and cancellation events; it requires `expo-network`. The optional `@robono/messaging-react-native/expo-backup-background` entry point exports `defineExpoMessagingBackupTask` for module-scope WorkManager/BGTaskScheduler registration. It requires `expo-background-task`, `expo-task-manager` and `backupBackgroundTasks: true` in the existing Messenger plugin options. Cloud identity, provisioning, passkey associations and actual provider recovery are separate setup/acceptance gates. This batch remains unreleased. See [the backup implementation status and host lifecycle contract](../messaging/BACKUPS.md).
|
|
766
|
+
|
|
767
|
+
## Main menu and account screens
|
|
768
|
+
|
|
769
|
+
Use **Main Screen → Friends menu → Menu options** in the website builder to choose
|
|
770
|
+
Account, Language, Saved, Stats, Blocked, Linked Apps, Phone Transfer and About.
|
|
771
|
+
The Robono admin Messenger uses this same builder and saved appearance. Select an
|
|
772
|
+
individual screen in the **Screen** selector to change its colors, font, text size
|
|
773
|
+
and supported features. These choices live in `appearance.menus.friends.items`,
|
|
774
|
+
`appearance.screenStyles` and `appearance.screenFeatures`; both web and Expo read
|
|
775
|
+
the same settings. Hidden features never override authenticated host permissions.
|
|
776
|
+
|
|
777
|
+
`MessagingInbox.onNewConversation` provides the floating **Message** button at
|
|
778
|
+
16 points from the trailing edge and 32 points from the bottom, matching the
|
|
779
|
+
original Messenger. The old `menus.friends.items.newChat` setting is accepted for
|
|
780
|
+
compatibility but no longer hides that button or adds a dropdown item.
|
|
781
|
+
|
|
782
|
+
Supply account-owned data through the public `account` options:
|
|
783
|
+
|
|
784
|
+
| Screen | Host connection |
|
|
785
|
+
| --- | --- |
|
|
786
|
+
| Language | `language: {value, onChange, choices?}`; persist the choice and update `interfaceLocale` after success. Without an editor, the screen shows the current account language. |
|
|
787
|
+
| Stats | Defaults to current inbox chat, unread and group counts, explicitly labeled as loaded chats when paginated. Optional `stats.load(signal)` supplies an authorized overview with a description and labeled values. |
|
|
788
|
+
| Blocked | `blocked.list(signal, cursor?)` returns contacts and optional `nextCursor`; `blocked.unblock(id)` rechecks authorization and performs the unblock. |
|
|
789
|
+
| Linked Apps | `linkedApps` supplies network directory, connection requests, responses, disconnection and navigation. `MessagingLinkedAppsScreen` renders the same interface in web and native integrations. Optional `onLinkedApps` navigates to an existing authorized host destination. |
|
|
790
|
+
| Phone Transfer | `backup` opens protected backup/recovery. This transfers through backup; a host with a separate device-transfer flow can supply `onPhoneTransfer`. |
|
|
791
|
+
| About | Optional `about: {description, version?}` supplies product information. |
|
|
792
|
+
|
|
793
|
+
Blocked, Linked Apps and Phone Transfer appear only when their host connection is
|
|
794
|
+
available and their menu choice is enabled. Saved also requires the saved-message
|
|
795
|
+
adapter. Keep these account services stable during rendering, cancel list requests
|
|
796
|
+
when their signal aborts, and recreate them when the signed-in account changes.
|
|
797
|
+
|
|
798
|
+
Contact objects accept `networkName`, supplied by the authenticated directory.
|
|
799
|
+
The chat header shows it beneath the name; `companyName` is the fallback for the
|
|
800
|
+
host network. Group chats retain member/activity information. Privacy Lens lives
|
|
801
|
+
in **Contact options → Chat options**. Legacy `privacy` header-order entries are
|
|
802
|
+
ignored without reserving space. Call buttons retain 44-point touch targets.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
package=JSON.parse(File.read(File.join(__dir__,'package.json')))
|
|
3
|
+
Pod::Spec.new do |s|
|
|
4
|
+
s.name='RobonoMessagingRuntime'
|
|
5
|
+
s.version=package['version']
|
|
6
|
+
s.summary=package['description']
|
|
7
|
+
s.homepage='https://robono.com/docs#messaging'
|
|
8
|
+
s.license={:type=>'SEE LICENSE IN LICENSE',:file=>'LICENSE'}
|
|
9
|
+
s.author='Robono'
|
|
10
|
+
s.source={:git=>'https://github.com/IMLX16/robono-sdks.git',:tag=>'messaging-react-native-v'+package['version']}
|
|
11
|
+
s.platforms={:ios=>'16.4'}
|
|
12
|
+
s.source_files='ios/*.{h,m}'
|
|
13
|
+
s.libraries='sqlite3'
|
|
14
|
+
s.frameworks='CloudKit'
|
|
15
|
+
s.dependency 'React-Core'
|
|
16
|
+
end
|