react-native-spotify icon indicating copy to clipboard operation
react-native-spotify copied to clipboard

metadata function returns null

Open anker2000 opened this issue 8 years ago • 0 comments

Using the example from the example folder I added the metadata function to the code like this:

SpotifyModule.playSpotifyURI("spotify:track:12x8gQl2UYcQ3tizSfoPbZ", 0, 0.0, (error) => { if(error) { console.error('Something went wrong') } SpotifyModule.metadata((res)=>{console.log(res);}); });

All I get from the console is null. What am I doing wrong?

anker2000 avatar Jan 03 '18 16:01 anker2000