Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:] #65

Open
alexei-28 opened this issue Aug 6, 2020 · 0 comments

Comments

@alexei-28
Copy link

Android Studio 4 + Flutter pluggin

MacOS 10.15 - Catalina

geolocator: ^5.3.2+2

When I start my Flutter's project on Android device it's run success. And success work with geolocations. Nice.

But when I start my Flutter project on iphone (9) I get error:

*** Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreLocationFramework/CoreLocation-1861.3.25.50/Framework/CoreLocation/CLLocationManager.m:609
Lost connection to device.
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)'
	*** First throw call stack:
	(0x2276f91b 0x21f0ae17 0x2276f7f1 0x22f53529 0x286c32ed 0x1ed13a1 0x1ed11eb 0x1ed1985 0x1ed0543 0x1ecfe29 0x2a54c5 0x25209b 0x29960d 0x260257 0x261c6b 0x2273258f 0x227321c1 0x2273000d 0x2267f229 0x2267f015 0x23c6fac9 0x26d53189 0xf9edd 0x22327873)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant