[BUG] Camera Plugin Support - Zeroqode

@ZeroqodeSupport We are using your camera plugin for Bubble Mobile and have noticed that the plugin has stopped working. All the images that were captured by the plugin are showing up as blank in the database and have been for the last 4 days.

1 Like

Hi @themmara,

Thank you for your message, we also replied to your message in our chat. Here is recap:

Based on your screenshots, behavior, and the plugin documentation, the issue is coming from how the Camera Capture for Bubble Mobile plugin returns the captured image.

The value you’re seeing stored in your database —
​file:///var/mobile/Containers/.../Library/Caches/...jpg —
is an internal iOS file path. It points to a temporary file inside the app’s sandbox. These paths are not public URLs, they only work on the device where the photo was taken, and they are stored inside the Caches directory.

iOS can remove cached files at any time. When it does, Bubble keeps the old file path but the actual file no longer exists. That’s why your images suddenly appear blank in the database and why your page crashes when trying to load them.

This plugin does not automatically upload the photo to Bubble’s File Manager. The Base64 value it returns is the actual image file. The local file URL is just a temporary reference.

To store images reliably, the Base64 output needs to be uploaded to Bubble as a file, and then you should save the resulting Bubble URL. Only then will the image be persistent and accessible across devices.

Let me know if you have any further questions regarding this plugin - I will be happy to help!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

hi @ZeroqodeSupport I have subscribed this plugin, may I ask if it’s possible to transfer the Base64 output to Bubble file right now on mobile (I know it can been done on web by using plugin)? Is there any plugin can achieve that?

It’s very important in my case, otherwise this plugin is useless.

Hi @minxiao625 and @themmara,

We have some great news for both of you! :tada:
Our development team has just released an update to the Camera Capture for Bubble Mobile plugin (version 1.8.0), and it includes exactly the functionality you were asking for.

:white_check_mark: New Feature: “Save to File Manager”

The plugin can now upload the captured photo or video directly to Bubble’s File Manager and return the proper https Bubble file URL.
This means:

  • No more temporary iOS paths like file:///var/mobile/.../Caches/…
  • No more disappearing images when iOS clears cache
  • No more handling Base64 manually
  • The final URL is fully persistent, accessible across devices, and works everywhere in your app

This update was created specifically to solve the issues you both described:

  • @themmara, your captured images showing up blank after a few days was caused by iOS deleting the temporary cached files. This update eliminates that problem entirely.
  • @minxiao625, you asked whether Base64 can be uploaded to Bubble File Manager directly in native apps — this new action now makes the full upload flow possible without needing external services.

:backhand_index_pointing_right: What to do next

Please update the plugin to the latest version (1.8.0), open your app, and test the new “Save to File Manager” action in your workflow.

After updating, try the following:

  1. Capture a photo or video using the Camera Capture element
  2. Trigger the new “Save to File Manager” action
  3. Check that the file appears in your Bubble File Manager with a public Bubble URL
  4. Verify that the stored URL displays correctly in your app

Once you’ve tested it, please let us know whether everything works as expected on your side.
If anything still behaves unexpectedly, feel free to share screenshots or a short screen recording — we’ll be happy to assist further.

Thanks for your patience!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Thanks for the quick update. I just tested the new action, but I still can’t see the image in the file manager.

@ZeroqodeSupport Could you share a screenshot showing exactly what you did to make it work?

Hi @minxiao625,

Sure thing! Here are a few resources that show exactly how the new “Save to File Manager” action is set up:

:blue_book: Documentation (with workflow examples)
https://docs.zeroqode.com/plugins/camera-capture-for-bubble-mobile#226c669b00ed81cba3dee5bd43590b2a

:test_tube: Live Demo
https://zeroqode-native-demo-05.bubbleapps.io/version-test/api/1.1/mobile/preview?debug_mode=true&preview_view=Camera%20Capture%20Demo

:hammer_and_wrench: Bubble Editor (full setup)
https://bubble.io/page?id=zeroqode-native-demo-05&tab=Design&name=Camera+Capture+Demo&type=page

Just a small note: on our demo page we use an automatic cleanup workflow so the File Manager doesn’t get overloaded with test uploads — but aside from that, the configuration and behavior should be identical to what you need in your app.

Please give it a look, and if anything still doesn’t behave as expected, feel free to share screenshots or a short screen recording — we’ll be happy to help further!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

@ZeroqodeSupport Thank you. The “save to file manager” action works for me now. There’s still a small issue: after resetting the camera capture element, the file manager file URL for that element doesn’t get reset. Could you fix this as well?

Hi @minxiao625,

Thanks for the update — glad to hear that the “save to file manager” action is working correctly on your side now.

Regarding the new issue you reported: I was able to reproduce the behavior where resetting the Camera Capture element does not clear the stored File Manager URL. After running several tests on different configurations, it appears that the URL state persists even after the element is reset, which confirms this is not expected behavior.

I’ve already passed all details, along with reproducible steps, to our development team so they can review the reset logic and implement a fix in an upcoming update. Once the corrected behavior is published, we’ll follow up in this thread so you can test it on your app.

In the meantime, if you have any additional screenshots, workflows, or specific scenarios where this happens, feel free to share them — this will help our devs ensure the fix covers all cases.

Thanks again for reporting this and helping us improve the plugin!

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi there, @minxiao625

Thanks for following up!

We wanted to let you know that the issue you reported with the file manager URL not resetting has been fixed. The update is now live in Camera Capture plugin version 1.10.0, and it includes the improvement: “updated action: Reset states.”

Please update the plugin to version 1.10.0 and test the reset behavior again on your side.
If anything still doesn’t behave as expected after updating, feel free to share a screenshot or a short description — we’ll be happy to help further.

Best regards,
Support Team
Browse all Zeroqode Plugins for Bubble
Banner_Last3