bkonyi / FlutterGeofencing

Rough work for Flutter geofencing plugin
BSD 3-Clause "New" or "Revised" License
338 stars 220 forks source link

Plugin is not being registered on the isolate (iOS) #15

Closed madtocc closed 5 years ago

madtocc commented 5 years ago

In my app some Geofence should be removed after some conditions, so I want to remove some of them (in some particular cases) after they were triggered. I was testing on Android and it is working fine but on iOS I'm not being able to do it.

When the geofence event is triggered I'm not being able to initialise/register/remove the geofence plugin inside the callback on iOS. Apparently the plugin is not being initialised from within the isolate: MissingPluginException (MissingPluginException(No implementation found for method GeofencingPlugin.initializeService on channel plugins.flutter.io/geofencing_plugin)).

Any thoughts on how to solve this? Thanks;

madtocc commented 5 years ago

nvm... it is possible to access it through the background channel.