Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-nowplaying

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-nowplaying - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc