doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.31k stars 1.02k forks source link

Android build crashes on already present dependencyResolutionManagement #2399

Closed SrinjoyBarman closed 1 week ago

SrinjoyBarman commented 2 weeks ago

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",

jspizziri commented 1 week ago

@SrinjoyBarman , I'm not sure how this library is involved in this issue. I'm going to close this ticket until you make that more clear.