(https://i.sstatic.net/mLNKYb8D.png)
Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with checkPermission) or explicitly handle a potential SecurityException More… (Ctrl+F1)
Add permission check, already asked the specified permission when the app is open, but in all places where I used that line it shows like this.
Common solution for all place where it occured
Carmel Raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.