Uploads and Downloads
People can attach files and photos in the chat and download the conversation. The SDK uses the system's own pickers and sheets for both, so your app adds no code. Flutter and React Native apps get the behaviour of the platform they run on
Attaching files
Attaching a file opens the standard iOS picker, which can take a photo or video with the camera or pick one from the photo library. It needs the Installation in your app's Info.plist
On iOS people can also save an image from the chat to their photo library, which needs NSPhotoLibraryAddUsageDescription
Downloading the conversation
When someone downloads the conversation from the chat's menu, or with a bot button that exports their data, the SDK hands the file to the system
The share sheet opens with the file, so the user can save it to Files, send it or cancel. The SDK removes its temporary copy when the sheet closes
A download is accepted only while the chat is on screen, and only as an HTML, JSON or text file of at most 10 MiB. Script in the chat page can offer a file the same way, and nothing is saved or shared unless the user chooses to in the sheet or the dialog