Describe the bug
When a flutter web app is launched on mobile through a third party app (tested on messenger) Location.instance.hasPermission() throws a null check operator used on a null value exception.
I'm not too sure why, but I was able to narrow it down to location_web-5.0.1/lib/location_web.dart:44
Expected behavior
No exception should be thrown and it should return permission denied.
Describe the bug When a flutter web app is launched on mobile through a third party app (tested on messenger)
Location.instance.hasPermission()
throws anull check operator used on a null value
exception. I'm not too sure why, but I was able to narrow it down tolocation_web-5.0.1/lib/location_web.dart:44
Expected behavior No exception should be thrown and it should return permission denied.
Tested on: