bkonyi / FlutterGeofencing

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

Fix missing plugin exception in iOS #41

Closed tashiwangdi closed 2 years ago

tashiwangdi commented 4 years ago

We get Missingplugin exception for GeofencingPlugin when we log out of the app and log in again. We register GeofencingPlugin upon logging into the app. In our app, the login module is part of the native swift code and upon login, we start the flutter engine. Removing the check for GeofencingPlugin instance helps avoid that. @bkonyi : could you please review this? Not sure if this is the best solution but this seemed to help in our situation.