On IOS, if the timeout is not set (default to infinity), the callback will never get called.
I looked into the native code, and I noticed that the recent v5.2.0 changed from locManager.requestLocation() to locManager.startUpdatingLocation(), which is also the root cause. I tried to revert the change, and everything works fine again.
Ran into this same thing today. Noticed when my callback wasn't happening until I added a timeout in the config
This is pretty weird, I also faced this. Don't know what could be the issue yet. I'll take a look.
Yes I am also facing the same trouble, if I remove the maximumAge it works
I've been having the same issue in my project. After reading this issue, adding the timeout option with some value fixed it for me.
For now, you have to add the timeout option. I'll rewrite the ios implementation soon, will try to address it then.
Most helpful comment
Ran into this same thing today. Noticed when my callback wasn't happening until I added a timeout in the config