@robono/messaging-react-native 0.9.0 → 0.11.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 +61 -0
- package/SBOM.spdx.json +498 -210
- package/dist/account.d.ts +3 -0
- package/dist/account.js +15 -4
- package/dist/attachment-menu.js +2 -1
- package/dist/call-message.js +2 -1
- package/dist/calling.js +4 -2
- package/dist/conversation-details.d.ts +1 -0
- package/dist/conversation-details.js +3 -2
- package/dist/custom-message.d.ts +7 -0
- package/dist/custom-message.js +53 -0
- package/dist/customization.d.ts +49 -0
- package/dist/customization.js +1 -0
- package/dist/expo-connected-calling.d.ts +8 -0
- package/dist/expo-connected-calling.js +6 -3
- package/dist/expo-messenger.d.ts +20 -1
- package/dist/expo-messenger.js +37 -9
- package/dist/expo-screen.js +20 -18
- package/dist/expo-social.js +2 -1
- package/dist/extras.js +2 -1
- package/dist/forward.js +2 -1
- package/dist/group-editor.js +2 -1
- package/dist/header-calls.js +2 -1
- package/dist/icons.js +2 -1
- package/dist/inbox-search.d.ts +3 -1
- package/dist/inbox-search.js +30 -9
- package/dist/inbox-view.d.ts +21 -0
- package/dist/inbox-view.js +32 -0
- package/dist/inbox.d.ts +6 -1
- package/dist/inbox.js +24 -17
- package/dist/index.d.ts +10 -3
- package/dist/index.js +40 -29
- package/dist/maps-connection.js +2 -1
- package/dist/media-ui.js +2 -1
- package/dist/message-menu.js +2 -1
- package/dist/native-outbox.d.ts +1 -1
- package/dist/polls.js +4 -3
- package/dist/popup.js +5 -3
- package/dist/public-rooms.d.ts +10 -0
- package/dist/public-rooms.js +78 -0
- package/dist/quick-send.js +2 -1
- package/dist/room-moderation.d.ts +22 -0
- package/dist/room-moderation.js +87 -0
- package/dist/safety.js +2 -1
- package/dist/saved.js +2 -1
- package/dist/scheduled.js +2 -1
- package/dist/search.js +2 -1
- package/dist/social.js +2 -1
- package/dist/translation-settings.js +2 -1
- package/dist/typography.d.ts +12 -0
- package/dist/typography.js +31 -0
- package/dist/voice-composer.js +2 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.10.0 — release candidate
|
|
2
|
+
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
Connects the supplied Messenger to recording/caption controls, on-device background blur and account device checks, using its existing call integration.
|
|
6
|
+
|
|
7
|
+
Add supplied business cards, public groups and moderation, appearance controls, app-wide availability and inbox continuity. Own conversation opening and foreground incoming updates inside ExpoMessenger. Expand supplied interface languages.
|
|
8
|
+
|
|
1
9
|
## 0.9.0 — release candidate
|
|
2
10
|
|
|
3
11
|
Supply hosted connections, durable offline actions, interface language, localized Maps/calls, and retryable native upload errors. Use native calling 0.7 and Maps 0.3 with an app rebuild.
|
package/README.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Optional Robono messaging screens
|
|
2
2
|
|
|
3
|
+
## Small interface customizations
|
|
4
|
+
|
|
5
|
+
Choose fonts, text size, message spacing and bubble shape in **Features & preview →
|
|
6
|
+
Appearance**. Saved `appearance.presentation` settings reach the supplied phone
|
|
7
|
+
UI and web preview. Platform fonts differ; device accessibility scaling is retained.
|
|
8
|
+
See the [customization guide](https://robono.com/guides/messenger-customization.html).
|
|
9
|
+
|
|
10
|
+
The supplied screen accepts `components.MessageBody`, `components.MessageFooter`
|
|
11
|
+
and `components.HeaderActions` in addition to whole-screen replacements. These
|
|
12
|
+
small regions let you add customer actions without recreating the player,
|
|
13
|
+
composer or message gestures. They use the same contract on web and phones.
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import {View, Pressable, Text} from 'react-native';
|
|
17
|
+
import type {MessagingCustomization} from '@robono/messaging-react-native';
|
|
18
|
+
const components: MessagingCustomization = {
|
|
19
|
+
MessageBody: ({children}) => <View>{children}</View>,
|
|
20
|
+
HeaderActions: ({contact}) => (
|
|
21
|
+
<Pressable accessibilityRole="button" accessibilityLabel="Profile"
|
|
22
|
+
onPress={() => openCustomerProfile(contact)}
|
|
23
|
+
style={{minWidth:44,minHeight:44,justifyContent:'center'}}>
|
|
24
|
+
<Text>Profile</Text>
|
|
25
|
+
</Pressable>
|
|
26
|
+
),
|
|
27
|
+
};
|
|
28
|
+
// Pass components to ExpoMessenger/ExpoMessagingScreen.
|
|
29
|
+
// Merge with existing components (such as a supplied TrackingMap), if present.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Define these components outside render. `MessageBody` receives the supplied body
|
|
33
|
+
as `children`; preserve it to retain the standard text, media, poll and translation
|
|
34
|
+
behavior. `MessageFooter` adds an optional region inside the bubble. Both receive
|
|
35
|
+
`message`, `mine`, `appearance` and optional `pendingStatus`, and are omitted for
|
|
36
|
+
deleted messages. Header actions receive `conversationId`, `contact`, `appearance`.
|
|
37
|
+
The status indicator, swipe gestures and permission enforcement remain in place.
|
|
38
|
+
Custom actions still require the customer's own authorization.
|
|
39
|
+
|
|
3
40
|
## Recommended hosted installation
|
|
4
41
|
|
|
5
42
|
Run `npx --package @robono/server robono-messenger-install` in your Expo project. The installer sets up the connection and native plugin. Robono runs the communication services; your server verifies the existing login and issues its short-lived session. See the server package's [hosted guide](https://robono.com/guides/hosted-messenger.html).
|
|
@@ -396,3 +433,27 @@ when the person starts sharing. Rebuild both apps after native configuration cha
|
|
|
396
433
|
The server's selected feature and current contact permissions still control access.
|
|
397
434
|
An existing explicit `screenSharing:false` is preserved by upgrades; enable it and
|
|
398
435
|
rebuild before offering screen sharing in that app.
|
|
436
|
+
|
|
437
|
+
## Business messages
|
|
438
|
+
|
|
439
|
+
Use `createMessageCard` from `@robono/messaging` for supplied appointment/order
|
|
440
|
+
cards. `components.customMessages` supports customer layouts and explicit format
|
|
441
|
+
versions; `components.onCustomMessageAction` connects authorized actions.
|
|
442
|
+
Unknown types use the required text fallback.
|
|
443
|
+
[Card setup and limits](https://robono.com/guides/business-messages.html).
|
|
444
|
+
|
|
445
|
+
## App-wide activity
|
|
446
|
+
|
|
447
|
+
The complete Messenger connection supplies foreground activity independently of
|
|
448
|
+
the selected chat. Online now and optional Last seen are chosen in Features &
|
|
449
|
+
preview. `connection.availability` can also supply an authorized contact list.
|
|
450
|
+
[Activity setup, privacy and timing](https://robono.com/guides/user-availability.html).
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
## Recording, captions and local call tools
|
|
454
|
+
|
|
455
|
+
Robono hosts optional call recording and transcription. Enable recording once in the existing Calling settings; every participant must agree before capture, and anyone can stop it. The supplied controls include the consent notice, active-recording status and captions. No customer recording server is required.
|
|
456
|
+
|
|
457
|
+
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
|
+
|
|
459
|
+
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.
|