Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Android permissions adding all missing Android permissions. #232

Closed
wants to merge 1 commit into from

Conversation

louie2107
Copy link

@yonahforst, merging this PR would allow for use of all dangerous Android permissions.

Thank you!

event: PermissionsAndroid.PERMISSIONS.READ_CALENDAR,
writeEvent: PermissionsAndroid.PERMISSIONS.WRITE_CALENDAR,
accounts: PermissionsAndroid.PERMISSIONS.GET_ACCOUNTS,
readStorage: PermissionsAndroid.PERMISSIONS.READ_EXTERNAL_STORAGE,
storage: PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,
photo: PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yonahforst should this be asking for READ_EXTERNAL_STORAGE instead of WRITE_EXTERNAL_STORAGE?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It probably should be. I didn't touch any existing code because I didn't want to make any breaking changes. I just added the remaining permissions that weren't included.

@rahsheen
Copy link

rahsheen commented Aug 5, 2018

Any reason this isn't being merged yet? Is it incorrect? Just curious.

@paour
Copy link

paour commented Feb 27, 2019

I too need coarse location permission for Android.

@davebro
Copy link

davebro commented Aug 13, 2019

Is this proposing to add in a separate type of readStorage for PERMISSIONS.READ_EXTERNAL_STORAGE? I thought the general path going forward was that storage just gave you both read and write permissions, no?

@mikehardy
Copy link

Not sure about this module, but in android in general, they are definitely separate permissions. They are not interchangeable though write includes read of course. Even upcoming Android 10 / Q maintains them, and they are separate, although they are now scoped per app https://developer.android.com/preview/privacy/scoped-storage

@zoontek
Copy link
Owner

zoontek commented Sep 28, 2019

I am closing this since this issue does not exists anymore with the 2.0.0 release.

@zoontek zoontek closed this Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants