bkonyi / FlutterGeofencing

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

How can multiple geofences be registered #21

Closed GadepalliAditya1998 closed 4 years ago

GadepalliAditya1998 commented 5 years ago

I see no API for registering multiple geofence regions. How can i able to achieve it. Should i use a for loop and to Iterate over the List and use the same callback for all?

bkonyi commented 4 years ago

Yes, the only way to add multiple geofences is to loop. There's no issues using the same callback for each geofence.