I already have a dependencyResolutionManagement added to my project. This is needed by a different dependency as follows:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
}
versionCatalogs {
create("moengage") {
from("com.moengage:android-dependency-catalog:3.2.1")
}
}
}
If i comment out "repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)" from the above, I am able to build the project but my app crashes on launch.
Hi Team,
I already have a dependencyResolutionManagement added to my project. This is needed by a different dependency as follows: dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { google() mavenCentral() } versionCatalogs { create("moengage") { from("com.moengage:android-dependency-catalog:3.2.1") } } }
If i comment out "repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)" from the above, I am able to build the project but my app crashes on launch.
RN version: "react-native": "^0.73.10" dependency x: "react-native-moengage": "^9.1.0",