react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

feat(androidx): migrated to androidx

Open Daavidaviid opened this issue 5 years ago • 6 comments
trafficstars

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.

Daavidaviid avatar Feb 29 '20 18:02 Daavidaviid

@mauron85 Can please take a look will help all of us who wants to migrate to Androidx

hb2708 avatar Apr 08 '20 07:04 hb2708

@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

himat avatar Aug 01 '20 01:08 himat

I've created fork to solve this issue. https://github.com/darron1217/react-native-background-geolocation

darron1217 avatar Feb 06 '21 03:02 darron1217

Any update on this. waiting for this update.

@https://github.com/Daavidaviid

ansarikhurshid786 avatar Nov 15 '21 12:11 ansarikhurshid786

@Daavidaviid can you please send me your package because this library is not update long before.

ansarikhurshid786 avatar Nov 16 '21 05:11 ansarikhurshid786

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?

lakpriya1s avatar Nov 05 '22 08:11 lakpriya1s