FlutterGeofencing icon indicating copy to clipboard operation
FlutterGeofencing copied to clipboard

Update Geofencing in Callback method

Open nguyenphuc1995 opened this issue 2 years ago • 3 comments

I have more than 40 geofences, but ios limit is only 20 I decided to update my 20 closest geofences when [enter/leaving my geofences] Unfortunately, when i receive GeofenceEvent.exit in "Callback", i call

final list = await GeofencingManager.getRegisteredGeofenceIds();

and it return me

flutter: MissingPluginException(No implementation found for method GeofencingPlugin.getRegisteredGeofenceIds on channel plugins.flutter.io/geofencing_plugin)

Screenshot 2022-06-02 at 12 07 42

Please help, thank you so much!

nguyenphuc1995 avatar Jun 02 '22 05:06 nguyenphuc1995

Screenshot 2022-06-02 at 12 57 44

nguyenphuc1995 avatar Jun 02 '22 05:06 nguyenphuc1995

solution: code using SendPort

Screenshot 2022-06-02 at 13 32 16

It work when open in foreground, background, but dont work when app's killed, still this error

nguyenphuc1995 avatar Jun 02 '22 06:06 nguyenphuc1995

please help me if you have time @bkonyi

nguyenphuc1995 avatar Jun 14 '22 03:06 nguyenphuc1995