Hello All,
Does anyone know of any way to play a SpotifyURI using 'react-native-track-player'? I was able to get everything setup and working properly while using the Spotify Preview URL, but I'm not sure how to get the full track to play for an authenticated Spotify Premium user.
Side Note: I am able to play the full track using 'rn-spotify-sdk' library, but then I run into the issue of being unable to play music in the background (when app is minimized or in lock-screen).
Any advice is appreciated!
Spotify doesn't allow custom players, regular URLs as input would only work for previews. You have to integrate their own Player SDK, which also requires the Spotify app installed.
We thought in the past about creating an "addon module" that added Spotify integration, we might still do it in the future, but for now that's not planned due to its limitations.
Would you please let us know how can we use just the notification from your player ? so that we can use spotify sdk to play tracks and notification from your player to display controls
Hey @JakeMotta
Were you successful? If yes. Can you please tell me how?
Most helpful comment
Would you please let us know how can we use just the notification from your player ? so that we can use spotify sdk to play tracks and notification from your player to display controls