Relative Content

Tag Archive for react-nativeexpolocationtaskmanager

Expo Location startLocationUpdatesAsync not triggering TaskManager in foreground

I’m currently trying to test expo location package to locate an iphone both on foreground and background. To do that, I first copied this medium example to have something to try to understand how it works. Everything seems to work fine up until I start the startLocationUpdatesAsync. But then, the function I gave to the TaskManager doesnt seem to be ever executed, be it in the foreground or the background.