react-native-beacons-manager
react-native-beacons-manager copied to clipboard
Could not find method compile() for arguments
Version
1.0.6
Platform
iOS | Android
OS version
iOS 10| android 7.0...
Steps to reproduce
- get package with npm
- run comman "npm run android" on fresh react native project
Expected behavior
What should happen The code should be compile without errors
Actual behavior
What is happening the code does not compile. I use gradle version 7+ and openJDK 11 and react-native v.0.69 problem occurred evaluating project ':react-native-beacons-manager'.
Could not find method compile() for arguments [org.altbeacon:android-beacon-library:2.16.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
compile method() has been deprecated starting from gradle v7. Replace 'compile' with 'implementation' For reference https://github.com/sashko9807/react-native-beacons-manager/commit/32d013ebff87733cccf60f62532cf509f540daf0
@SERCHAT @sashko9807 Are you able to scan the iBeacons using this library? If yes could you please share your code or help me in fixing this issue.