-
Notifications
You must be signed in to change notification settings - Fork 220
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
Example app: on IOS: uncaught exception 'NSInternalInconsistencyException', reason: 'failed to set registerPlugins' #38
Comments
So for those who couldn't solve this, running on C not swift, your AppDelegate.m #include "AppDelegate.h" @implementation AppDelegate void registerPlugins(NSObject* registry) {
copy that and paste it |
To be clear, geofencing ^0.0.1 is not up to date with this repository. I wasn't intending on officially publishing this plugin as the Flutter plugins team didn't have the bandwidth to support it, so it appears that some individuals decided to publish it themselves. If you want to use this plugin as-is, your best bet is to pull it in with a local copy or a git dependency in your pubspec.yaml. |
Is this plugin using Flutter downloader plugin? |
I got same error and resoled the crash by following code
|
Running the example code in IOS result in a crash on startup with the following error message:
flutter: Initializing..
*** Assertion failure in -[GeofencingPlugin startGeofencingService:], /Users/xxx/flutter/.pub-cache/hosted/pub.dartlang.org/geofencing-0.0.1/ios/Classes/GeofencingPlugin.m:164
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'failed to set registerPlugins'
using pubspec.yaml entry:
I would be very pleased about some help or a idea for a possible solution
The text was updated successfully, but these errors were encountered: