mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 562 forks source link

any way to run this on the latest version of react native on android? #507

Open nimrodbens opened 4 years ago

nimrodbens commented 4 years ago

i tried all the tips and tricks regarding making it work that are in the issues here. nothing made it work.

Mhd-Emad commented 4 years ago

The same issue, It's not working on Android even with manual linking.

nimrodbens commented 4 years ago

hey @Mhd-Emad , i ended up using expo's expo-location and expo-task-manager libraries and it works great both on iOS and android. you can use this library in a bare project you just need to install some other things first. you can see it here:

https://docs.expo.io/versions/latest/sdk/location/

and also here's an example of how to use it

https://snack.expo.io/@ganest/background-location-tracking

ahmedbmostafa commented 4 years ago

hey @Mhd-Emad can u send me ur contact mail ?