Closed stalteri closed 4 weeks ago
Plugin version: "4.17.3-rc.1"
Re-install with version 4.17.2
Re-install with version
4.17.2
same issue with 4.17.2
also have this warns after gradle sync in android studio:
attempt to reproduce in a freshly-generated RN "HelloWorld" app.
attempt to reproduce in a freshly-generated RN "HelloWorld" app.
I understand that most likely the package will work on a fresh project, but I need it to work on my project (which, by the way, was started not so long ago and has the penultimate version of react native). I tried to configure it to see if it would meet my needs and if I should buy a license.
It will take you 5 mins to test in a HelloWorld
fixed by moving maven urls to settings.gradle file dependencyResolutionManagement section:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
.
.
.
// Required for react-native-background-geolocation
maven { url("${project(':react-native-background-geolocation').projectDir}/libs") }
maven { url 'https://developer.huawei.com/repo/' }
// Required for react-native-background-fetch
maven { url("${project(':react-native-background-fetch').projectDir}/libs") }
.
.
.
}
}
Your Environment
react-native -v
): 0.74.3Expected Behavior
App build succesfully
Actual Behavior
App does not build
Steps to Reproduce
Context
App does not builds after plugin installed
build.gradle