bkonyi / FlutterGeofencing

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

App crashes on iOS Simulator on hot restart #24

Closed JFreakDK closed 4 years ago

JFreakDK commented 4 years ago

The details about this issue is shared in the issue from the flutter repo here: https://github.com/flutter/flutter/issues/43621

Basically the example app (and other apps using the plugin) crashes on hot restart.

We reimplemented the plugin in Swift (https://github.com/JFreakDK/FlutterGeofencing/) but the same issue occurs in this ObjectiveC version.

bkonyi commented 4 years ago

Looks like the hot restart was triggering the background service to attempt to re-register all plugins. This should be fixed as of this change.