Page MenuHomePhabricator

[android] Fix camera roll permission on Android devices
ClosedPublic

Authored by abosh on Aug 5 2022, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 10:39 AM
Unknown Object (File)
Mon, Dec 16, 6:37 PM
Unknown Object (File)
Mon, Dec 16, 6:37 PM
Unknown Object (File)
Mon, Dec 16, 6:37 PM
Unknown Object (File)
Mon, Dec 16, 6:37 PM
Unknown Object (File)
Sun, Dec 1, 5:14 PM
Unknown Object (File)
Nov 26 2024, 12:41 AM
Unknown Object (File)
Nov 19 2024, 3:16 PM
Subscribers

Details

Summary

Related Linear issue here. The camera roll on Android devices in the app doesn't detect active permissions, despite granting all of them.

Fixed this issue by adding the ACCESS_MEDIA_LOCATION permission to the AndroidManifest.xml file. Read more about the solution here.

Depends on D4759, which is a reverting change that allowed yarn react-native run-android to pass/build the Android app.

Test Plan

Tested on Pixel 4, Pixel 2, and Nexus 5 and works as expected.

Video:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable