ChoiZ / NowPlaying

PhoneGap / Cordova iOS plugin that allows you to add metadatas in NowPlayingInfoCenter (MPNowPlayingInfoCenter) to your app [Discontinued]
10 stars 5 forks source link

Doesn't work? #8

Open vespino opened 8 years ago

vespino commented 8 years ago

I have included the following in my config.xml:

< gap:plugin name="com.silverorange.now-playing" / >

Also the following code:

var nowPlaying = window.plugins.nowPlaying; artist = nice_name; title = nice_name; album = nice_name; cover = 'www/icon.png'; nowPlaying.updateMetas(artist,title,station,cover);

(also without cover, but seeing this seems to be in the plugin)...

Nothing is shown on my lockscreen but the link that is played (pls file). What can I be doing wrong?

ChoiZ commented 8 years ago

Can you tell me your cordova version please?

vespino commented 8 years ago

PGB 3.7.0

ChoiZ commented 8 years ago

You run it on iOS right?

vespino commented 8 years ago

Correct. Android doesn't support these features if I'm correct.

ChoiZ commented 8 years ago

Yes It's only for iOS. I've updated the code so I have to test it before merge to master.

vespino commented 8 years ago

Any news on this?