Skip to content

timflapper/cordova-spotify-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

424f3a9 · Aug 22, 2016
Dec 13, 2014
Aug 19, 2016
Jan 31, 2015
Jan 31, 2015
Dec 12, 2014
Dec 13, 2014
May 4, 2014
Jan 31, 2015
Feb 1, 2016
Feb 1, 2016
Nov 14, 2014
Jan 31, 2015

Repository files navigation

Cordova Spotify Plugin

Build Status

This plugin provides a javascript API to Spotify's iOS SDK for Cordova applications.

Android integration is planned for a future release

Installation

  1. Install the plugin:

     `cordova plugin add com.timflapper.spotify`
    
  2. Add the iOS platform to your project (if needed):

     `cordova platform add ios`
    
  3. The install script will start automatically. It will do two things:

That's it!

API

Documentation can be found here

Setting up a token exchange service

You can use the Ruby script that is included in the Spotify iOS SDK Demo Projects for development:

Non-interactive installation

To avoid being prompted for the custom URL scheme, you can alternatively provide it in an environment variable:

export CORDOVA_SPOTIFY_URL_SCHEME=somecustomscheme
cordova plugin add com.timflapper.spotify

License

MIT