skip to Main Content

Location Permission Status – always getting as denied in Flutter

I have created below method to check the location permission status in my flutter application: Future<void> checkLocationPermission( BuildContext context, UserCredential userCredential) async { locationPermissionStatus = await permission_status.Permission.location .request() .then((value) async { if (locationPermissionStatus.isGranted) { displayToast("granted"); await getCurrentLocation(context, userCredential); } else…

VIEW QUESTION
Back To Top
Search