shi11 / RemoteControls

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

[iOS] Add json arguments and "MusicControls" keyword #19

Open homerours opened 9 years ago

homerours commented 9 years ago

Add support for json arguments in the iOS functions (on the androidWindows branch). Maybe use "MusicControls" keyword instead of RemoteControls: it's more precise. Also implement the "music-controls-****" messages on iOS.

shi11 commented 9 years ago

Remote-Controls keyword is what Apple uses as it extends beyond music into other Media types and scenarios. see: https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/Remote-ControlEvents/Remote-ControlEvents.html

homerours commented 9 years ago

Ok. Sorry for this, I don't know anything about iOS.

shi11 commented 9 years ago

That's why we'll work well together - I don't know anything about android or windows :)

homerours commented 9 years ago

@filfat You're absolutlely right and if you want to contribute, you're welcome ;)