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)
Thu, Oct 10, 4:57 AM
Unknown Object (File)
Sep 27 2024, 9:07 AM
Unknown Object (File)
Sep 27 2024, 9:07 AM
Unknown Object (File)
Sep 27 2024, 9:07 AM
Unknown Object (File)
Sep 27 2024, 9:07 AM
Unknown Object (File)
Sep 19 2024, 10:36 PM
Unknown Object (File)
Sep 19 2024, 12:18 PM
Unknown Object (File)
Sep 13 2024, 1:17 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable