react-native-activity-recognition
react-native-activity-recognition copied to clipboard
Documentation Android about Gradle
In the readme that contains this part using gradle 4 and 5 will have problems.
- Add the compile line to dependencies in
android/app/build.gradle
...
dependencies {
...
compile project(':react-native-activity-recognition')
...
}
On version 4:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed in version 5.0 of the Android Gradle plugin.
same to me