Skip to content

This plugin provides a PhoneGap / Cordova API for the Spotify iOS SDK.

License

Notifications You must be signed in to change notification settings

gnbm/cordova-spotify-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

This plugin provides a PhoneGap / Cordova API for the Spotify iOS SDK.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 56.6%
  • JavaScript 36.8%
  • Shell 4.3%
  • HTML 2.0%
  • Other 0.3%