You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Selecting approximate location, a new popup appears. Then If click on 'Keep Approximate Location' again, then greeting error log.
Get location data
LocationData locationData = await location.getLocation();
to before checking the location status shows 'PermissionStatus.deniedForever'.
Expected behavior
Get latitude and longitude
Tested on:
Android, API Level 34 [emulator and real device both device]
Describe the bug
Selecting approximate location, a new popup appears. Then If click on 'Keep Approximate Location' again, then greeting error log.
Get location data
LocationData locationData = await location.getLocation();
to before checking the location status shows 'PermissionStatus.deniedForever'.
Expected behavior
Get latitude and longitude
Tested on:
Additional logs
Log --> Location Status: PermissionStatus.deniedForever
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(PERMISSION_DENIED, Location permission denied, null, null)
E/flutter (30021): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7)
E/flutter (30021): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
E/flutter (30021):
E/flutter (30021): #2 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:534:43)
E/flutter (30021):
E/flutter (30021): #3 MethodChannelLocation.getLocation (package:location_platform_interface/src/method_channel_location.dart:83:9)
E/flutter (30021):
E/flutter (30021): #4 HomeScreenState.build. (package:mafil_app/presentation/screens/home/home_screen.dart:122:37)
E/flutter (30021):
The text was updated successfully, but these errors were encountered: