leecrossley / cordova-plugin-apple-watch

Cordova / PhoneGap Apple Watch Plugin for Apache Cordova
http://ilee.co.uk
264 stars 43 forks source link

Working principles plugin #13

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello, I'm writing because I don't understand this plugin very well. I understood the working principles because I read the official documentation (https://developer.apple.com/library/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/index.html#//apple_ref/doc/uid/TP40014969-CH8-SW1). Reading the plugin I don't understand how I can custom my interface on my apple watch, I don't undestrand how my iphone and my watch communicate. Moreover the method init intall my storyboard on apple watch? Thank you!

leecrossley commented 9 years ago

You will need to write your own WatchKit Extension and WatchKit app with native code, this plugin only provides various methods of communication to and from your Cordova app.

The readme has been updated with more information to help you understand the different types of communication. There are now also message passing examples to get you started.