Skip to content

Add save to file option for image capturing#3

Merged
michaelwolz merged 2 commits intomainfrom
feat/add-save-to-file-option-for-image-capturing
Jul 23, 2025
Merged

Add save to file option for image capturing#3
michaelwolz merged 2 commits intomainfrom
feat/add-save-to-file-option-for-image-capturing

Conversation

@michaelwolz
Copy link
Copy Markdown
Owner

Add support for an optional saveToFile parameter (default: false) to the capture and captureSample methods.
When enabled, the photo is returned as a temporary file URL instead of a base64-encoded string.

This reduces I/O and improves performance when transferring high-resolution images from native code to the WebView.

@michaelwolz michaelwolz force-pushed the feat/add-save-to-file-option-for-image-capturing branch 3 times, most recently from 2bb4754 to 82e391d Compare July 23, 2025 09:59
Add support for an optional saveToFile parameter (default: false) to the
capture and captureSample methods. When enabled, the photo is returned as a temporary
file URL instead of a base64-encoded string.

This reduces bridge I/O and improves performance when transferring high-resolution images
from native code to the WebView.
@michaelwolz michaelwolz force-pushed the feat/add-save-to-file-option-for-image-capturing branch from 82e391d to 1a3de95 Compare July 23, 2025 11:52
@michaelwolz michaelwolz force-pushed the feat/add-save-to-file-option-for-image-capturing branch from f6476ba to 22066f6 Compare July 23, 2025 12:03
@michaelwolz michaelwolz merged commit b0bff7f into main Jul 23, 2025
5 checks passed
github-actions Bot pushed a commit that referenced this pull request Jul 23, 2025
## 1.1.0 (2025-07-23)

* Merge pull request #3 from michaelwolz/feat/add-save-to-file-option-for-image-capturing ([b0bff7f](b0bff7f)), closes [#3](#3)
* refactor(android): fix name shadowing warning ([22066f6](22066f6))
* feat(*): add saveToFile option for photo capture ([1a3de95](1a3de95))
* chore: remove unused import ([71ce30b](71ce30b))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@michaelwolz michaelwolz deleted the feat/add-save-to-file-option-for-image-capturing branch January 2, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant