As best I can tell, Apple Simulator does not work with geofences. If somebody with access to Simulator could spare five minutes to test this, I'd appreciate it.
This test does not involve B4i or any code, the test will only use:
To perform the test follow these steps in the Simulator, to make sure you're doing the same test as I do:
I've done this several times, using different iOS devices, and verified location in several ways. All apps that show location and map show the correct location, but whatever I do, I can't get the geofence to trigger. I've also verified this using a real iOS device, where I've set several reminders with locations, and then went for a drive - it works like a charm and the Reminder app does indeed work as expected.
This test does not involve B4i or any code, the test will only use:
- Simulator running some kind of iPhone
- Reminders, an Apple app which should already be installed
- Apple Maps, which also should also be installed already
To perform the test follow these steps in the Simulator, to make sure you're doing the same test as I do:
- In the Simulator...
- Go to menu Features -> Locations and pick Apple
- Go to menu Features -> Locations and pick Apple
- In the simulated iOS device...
- Start the app Reminders (icon looks like this)
- Make a new reminder:
- Name it something sane
- Tap Details
- Enable Location and tap the (i) icon
- Pick Current location (which will be at the Apple office we selected above, in 1.1)
- Make sure "Exiting" (perhaps "leaving" - I'm not using English iOS) is selected
- Go back to the previous reminder screen
- Make sure the Priority is highest possible
- Tap Done to save the reminder
- Tap the "physical" button to go to home screen
- Start Apple Maps so you can see the location of the device (this won't disturb the test)
- Verify that it still shows you at the Apple office at Infinite Loop
- Verify that it still shows you at the Apple office at Infinite Loop
- In the Simulator...
- Go to menu Features -> Locations and pick City Run
- This will start a jogging session, starting from the Apple office, very close to the position in 1.1
- Wait and watch Apple Maps as the jogging session within a minute leaves the Reminder area and continues further and further away
- Pull down from top to verify whether there is a notification or not
- Go to menu Features -> Locations and pick City Run
- In this thread...
- Post your results.
I've done this several times, using different iOS devices, and verified location in several ways. All apps that show location and map show the correct location, but whatever I do, I can't get the geofence to trigger. I've also verified this using a real iOS device, where I've set several reminders with locations, and then went for a drive - it works like a charm and the Reminder app does indeed work as expected.