Skip to content

fix(android): bump ioncamera-android to 1.0.2 for Android 18 URI grant fix - #18

Merged
alexgerardojacinto merged 1 commit into
mainfrom
fix/RMET-5241-implicit-uri-grants
Jul 8, 2026
Merged

fix(android): bump ioncamera-android to 1.0.2 for Android 18 URI grant fix#18
alexgerardojacinto merged 1 commit into
mainfrom
fix/RMET-5241-implicit-uri-grants

Conversation

@alexgerardojacinto

@alexgerardojacinto alexgerardojacinto commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description

This plugin consumes IONCAMRMediaHelper from ion-android-camera directly for camera capture. Bumped ioncamera-android from 1.0.1 to 1.0.2, which explicitly grants FLAG_GRANT_READ_URI_PERMISSION on 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_CAPTURE intents — 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.2 is not yet published to Maven Central — this PR is blocked on that release landing. Do not merge until then.

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

No code in this plugin changes behavior directly; it shares the identical IONCAMRMediaHelper call path already verified working (Android 7 API25 and Android 17) via capacitor-camera's example app built against the same fix.

Also tested with MABS 12 build

Screenshots (if appropriate)

N/A

Checklist

  • Code follows code style of this project
  • Using conventional commits
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

@alexgerardojacinto
alexgerardojacinto marked this pull request as ready for review July 8, 2026 14:18
@alexgerardojacinto
alexgerardojacinto merged commit 65c3eb6 into main Jul 8, 2026
7 checks passed
@alexgerardojacinto
alexgerardojacinto deleted the fix/RMET-5241-implicit-uri-grants branch July 8, 2026 14:34
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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants