Here is the Demo for the Location Permission in All Android Versions
I have tested with multiple scenarios , here is the scenario list
- Android 8 to 13 tested
- If permission given and location not enabled
- If permission deny two times (According to the rule changes from Android 11)
- If permission denied
- Programmatically Enabled Location Permission