cordova-plugin-nowplaying
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "cordova-plugin-nowplaying", | ||
"version": "1.0.1", | ||
"description": "Cordova Plugin Now Playing", | ||
"version": "1.0.2", | ||
"description": "Cordova Plugin for setting MPNowPlayingInfoCenter.nowPlayingInfo. Only works with > iOS 7.1. Includes support for downloading MPMediaItemPropertyArtwork asynchronously", | ||
"main": "src/www/NowPlaying.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -0,1 +1,6 @@ | ||
# Info | ||
Allows setting the lock screen information such as artist, title, and artwork. | ||
https://developer.apple.com/library/prerelease/ios/documentation/MediaPlayer/Reference/MPNowPlayingInfoCenter_Class/index.html | ||
# Install | ||
@@ -7,7 +12,9 @@ | ||
Requires linking of `MediaPlayer.framework` from XCode project settings under `General` -> `Linked Framework and Libraries` | ||
Requires linking of `MediaPlayer.framework` | ||
> XCode project settings under `General` -> `Linked Framework and Libraries` | ||
Then from javascript you will be able to call: | ||
# Use | ||
> Use only the keys that you have available and leave the others out of the javascript object, that way only the correct keys will be sent to the MPNowPlayingInfoCenter.nowPlayingInfo | ||
> It will only overwrite the values that come in by cloning the old dictionary. | ||
@@ -36,1 +43,3 @@ ```javascript | ||
``` | ||
> When using in a browser environment it will simply log the calls to `NowPlaying.set` to the console. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13300
44