fix(android): bump ioninappbrowser-android to 2.0.1 for Android 18 URI grant fix - #74
Merged
Merged
Conversation
…I grant fix RMET-5241
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. Pull Request Developer GuidanceQuestions? See the Wiz FAQ. Please contact the Security Office if you encounter issues with Wiz pull request scanning. |
alexgerardojacinto
marked this pull request as ready for review
July 8, 2026 14:18
alexgerardojacinto
requested review from
OS-pedrogustavobilro,
andredestro,
capacitor-bot,
eric-horodyski,
markemer and
theproducer
and removed request for
a team
July 8, 2026 14:18
OS-pedrogustavobilro
approved these changes
Jul 8, 2026
capacitor-bot
pushed a commit
that referenced
this pull request
Jul 8, 2026
## [2.0.2](2.0.1...2.0.2) (2026-07-08) ### Bug Fixes * **android:** bump ioninappbrowser-android to 2.0.1 for Android 18 URI grant fix ([#74](#74)) ([0373fbd](0373fbd))
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 delegates entirely to
OSIABEngine/OSIABRouterinOSInAppBrowserLib-Android. Bumpedioninappbrowser-androidfrom 2.0.0 to 2.0.1, which explicitly grantsFLAG_GRANT_READ_URI_PERMISSION/FLAG_GRANT_WRITE_URI_PERMISSIONon the WebView file-chooser capture intents — see OSInAppBrowserLib-Android#57.Context
Android 18 removes automatic URI permission grants for
ACTION_IMAGE_CAPTUREintents (and similarly affectsACTION_VIDEO_CAPTURE) — apps must now explicitly request read/write access, or the camera app silently fails to write the captured media back into the URI.RMET-5241
Draft:
ioninappbrowser-android:2.0.1is 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
OSIABEngine/OSIABRoutercall path already verified working (Android 8 and Android 17) viacapacitor-os-inappbrowser's example app built against the same fix.Also tested with MABS 12 build
Screenshots (if appropriate)
N/A
Checklist