I am testing out the new UNUserNotificationCenter to do some location based notifications (when a user goes within a certain area it shows an alert). I tested the code in the iOS 10 simulator changing the location to "Freeway drive" and it fires every time it approaches the trigger location. The problem is when I load it onto my physical device (iPhone 6) and do the same test is does not fire. I tried driving past it a few times while the app was open, closed. I print debug code to make sure notification are enabled and the notifications still exist and everything looks fine.. Is this normal for location notifications to be flaky or maybe a bug in the new iOS10 beta 3?
I adapted the code from this post: Add Local Notification in ios10 - swift 3
Update: I did more testing in the simulator and it is working with iPhone6s, iPhone6s Plus. It is not working with iPhone 6 (same as my physical device) and iPhone SE. Also tried "resetting the content and settings" in the simulator. It's very strange