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.34k stars 565 forks source link

Getting error running the project after installing the library #570

Open Alipatel05 opened 2 years ago

Alipatel05 commented 2 years ago

I want to use this library to location updates in background so i created a project and installed the library i used the command it the library has to link it and also used react-native link command to link it but i am getting error while starting the app

Your Environment

Expected Behavior

Code should run and app should be installed on my device( i am using physical device not a simulator )

Actual Behavior

Instead it is giving me this error

I am not sure how to fix it i have tried everything but nothing seems to work i have also added location permission to AndroidManifest.xml file but still getting the error

enriqueFcoG commented 2 years ago

add this to your android/build.gradle

`allprojects {

repositories {

   //add this line...
    maven {url 'https://jcenter.bintray.com'}

}

}`

EmanueleAgo commented 2 years ago

add this to your android/build.gradle

`allprojects {

repositories {

   //add this line...
    maven {url 'https://jcenter.bintray.com'}

}

}`

Not works for me. Any updates?

huy-lv commented 1 year ago

any update after 360 days

vish2595 commented 1 year ago

Any update?

acarkaan commented 1 year ago

any updates