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

Library Crashing when running in iOS #50

Open
toniree opened this issue Jun 11, 2020 · 1 comment
Open

Library Crashing when running in iOS #50

toniree opened this issue Jun 11, 2020 · 1 comment

Comments

@toniree
Copy link

toniree commented Jun 11, 2020

Hi, I've hooked this library up to my Flutter iOS application, but trying to run the app on my iPhone is crashing with this message:

Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...
Xcode build done.                                           25.9s
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23e3cf0e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50ba89b2 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23e3cc88 +[NSException raise:format:arguments:] + 88
	3   Foundation                          0x00007fff258b8bd2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191
	4   CoreLocation                        0x00007fff24a1c99b CLClientStopVehicleHeadingUpdates + 27143
	5   geofencing                          0x000000010598efb7 -[GeofencingPlugin init:] + 631
	6   geofencing                          0x000000010598d8d8 +[GeofencingPlugin registerWithRegistrar:] + 120
	7   Runner                              0x00000001036afaa8<…>

Is the FlutterGeofencing library still supported with the latest Flutter versions? Or is the message above tied to common mistakes in implementing this library? The above pops up when trying to run on an iPhone emulator. When trying to run on a physical iPhone, the above message does not pop up, rather, the app launches and crashes immediately with no message or exception.

Things run fine when I run the app with FlutterGeofencing detached and not used, so I know it's the library that is causing the failures.

@elouiestudent
Copy link

Check issue #28

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

2 participants