Added cordova iOS 4+ support - #23
Conversation
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.
Added a MainViewController category to avoid the manual step of adding remoteControlReceivedWithEvent method
Removed info tag from plugin.xml as manual modifications are no longer necessary
DahliaWitt
commented
Mar 6, 2016
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
Mar 31, 2016
Thx for working on this cordova ios4+ thing. It works again. Thx, Micha. |
DahliaWitt
commented
Mar 31, 2016
They automatically show for me, you might have to run on a physical device. @fenta23 |
shi11
commented
Mar 31, 2016
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
Apr 4, 2016
kylesziv
commented
Apr 14, 2016
Can this be merged in? |
DahliaWitt
commented
Apr 14, 2016
This repo seams dead @kylesziv. In the mean time you can do cordova plugin add https://github.com/jcesarmobile/RemoteControls |
shi11
commented
Apr 15, 2016
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. |
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.