fix(android): bump ioncamera-android to 1.0.2 for Android 18 URI grant fix - #18
Merged
Merged
Conversation
OS-pedrogustavobilro
approved these changes
Jul 8, 2026
alexgerardojacinto
marked this pull request as ready for review
July 8, 2026 14:18
capacitor-bot
pushed a commit
that referenced
this pull request
Jul 8, 2026
## [1.0.2](1.0.1...1.0.2) (2026-07-08) ### Bug Fixes * **android:** bump ioncamera-android to 1.0.2 for Android 18 URI grant fix ([#18](#18)) ([65c3eb6](65c3eb6))
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.
Description
This plugin consumes
IONCAMRMediaHelperfromion-android-cameradirectly for camera capture. Bumpedioncamera-androidfrom 1.0.1 to 1.0.2, which explicitly grantsFLAG_GRANT_READ_URI_PERMISSIONon the capture intent (in addition to the existing write flag) — see ion-android-camera#17.Context
Android 18 removes automatic URI permission grants for
ACTION_IMAGE_CAPTUREintents — apps must now explicitly request both read and write access, or the camera app silently fails to write the captured photo back into the URI.RMET-5241
Draft:
ioncamera-android:1.0.2is not yet published to Maven Central — this PR is blocked on that release landing. Do not merge until then.Type of changes
Platforms affected
Tests
No code in this plugin changes behavior directly; it shares the identical
IONCAMRMediaHelpercall path already verified working (Android 7 API25 and Android 17) viacapacitor-camera's example app built against the same fix.Also tested with MABS 12 build
Screenshots (if appropriate)
N/A
Checklist