Add save to file option for image capturing#3
Merged
michaelwolz merged 2 commits intomainfrom Jul 23, 2025
Merged
Conversation
2bb4754 to
82e391d
Compare
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.
82e391d to
1a3de95
Compare
f6476ba to
22066f6
Compare
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))
|
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for an optional saveToFile parameter (default: false) to the
capture andcaptureSample 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.