@robono/messaging-react-native 0.24.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 +7 -0
- package/README.md +75 -1
- package/RobonoMessagingRuntime.podspec +2 -0
- package/SBOM.spdx.json +1829 -557
- package/android/build.gradle +4 -1
- 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 +1 -1
- package/app.plugin.cjs +14 -1
- 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 +2 -1
- package/dist/account.js +6 -2
- 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.js +61 -16
- package/dist/bubble-design.d.ts +1 -1
- package/dist/cloudkit-backup.d.ts +14 -0
- package/dist/cloudkit-backup.js +193 -0
- package/dist/conversation-details.js +1 -1
- package/dist/customization.d.ts +1 -0
- package/dist/delivery-bar.d.ts +1 -1
- package/dist/delivery-bar.js +5 -2
- package/dist/delivery-notice.d.ts +9 -0
- package/dist/delivery-notice.js +15 -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-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 +7 -0
- package/dist/expo-backup-passkeys.js +31 -7
- package/dist/expo-backup-settings.js +26 -8
- 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-media.d.ts +2 -0
- package/dist/expo-media.js +15 -21
- package/dist/expo-messenger.d.ts +8 -0
- package/dist/expo-messenger.js +18 -7
- 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 +4 -1
- package/dist/expo-reviews.js +122 -17
- package/dist/expo-screen.js +5 -4
- package/dist/expo-thumbnails.d.ts +2 -2
- package/dist/expo-thumbnails.js +48 -5
- package/dist/expo.d.ts +10 -0
- package/dist/expo.js +8 -0
- package/dist/header-calls.js +1 -1
- package/dist/inbox-search.d.ts +1 -1
- package/dist/inbox-search.js +7 -3
- package/dist/inbox.d.ts +1 -0
- package/dist/inbox.js +5 -5
- package/dist/index.d.ts +8 -3
- package/dist/index.js +138 -63
- package/dist/linked-apps.d.ts +45 -0
- package/dist/linked-apps.js +40 -0
- package/dist/loading-messages.d.ts +1 -1
- package/dist/loading-messages.js +1 -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/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 +8 -4
- package/dist/reviews.js +53 -26
- package/dist/scheduled.js +2 -2
- package/dist/search.js +18 -8
- package/ios/RobonoBackupCloudKit.m +96 -0
- package/ios/RobonoHistoryStore.m +170 -0
- package/package.json +22 -4
- package/plugin/backup-expiration.cjs +23 -0
- package/plugin/prepare-native.cjs +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## 0.24.0 — 2026-11-11
|
|
4
11
|
|
|
5
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.
|
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
|
|
@@ -725,4 +755,48 @@ The complete Messenger uses the inbox’s saved appearance while a conversation
|
|
|
725
755
|
|
|
726
756
|
### Chat backup — unreleased
|
|
727
757
|
|
|
728
|
-
|
|
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.
|
|
@@ -10,5 +10,7 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.source={:git=>'https://github.com/IMLX16/robono-sdks.git',:tag=>'messaging-react-native-v'+package['version']}
|
|
11
11
|
s.platforms={:ios=>'16.4'}
|
|
12
12
|
s.source_files='ios/*.{h,m}'
|
|
13
|
+
s.libraries='sqlite3'
|
|
14
|
+
s.frameworks='CloudKit'
|
|
13
15
|
s.dependency 'React-Core'
|
|
14
16
|
end
|