hasPermission
Checks if the app has the necessary permissions to access the device's location.
Return
true if the app has the necessary permissions, false otherwise.
Checks if the app has the necessary permissions to access the device's location.
true if the app has the necessary permissions, false otherwise.