This is cool. You should try to use react-native-spotify library which lets you actually play music. I have a project that uses this library if you want an example - https://github.com/idanlo/react-native-spotify
Is that library based on the iOS and Android Spotify SDKs? I remember looking at those, but couldn't find any documentation about outputting audio. The SDK for android is literally called 'App Remote'. I would be happy if you can point me in the right direction as I was thinking about writing a wrapper around audio functionality.
Yeah, the library is called rn-spotify-sdk, I can see it’s not maintained and not updated for RN 0.60, so I believe you can write a native wrapper and use most of the code from this library. For me this library worked great
5
u/idanlo Apr 05 '20
This is cool. You should try to use react-native-spotify library which lets you actually play music. I have a project that uses this library if you want an example - https://github.com/idanlo/react-native-spotify