Iftekhar Rifat
Iftekhar Rifat
This library does not track the state of the application. You should use Headless JS for doing background work and call geolocation API there.
> ``` > let backgroundGeo = async (event) => { > Geolocation.watchPosition() // yet another watch? > } > AppRegistry.registerHeadlessTask('backgroundGeo', () => backgroundGeo); > ``` You should just implement it...
I've updated the example project to show how to use foreground service with location, see if it helps you. You can find the relevant changes in this commit [https://github.com/Agontuk/react-native-geolocation-service/commit/cb7b98ead8c3bde21071b256f36ff7644c5e376a](https://github.com/Agontuk/react-native-geolocation-service/commit/cb7b98ead8c3bde21071b256f36ff7644c5e376a).
@tunm1228 , as suggested above use `react-native-permissions` library. I'll remove permission related API in future major release
Can you try reinstalling the pods again ? Not sure what could be reason for this. Does this only occur during archiving or also during development ?
Unfortunately I won't be able to debug this if it's M1 specific. If anyone finds the solution please let me know. It builds fine on my intel mac with RN0.65...
[https://github.com/facebook/react-native/issues/28503](https://github.com/facebook/react-native/issues/28503) [https://github.com/facebook/react-native/issues/29605](https://github.com/facebook/react-native/issues/29605) Anyone facing this can follow these issues for possible solutions.
> C:\Users\Lucas\Desktop\folderName\projectname\node_modules@react-native-async-storage\async-storage\android\src\main\java\com\reactnativecommunity\asyncstorage\AsyncStorageExpoMigration.java:7: error: package android.support.annotation does not exist You're getting error from another library, not this one.
What is the response you're getting ? If it's `code: 3`, then you don't need to setup manually. Can you checkout the FAQ section and see if it solves your...
Share your build.gradle info (min/target/compile/build sdk versions)