Beware! this plugin is in a very early (alpha) stage. Please try it out but do not use for production.
Currently the Spotify iOS SDK is in beta and breaking changes can occur without prior notice.
copy the Spotify.framework folder from the Spotify iOS SDK to the root directory of your project. You can find it here.
Install the plugin:
cordova plugin add https://github.com/timflapper/cordova-spotify-plugin
Try it out.
Documentation can be found here
To set up a token exchange service you have two options: