Lucien Guimaraes
02/09/2021, 5:14 PMLarry Schiefer
02/09/2021, 5:19 PMPERMISSION_DENIED
then calling .shouldShowRequestPermissionRationale()
which will tell you if it is acceptable for you to tell the user why the permission is needed. Note that method will return false
if you have never requested the permission - you have to have requested it and it been denied before it will return true
.Lucien Guimaraes
02/09/2021, 5:27 PMshouldShowRequestPermissionRationale
on the official documentation but it wasn't clear that it will return true
if the permission was already asked.