In the instructions on how to install react-native-spotify through npm, you mention having to replace "@lufinkey/react-native-spotify" with "@lufinkey_react-native-spotify" in several .gradle files. This works during initial setup, but after linking the project again, and running npm i, my project broke down.
> Error: more than one library with package name 'com.lufinkey.react.spotify'
It seems the replaced versions of the string have been raised from the dead to haunt me, as both versions of the string are now present in my .gradle files.
compile project(':@lufinkey/react-native-spotify')
compile project(':@lufinkey_react-native-spotify')
include ':@lufinkey/react-native-spotify'
project(':@lufinkey/react-native-spotify').projectDir = new File(rootProject.projectDir, '../node_modules/@lufinkey/react-native-spotify/android')
include ':@lufinkey_react-native-spotify'
project(':@lufinkey_react-native-spotify').projectDir = new File(rootProject.projectDir, '../node_modules/@lufinkey/react-native-spotify/android')
Removing the lines that use a "/" does allow the project to start on android, but it fails immediately ( as shown in the image below ).
I have the feeling that this has something to do with this double module issue. Any thoughts on how to fix this?
See Image here

In the instructions on how to install
react-native-spotifythrough npm, you mention having to replace "@lufinkey/react-native-spotify" with "@lufinkey_react-native-spotify" in several .gradle files. This works during initial setup, but after linking the project again, and running npm i, my project broke down.It seems the replaced versions of the string have been raised from the dead to haunt me, as both versions of the string are now present in my .gradle files.
Removing the lines that use a "/" does allow the project to start on android, but it fails immediately ( as shown in the image below ).
I have the feeling that this has something to do with this double module issue. Any thoughts on how to fix this?
See Image here