nativescript-community / perms

An unified permissions API for NativeScript on iOS and Android.
https://nativescript-community.github.io/perms/
Apache License 2.0
12 stars 9 forks source link

Launch settings on Android #1

Closed saleemepoch closed 2 years ago

saleemepoch commented 4 years ago

Hi,

Thanks for this contribution. Perhaps the best one around for its intended purpose. Surprised it hasn't gained much traction.

A quick question: Is there a reason why openSettings() is available for iOS only? Just wondering what the limitations are.

How would you recommend I handle "Never ask me again" on android?

Thanks

DanielDent commented 2 years ago

I haven't yet tested, but I think the README might be behind the plugin's capabilities.

https://github.com/breningham/nativescript-advanced-permissions/blob/master/src/core/index.android.ts#L42 is a plugin I've used before, and it contains fairly similar code to what is located at https://github.com/nativescript-community/perms/blob/master/src/permissions.android.ts#L305

farfromrefug commented 2 years ago

@DanielDent thanks i updated the doc!