Geofence in Flutter - Where to do a jump start?

Hey, So I’m about to implement a geofence for an app.
Usecase: Its a rally racing app and we want to trigger a few APIs and business logic as the user enters the rally’s geofence and the stage geofence. (These geofence co-ordinates and data will be given by Backend)

Concerns:

Lastly, should I go for it and implement an “on-request” logic i.e. I can check if the user is in rally’s geofence on app start. (Of course I’ll use AI to build up the logic of all this maths xD)

Thanks

Just use geo_utilities does all the checks for you

1 Like

By far probably one the finest advice I got in this niche of geofence. Thanks man, I’m surely looking for packages and libraries. There’s not much support flutter, for android/iOS there are tons of native support package available so I’m just trying ti build up some custom solutions.

Cheers (Thanks once again)

Don’t know about fencing, but if you want to get a boundary of any shape in your app if you got the coordinates, you can try maplibre_gl package. It has got all the shapes you want to implement in your app.

Thanks mate, but we went with native solutions in iOS/Android and it solved the problem