michalchudziak / react-native-geolocation

Geolocation APIs for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revision to work in Headless JS

valery-lavrik opened this issue · comments

The problem is that the definition of coordinates does not work in Headless mode because currentActivity == null
I propose to change the logic a little, and make sure that in this case the plugin still tries to determine the coordinates.
I give an example on the screenshot

image