✅
Demo to preview the plugin:
✅
Introduction
This plugin offers a simple and user-friendly solution to add file uploading capabilities to your Bubble Native (mobile) app. By placing the Native File Uploader Pro element on your page, you allow users to upload media files directly from their mobile device’s
gallery and file manager. Customize the look and feel of the uploader to perfectly blend with your app’s design, while giving users a reliable way to upload various file formats. Featuring live progress updates and comprehensive control over upload actions, this plugin provides an efficient way to improve your app’s file upload functionality with minimal setup.Prerequisites
This plugin is designed specifically for the mobile version of the Bubble editor. To test the plugin on your mobile device, use the TestFlight app available at: https://testflight.apple.com/join/EcFCzJ32
⚠️
Please note that the testing app is currently available for iOS only.
How to setup
- Place the Element: Drag the
Native Uploader Procomponent into your Bubble editor.
- Configure Upload Endpoint: Set the
endpointproperty to your upload destination (e.g., your_app_domain/fileupload). Ex: https://zeroqode-native-demo-04.bubbleapps.io/version-App_Version/fileupload
- Customize Options: Adjust file count and size limits, toggle multiple file support, and restrict uploads with File Types and Allowed Extensions if needed.
- Edit UI Texts: Personalize the labels and messages shown to users.
- Design the Button: Customize background color, text color, font size, and border radius.
- Handle States: Use Bubble workflows to listen for upload events (started, success, error, cancel, etc).
- (Optional) Use your own button: Turn on “Hide Built-in UI” and run the “Open Picker” action from any workflow.
💡
Font Customization Limitation
At the moment, it is not possible to use custom font families in Bubble Native apps.
Only system fonts are supported.
💡
Note for iOS users
In React Native apps, iOS automatically converts HEIC images to JPEG.
So even if the original photo is in HEIC format, it will already be sent as a JPEG — no extra conversion is needed.
⚠️
Note about permissions
For the plugin to work, you must enable file and photo permissions in the app settings on your phone.
File type filtering
Use File Types to choose which kind of files users can upload, and Allowed Extensions to narrow it further.
Examples:
- Profile photo: File Types = Images, Allowed Extensions = “jpg, png”
- Contracts: File Types = PDF
- Office documents: File Types = Documents, Allowed Extensions = “pdf, docx, xlsx”
- Video reviews: File Types = Videos
How it works:
- The system picker shows only matching files where the device supports it. Every file is checked again after selection.
- If some files don’t match, they are skipped, the others are uploaded, and the “File Type Rejected” event is triggered. The skipped names are in the “Rejected File Names List” state.
- If no files match, nothing is uploaded and only “File Type Rejected” is triggered.
- Skipped files are not counted toward Max File Count or Max Total Upload Size MB.
- With Documents, PDF, or Audio, the Gallery option is hidden, because the gallery contains only photos and videos.
- Leave both fields empty (File Types = Any) to accept any file.
Using your own upload button (headless mode)
- Turn on Hide Built-in UI. For a fully headless element, also turn on Hide File Previews and turn off Show Notifications.
- Keep the element visible on the page. It can be very small, but if it is hidden, it cannot open the picker.
- In your own button’s workflow, add the Open Picker action and choose the Source.
- Use the Is Busy state to show a loader or disable your button while files are uploading.
- Use the events and states (Uploaded File Urls List, All Files Progress List, etc.) to build your own UI.
Element Properties - Native Uploader Pro
The
Native Uploader Pro element is a user interface component designed for Bubble Native apps, allowing users to upload media files directly from their mobile device’s gallery and file manager. It supports both single and multiple file selection, displays real-time upload statuses, and includes customizable labels, messages, and styles. Ideal for apps that need users to submit photos, videos, or documents, with optional restrictions on file types.Fields
Name | Description | Type |
endpoint | Your app’s file upload URL: https://YOURAPP.bubbleapps.io/version-test/fileupload for development, without /version-test for live. | Text |
Allow Multiple | Lets the user select several files at once. Ignored when Max File Count is 1. | yes/no |
Max File Count | Maximum number of files per selection. Leave empty or 0 for no limit. Files skipped by the type filter are not counted. | Number |
Max Total Upload Size MB | Maximum total size of all files in one selection, in MB. If empty, a 50 MB safety limit applies. Each file is also limited to 75 MB because it is processed in the device memory. | Number |
Picker Source | What the upload button opens: “Both” shows a menu with Gallery and Files, “Gallery” opens the photo library, “File Manager” opens the document picker. If File Types allows neither images nor videos, the file manager opens directly. The Open Picker action can override it. | Dropdown |
File Types | Which files users can upload: Any, Images, Videos, Images and videos, Documents, PDF, or Audio. Images and videos come from the gallery or the file manager; Documents, PDF and Audio come only from the file manager, so the Gallery option is hidden for them. Files of other types are skipped with a message, the rest are uploaded. | Dropdown |
Allowed Extensions | Optional. Comma-separated extensions that narrow File Types further, e.g. “pdf, docx” or “jpg, png”. Files with other extensions are skipped before upload. Extensions that don’t fit File Types are ignored; if none fit, every file is rejected. Leave empty to allow everything File Types allows. | Text |
Auto Reset Uploader | When enabled, the uploader will automatically clear all internal data (files, status messages, progress bar) 2 seconds after a successful upload. This returns the element to its initial "Select files" state. | yes/no |
Hide File Previews | When enabled, the element will not display the built-in list of thumbnails or file names below the upload button. The upload process, progress bar, and status messages will still be visible. | yes/no |
Label Title | Text shown above the upload button. Leave empty to hide it. | Text |
Label Button | Text on the upload button (used when Button Content Mode is text or icon_text). | Text |
Message Uploading | Message shown during uploading. Use the '{count}' text key to display the count of files being uploaded. | Text |
Message Success | Message shown on successful upload. | Text |
Message Error | Message shown when the upload fails or access to the gallery is denied. | Text |
Message Cancelled | Message shown when the user closes the picker without selecting files. | Text |
Message Empty | Message shown when no files were selected. | Text |
Message Limit Exceeded | Message shown when max file count is exceeded. Use the '{maxCount}' text key to display the max count of files allowed. | Text |
Message Size Exceeded | Message shown when max total size is exceeded. Use the '{totalSize}' text key to display the total size of files being uploaded. Use the '{maxTotalSize}' text key to display max total size allowed. | Text |
Message Type Not Allowed | Message shown when selected files are skipped because of their type. Use ‘{fileName}’ for the skipped file names, ‘{count}’ for their number and ‘{allowedTypes}’ for the allowed types or extensions. | Text |
Button Content Mode | Defines the content mode for the button's display. | Dropdown |
Button Icon PNG | Image shown on the button when Button Content Mode is icon or icon_text. | Image |
Icon Size Width | Width of the button icon, in pixels. | Number |
Icon Size Height | Height of the button icon, in pixels. | Number |
Button Background Color | Hex value of button background color (e.g. #1AAFD0). | Color |
Button Border Radius | Radius of the button’s corners (e.g. 8). | Number |
Button Border Color | Sets the border color of the upload button. Use any valid color value. | Color |
Button Border Width | Sets the border width of the upload button in pixels. Use a number greater than 0 to display the border. | Number |
Button Border Style | Sets the border style of the upload button. Accepted values: solid, dotted, dashed. | Dropdown |
Button Text Bold | Specifies whether the button text should be bold. | yes/no |
Button Text Color | Hex value of button text color (e.g. #FFFFFF). | Color |
Button Font Size | Font size of the button label text (e.g. 24). | Number |
Button Text Italic | Specifies whether the button text should be italic. | yes/no |
Button Text Underline | Specifies whether the button text should be underlined. | yes/no |
Show Notifications | Controls the visibility of notifications. | yes/no |
Status Bg Color Info | Sets the background color for informational status messages. | Color |
Status Text Color Info | Defines the text color for informational status messages. | Color |
Status Bg Color Success | Sets the background color for successful status messages. | Color |
Status Text Color Success | Defines the text color for successful status messages. | Color |
Status Bg Color Error | Sets the background color for error status messages. | Color |
Status Text Color Error | Defines the text color for error status messages. | Color |
Status Text Size | Controls the font size of the alert text. | Number |
Status Text Weight | Controls the font weight of the alert text. | Dropdown |
Status Text Style | Controls the style of the alert/status text. Accepted values: normal, italic. | Dropdown |
Icon Color | Color of the file icon shown in previews for non-image files. | Color |
📄 Image Optimization | ||
Optimize images | Enable automatic image optimization before upload. When active, images are resized and compressed to reduce file size. | yes/no |
Image max dimension | Maximum width or height in pixels. Images exceeding this value will be proportionally resized down. Has no effect if Optimize Images is disabled. | Number |
Compression quality | Compression quality from 0 to 1 (values from 1 to 100 are also accepted, e.g. 80). Lower values give smaller files. Has no effect on PNG or if Optimize Images is disabled. | Number |
Output format | Output format for optimized images. JPEG: smaller files, best for photos. PNG: lossless, for graphics with transparency (compression quality has no effect). WebP: best compression on Android; on iOS JPEG is used instead. If empty, the original format is kept when possible, otherwise JPEG. Has no effect if Optimize Images is disabled. | Dropdown |
Progress Bar | ||
Show Progress Bar | Shows a built-in bar with the overall upload progress. | yes/no |
Progress Bar Color | Color of the built-in progress bar. | Color |
Hide Built-in UI | Hides the title and the upload button and removes the element’s inner padding, so you can use your own design. Open the picker with the “Open Picker” action. File previews, notifications and the progress bar keep their own settings: turn them off for a fully headless element. Keep the element visible on the page (it can be small): if the element is hidden, it is not rendered and cannot open the picker. | Checkbox |
Element States
Name | Description | Type | Is a List |
Uploaded File Url | URL of the most recently uploaded file. After a file is removed, points to the last remaining file. | Text | False |
Global Upload Progress | Overall progress of the current upload, from 0 to 100. | Number | False |
Uploaded File Urls List | List of uploaded file URLs | Text | True |
Deleted File Url | URL of the file the user just removed from the list. The file stays in storage; use this state in the File Removed event to delete it if needed. | Text | False |
Upload Status Text | Current status message of the upload process | Text | False |
Current File Name | Current file name | Text | False |
All File Names List | List of all file names | Text | True |
Current File Size | Size of the current file | Number | False |
All File Sizes List | Size of every uploaded file, in MB | Number | True |
Current File Type | MIME type of the current file | Text | False |
All File Types List | MIME type of every uploaded file (e.g. image/jpeg, application/pdf). | Text | True |
Current File Progress | A percentage from 0 to 100 representing the upload of the currently active file in the loop. Useful if you're loading huge files and want to show what is happening right now. | Number | False |
All Files Progress List | Since multiple files can be uploaded, we will maintain an array mapping each file's progress. (Example: If you upload 3 files and the 2nd is halfway done, the list will be [100, 50, 0]). This is exceptionally useful if you render a repeating group of previews in Bubble and want to assign an individual progress bar to each cell. | Number | True |
Is Busy | “yes” while the picker is open or files are being uploaded. Use it to show your own loader or disable your own button in headless mode. | Yes/No | False |
Rejected File Names List | Names of the files skipped in the last selection because their type is not allowed. Empty if nothing was skipped. | Text | True |
Element Events
Name | Description (optional) |
Upload Finished | Triggered once when an upload attempt is complete - fully successful, partial or failed. Not triggered on cancel, denied permission, empty selection or limit errors or when all selected files are rejected by the type filter. |
Upload Failed | Triggered when no files or only some of the files were uploaded, or when the picker fails. |
Upload Empty | Triggered when the picker returned no files. |
Upload Canceled | Triggered when the user closes the picker without selecting files. |
Upload Denied | Triggered when the user denies access to the photo library. |
Upload Started | Triggered when file selection starts, right before the picker opens. |
All Files Uploaded | Triggered when all accepted files have been uploaded successfully. Files skipped by the type filter are not counted. |
File Removed | Triggered when the user removes a file from the built-in preview list. |
Upload Limit Exceeded | Triggered when more files are selected than Max File Count allows. |
Upload Size Exceeded | Triggered when the total upload size exceeds the allowed limit or a single file is larger than 75 MB. |
File Type Rejected | Triggered once per selection when one or more files were skipped because their type is not allowed. The other files are still uploaded. Skipped names are in the Rejected File Names List state. |
Element Actions
Reset
The Reset action allows you to programmatically reset the uploader element. This action clears the currently selected file(s), resets internal states, and returns the uploader to its initial state, as if no file was ever selected.
Open Picker
Opens the file picker from any workflow, without tapping the built-in button. Ignored while a selection or upload is already in progress (check the Is Busy state).
Fields:
Name | Description | Type |
Source | Where to pick files from. “Element default” uses the element’s Picker Source setting. “Both” shows the menu with Gallery and Files. If File Types allows neither images nor videos, “Gallery” and “Both” open the file manager instead. | Dropdown |
Changelogs
Update 21.10.26 - Version 1.22.0
- Bubble Plugin Page Update (Description).
Update 21.10.26 - Version 1.21.0
- Headless mode: Open Picker action, Hide Built-in UI & Is Busy state.
Update 16.09.26 - Version 1.20.0
- Migrate expo-image-manipulator to chain-API (SDK 57).
Update 06.08.26 - Version 1.19.0
- Reliability update: Android upload fix, error events, memory safety.
Update 24.04.26 - Version 1.18.0
- Added image compression, progress uploading states.
Update 31.03.26 - Version 1.17.0
- The padding problem was fixed.
Update 26.03.26 - Version 1.16.0
- Adding new fields for button customization.
Update 06.03.26 - Version 1.15.0
- Bubble Plugin Page Update (Category).
Update 05.02.26 - Version 1.14.0
- a reset input action has been added.
Update 26.01.26 - Version 1.13.0
- Fixed label typos, improved button text, unified size and limit messages, corrected {count}, and updated label behavior.
Update 14.01.26 - Version 1.12.0
- Two options have been added: “Auto Reset Uploader” and “Hide File Previews.”.
Update 23.12.25 - Version 1.11.0
- Updated core libraries to the latest stable versions to ensure compatibility and security.
Update 18.12.25 - Version 1.10.0
- Bubble Plugin Page Update (Logo).
Update 01.12.25 - Version 1.9.0
- Bubble Plugin Page Update (Description).
Update 21.11.25 - Version 1.8.0
- New Picker Source field.
Update 14.11.25 - Version 1.7.0
- Bubble Plugin Page Update (Description).
Update 04.11.25 - Version 1.6.0
- Fixed Video Upload Encoding.
Update 21.07.25 - Version 1.5.0
- Bubble Plugin Page Update (Description).
Update 21.07.25 - Version 1.4.0
- Bubble Plugin Page Update (Description).
Update 21.07.25 - Version 1.3.0
- fixed opening file manager for ios.
Update 15.07.25 - Version 1.2.0
- Bubble Plugin Page Update (Description).
Update 15.07.25 - Version 1.1.0
- Bubble Plugin Page Update (Description).
Update 09.07.25 - Version 1.0.0
- The initial plugin release.