bkonyi / FlutterGeofencing

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

iOS: When clicking on Register button, nothing happening #52

Open atul-sahu opened 4 years ago

atul-sahu commented 4 years ago

I have installed example app in iOS device and when i click on Register button. It does not work. It always shows Current stat: N/A. Is there any settings i need to do? In Android device it works as expected.

elouiestudent commented 4 years ago

I'm having the same issue as well. Running the example app and registering a geofence does not show any GeofenceEvents on iOS but it works well on Android. Does anyone have a solution for this problem?

jackmew commented 3 years ago

Registered Geofences: [mtv] worked. But same N/A

jackmew commented 3 years ago

oh... i got it. For Android, if you are inside the geofencing, Android will trigger enter. For iOS, if you are inside geofencing, iOS doesn't trigger. You need to really outside the geofencing area, than enter the geofencing area, than it can trigger..!

How to test:

  1. iOS simulator in the beginning, set your current location far away, at least outside geofencing area.
  2. set your custom location inside the geofencing area.

version: geofencing-0.1.0

Screen Shot 2020-09-29 at 00 25 10