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)
Tue, Nov 26, 12:41 AM
Unknown Object (File)
Tue, Nov 19, 3:16 PM
Unknown Object (File)
Tue, Nov 5, 8:15 AM
Unknown Object (File)
Tue, Nov 5, 8:15 AM
Unknown Object (File)
Tue, Nov 5, 8:15 AM
Unknown Object (File)
Tue, Nov 5, 8:14 AM
Unknown Object (File)
Oct 10 2024, 4:57 AM
Unknown Object (File)
Sep 27 2024, 9:07 AM
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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage