react-native-background-geolocation
react-native-background-geolocation copied to clipboard
feat(androidx): migrated to androidx
Theses changes made the library work on one of my project. And I think it might be easier for other people to contribute to this project in the future if it's natively using androidx.
Tests fail because no react-native dependencies is found so it's ok.
@mauron85 Can please take a look will help all of us who wants to migrate to Androidx
@Daavidaviid I installed this branch into my repo, but I get this new error now
Install via yarn add https://github.com/Daavidaviid/react-native-background-geolocation.git#feat/migrate-to-androidx
> ./gradlew bundleRelease
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/x/Workspace/Web/x/node_modules/@mauron85/react-native-background-geolocation/android/lib/build.gradle' line: 29
* What went wrong:
A problem occurred evaluating project ':@mauron85_react-native-background-geolocation'.
> Could not read script '/Users/x/Workspace/Web/x/node_modules/@mauron85/react-native-background-geolocation/android/common/VERSIONS.gradle' as it does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':@mauron85_react-native-background-geolocation'.
> compileSdkVersion is not specified. Please add it to build.gradle
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
I've created fork to solve this issue. https://github.com/darron1217/react-native-background-geolocation
Any update on this. waiting for this update.
@https://github.com/Daavidaviid
@Daavidaviid can you please send me your package because this library is not update long before.
FAILURE: Build failed with an exception.
-
Where: Build file '/Users/lakpriyasenevirathna/Documents/Apps/CodeScale/wheresnow/node_modules/@darron1217/react-native-background-geolocation/android/lib/build.gradle' line: 85
-
What went wrong: A problem occurred evaluating project ':darron1217_react-native-background-geolocation'.
Project with path ':@darron1217_react-native-background-geolocation-common' could not be found in project ':darron1217_react-native-background-geolocation'.
I'm getting this errror. Any solution for this?