Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(androidx): migrated to androidx #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat(androidx): migrated to androidx #471

wants to merge 1 commit into from

Conversation

Daavidaviid
Copy link

@Daavidaviid Daavidaviid commented Feb 29, 2020

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.

@hb2708
Copy link

hb2708 commented Apr 8, 2020

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

@himat
Copy link

himat commented Aug 1, 2020

@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

@darron1217
Copy link

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

@ansarikhurshid786
Copy link

ansarikhurshid786 commented Nov 15, 2021

Any update on this. waiting for this update.

@https://github.com/Daavidaviid

@ansarikhurshid786
Copy link

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

@lakpriya1s
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants