https://kotlinlang.org logo
#splitties
Title
# splitties
h

Harun

01/21/2020, 11:20 AM
Hello, with the permissions on Splitties, is there a way to check if the permissions have been granted on the settings part? For example, location permissions, an app can have the permissions granted but gps not enabled or turned on, is there a way to prompt with the dialog and enable gps?
l

louiscad

01/21/2020, 2:43 PM
Hello, there's nothing built-in to check the location settings. Note that unlike permissions which once granted, are always so for the rest of the life of the process (Android kills/restarts the process if user denies a permission back), the location enabled setting can change at any time. Consequently, we'd need a
Flow
. That is something you can already do on your own. That said, adding it to Splitties, at least in the sample would be a good idea, thanks for letting me know about your interest regarding this.
h

Harun

01/23/2020, 9:02 AM
Thank you for your clarification
6 Views