You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
audioRecording.onDiscardRecording and videoRecording.onDiscardRecording: called with the file of a take that will not be sent, in place of the built-in deletion
audioRecording.canReleaseAudioSession: return false to keep the audio session in recording mode after a voice take, e.g. during a call
MessageAudio and MessageVideo take autoPlay: the voice note, round note or video starts as soon as it is ready, once per message for the life of the chat (#40)
MessageAudio takes onPlaybackEnded, called when a voice note plays to its end on its own
VoiceWaveform is exported: the voice note bars on their own, with progress and a tap-to-seek onSeek, for a custom audio bubble or player
onPressImage: a tapped photo calls it with the message instead of opening the built-in viewer, on Chat and on MessageImage (#41)
renderMediaViewerPage on Chat (renderPage on MediaViewer) draws a page of the photo viewer; MediaViewer and MediaViewerPage are exported for a viewer over your own photos (#41)
imageProps.resizeMode is applied to message photos; the default stays 'cover' (#41)
attachments.pickers.location: find the position yourself, without expo-location; resolves to the new CurrentLocation type (#42)
A file message without a uri (not on the device yet) is drawn with its name and size; IMessageFile.uri is now optional, so code reading file.uri has to allow for undefined
audioRecording.canUseAudioSession and videoRecording.canUseCapture: return false to refuse a take and drop the one in progress, e.g. during a call
audioRecording.isPreviewAtLimitEnabled stops a voice take at maxDurationMs into the paused preview; videoRecording.isPreviewBeforeSendEnabled shows every round take's preview before it is sent
audioRecording.recordingFileName, videoRecording.targetResolution and videoRecording.targetBitRate: name the recorded file, set the round note's size and bit rate
A sent voice take carries its waveform (the metered levels, up to 100) in onSend, so the bubble draws it without decoding the file
VideoTransferOverlay and useMediaTransfer are exported for custom video renderers; MessageFile takes an accessibilityHint
🐛 Fixes
The messages above the input stay in place when the chat's height changes while the keyboard opens or closes, such as a header above the chat that collapses with the keyboard, and when a reply bar or a taller input resizes the list: no jump, and nothing left behind the input afterwards (#37)
An edit that cannot be saved keeps the editor open: return false from onEditMessage and the text stays as typed. An edit emptied of its text is no longer sent, as an edit or as a new message (#39)
A voice or round video take cancelled while it was still starting or while its file was being written is no longer sent, and neither is one whose chat was closed meanwhile (#38)
A file reported by the camera for an earlier, cancelled round take no longer goes out as the next one
Files of takes that are not sent (cancelled, too short, clips already joined) are deleted when expo-file-system is installed, instead of staying in the cache
A voice take paused by the system (a phone call, the app going to the background) is kept as a paused take to send or resume; a recorder failure drops it and calls onError
On Android, holding the mic records again: the first hold, with its permission prompt, and the first moments of every take no longer end it at once
A round video take still recording when the app goes to the background is cancelled
Voice takes no longer share one recorder, and the audio session goes back to playback only after the last take in the app has ended
A voice note whose row scrolls away while it plays no longer starts the next note as if it had played to its end
A new duration on a voice message no longer downloads and decodes its file again
A voice note resumes after the system suspended audio (a call, another app) instead of staying silent
mediaPlayback.onMediaRead is called once per note until the app clears isMediaUnread, not again each time the note is replayed
A round note whose file is replaced while it plays stops instead of floating on with the old file
The expo-audio fallback player waits for its rewind before it replays a finished note
The photo viewer keeps the sizes of the 96 photos viewed last instead of every photo ever opened, and lets its pager scroll again when a zoomed photo is replaced (#41)
A position found after the attachment menu was closed is no longer shown on the next open: every open looks it up again
The Location tab says when the position could not be found (attachLocationUnavailable, in all 15 languages) and a tap tries again; a last known position older than 30 seconds is no longer offered as the current one
A video's upload or download ring no longer swallows taps when the app has no mediaTransfer.onCancel / onDownload for it, and screen readers hear "cancel upload" or "cancel download"
📲 Example app
"Collapsing Header" demo: a title above the chat that collapses while the keyboard is open