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, Jun 26, 10:09 AM
Unknown Object (File)
Sat, Jun 15, 3:11 AM
Unknown Object (File)
Tue, Jun 4, 10:05 PM
Unknown Object (File)
May 24 2024, 10:43 AM
Unknown Object (File)
May 17 2024, 6:42 AM
Unknown Object (File)
May 15 2024, 10:07 AM
Unknown Object (File)
Apr 21 2024, 2:52 PM
Unknown Object (File)
Apr 20 2024, 6:11 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