MacKentoch / react-native-beacons-manager

React-Native library for detecting beacons (iOS and Android)
MIT License
582 stars 316 forks source link

Could not find org.altbeacon:android-beacon-library #270

Open iSaBo96 opened 11 months ago

iSaBo96 commented 11 months ago

Version

1.1.0

Platform

Android

OS version

Android 12

Steps to reproduce

  1. Create a "hello world"-App
  2. Add the library
  3. Change compile to implementation in the build.gradle file of the package
  4. run "npm run android"

Expected behavior

Run the App

Actual behavior

I get the following error: > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not find org.altbeacon:android-beacon-library:2.16.1. Searched in the following locations: - https://oss.sonatype.org/content/repositories/snapshots/org/altbeacon/android-beacon-library/2.16.1/android-beacon-library-2.16.1.pom - https://repo.maven.apache.org/maven2/org/altbeacon/android-beacon-library/2.16.1/android-beacon-library-2.16.1.pom - file:/Applications/XAMPP/xamppfiles/htdocs/Localizer/AwesomeProject/node_modules/jsc-android/dist/org/altbeacon/android-beacon-library/2.16.1/android-beacon-library-2.16.1.pom - https://dl.google.com/dl/android/maven2/org/altbeacon/android-beacon-library/2.16.1/android-beacon-library-2.16.1.pom - https://www.jitpack.io/org/altbeacon/android-beacon-library/2.16.1/android-beacon-library-2.16.1.pom Required by: project :app > project :react-native-beacons-manager

Does anybody know why? I already change "compile" to implementation in the build.gradle file

yasintz commented 10 months ago

I am recommending to use https://github.com/JanSneeuw/react-native-beacon-radar

iSaBo96 commented 10 months ago

Thank you. I will test the library :)