Skip to content

Commit

Permalink
Add ACCESS_MEDIA_LOCATION permission to PermisionsAndroid library
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Mar 8, 2022
1 parent aeb9fda commit 5338327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apis/PermissionsAndroid.res
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module Permission = {
@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external accessFineLocation: t = "ACCESS_FINE_LOCATION"

@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external accessMediaLocation: t = "ACCESS_MEDIA_LOCATION"

@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external addVoicemail: t = "ADD_VOICEMAIL"

Expand Down
3 changes: 3 additions & 0 deletions src/apis/PermissionsAndroid.resi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module Permission: {
@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external accessFineLocation: t = "ACCESS_FINE_LOCATION"

@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external accessMediaLocation: t = "ACCESS_MEDIA_LOCATION"

@module("react-native") @scope(("PermissionsAndroid", "PERMISSIONS"))
external addVoicemail: t = "ADD_VOICEMAIL"

Expand Down

0 comments on commit 5338327

Please sign in to comment.