Skip to content

Commit

Permalink
#1534 | Remove storage access permissions to adhere to Android policy…
Browse files Browse the repository at this point in the history
… updates
  • Loading branch information
mahalakshme committed Oct 24, 2024
1 parent 170fba9 commit b20b1af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.VIBRATE"/>

<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>

<uses-feature android:name="android.hardware.telephony" android:required="false" />

<application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ export default class MediaFormElement extends AbstractFormElement {
const permissionRequest = await PermissionsAndroid.requestMultiple(
apiLevel >= General.STORAGE_PERMISSIONS_DEPRECATED_API_LEVEL ?
[
PermissionsAndroid.PERMISSIONS.READ_MEDIA_VIDEO,
PermissionsAndroid.PERMISSIONS.READ_MEDIA_IMAGES,
PermissionsAndroid.PERMISSIONS.CAMERA
]
:
Expand Down

0 comments on commit b20b1af

Please sign in to comment.