shi11 / RemoteControls

cordova 3 plugin for interacting with ios7 remote controls and metadata
57 stars 41 forks source link

Added cordova iOS 4+ support #23

Closed jcesarmobile closed 8 years ago

jcesarmobile commented 8 years ago

Added cordova iOS 4+ support. Moved most parts of MainViewController.m to the plugin class so the plugin user doesn’t have to add them. Removed the RemoteControls singleton and used the NSNotificationCenter to pass the event to the RemoteControls class.

DahliaWitt commented 8 years ago

Pull works great! It fixed iOS 9 for me and removed the need to modify other files. I would suggest adding it to npm using the new plugin structure (like cordova-plugin-remotecontrols).

fenta23 commented 8 years ago

Thx for working on this cordova ios4+ thing. It works again. Currently im looking for the prev/next Buttons in control-center? How do i show them?

Thx, Micha.

DahliaWitt commented 8 years ago

They automatically show for me, you might have to run on a physical device. @fenta23

shi11 commented 8 years ago

Hi @jcesarmobile - I'm sorry for my delay for trying out your PR. Can't wait to give it a go and Merge it. Thanks for picking up the ball and running with it! Can't wait.

fenta23 commented 8 years ago

@DrakeWitt: no, they are not there... just the play/pausebutton I would like to add listeners for those buttons, so i can skip to the next track. img_4508

kylesziv commented 8 years ago

Can this be merged in?

DahliaWitt commented 8 years ago

This repo seams dead @kylesziv. In the mean time you can do cordova plugin add https://github.com/jcesarmobile/RemoteControls

shi11 commented 8 years ago

It's not dead, big apologies, I'm testing this update now and will merge it this evening. I'm open to adding collaborators so that I'm not the broken the link.