Skip to content
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

Update Geofencing in Callback method #86

Open
nguyenphuc1995 opened this issue Jun 2, 2022 · 3 comments
Open

Update Geofencing in Callback method #86

nguyenphuc1995 opened this issue Jun 2, 2022 · 3 comments

Comments

@nguyenphuc1995
Copy link

nguyenphuc1995 commented Jun 2, 2022

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
Copy link
Author

Screenshot 2022-06-02 at 12 57 44

@nguyenphuc1995
Copy link
Author

nguyenphuc1995 commented Jun 2, 2022

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
Copy link
Author

please help me if you have time @bkonyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant