{"action":"created","issue":{"url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/8","labels_url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/8/comments","events_url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/8/events","html_url":"https://github.com/leecrossley/cordova-plugin-apple-watch/issues/8","id":76635811,"number":8,"title":"Sample Watch App Code","user":{"login":"manifestinteractive","id":508411,"avatar_url":"https://avatars.githubusercontent.com/u/508411?v=3","gravatar_id":"","url":"https://api.github.com/users/manifestinteractive","html_url":"https://github.com/manifestinteractive","followers_url":"https://api.github.com/users/manifestinteractive/followers","following_url":"https://api.github.com/users/manifestinteractive/following{/other_user}","gists_url":"https://api.github.com/users/manifestinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/manifestinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manifestinteractive/subscriptions","organizations_url":"https://api.github.com/users/manifestinteractive/orgs","repos_url":"https://api.github.com/users/manifestinteractive/repos","events_url":"https://api.github.com/users/manifestinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/manifestinteractive/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-15T07:44:27Z","updated_at":"2015-05-16T09:16:32Z","closed_at":"2015-05-16T04:53:51Z","body":"Thank you for creating this Cordova plugin.  I have it installed and Cordova commands are responding great to JS Commands executed in the web inspector.\r\n\r\nHowever, since people like me use Cordova, which as you know is programmed in Javascript, it's quite a leap to bridge the gap to know how to connect the Native Apple Watch app.  I am actually familiar with Objective C, but still having difficulty figuring out how to actually use your awesome plugin outside of Cordova.\r\n\r\nWhat would be great is a super basic example app, or heck, even just some Objective C code snippets.\r\n\r\nSpecifically, all I need to know is:\r\n\r\n1.  How to register that a button on the Apple Watch has been pressed and communicate that to the Cordova app.  ( I can tell from your documentation what to do from there )\r\n\r\n2.  How to listen for a message in the Apple Watch ( I can tell from your documentation how to send it from Cordova ).\r\n\r\nAs you can see, the issue, as I suspect it will be for most people reading this, is how the other half works.  I myself create a lot of open source software, so I understand people nagging for stuff sucks.  But for this plugin to really see the users it could, I honestly feel a sample Watch App using your plugin is the missing piece.\r\n\r\nIf you need some \"free as in beer\" money, shoot me your paypal ;)\r\n\r\nThanks again for getting this out.  Once I can see how it works inside Objective C, I can happily crank away."},"comment":{"url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/comments/102592723","html_url":"https://github.com/leecrossley/cordova-plugin-apple-watch/issues/8#issuecomment-102592723","issue_url":"https://api.github.com/repos/leecrossley/cordova-plugin-apple-watch/issues/8","id":102592723,"user":{"login":"leecrossley","id":807783,"avatar_url":"https://avatars.githubusercontent.com/u/807783?v=3","gravatar_id":"","url":"https://api.github.com/users/leecrossley","html_url":"https://github.com/leecrossley","followers_url":"https://api.github.com/users/leecrossley/followers","following_url":"https://api.github.com/users/leecrossley/following{/other_user}","gists_url":"https://api.github.com/users/leecrossley/gists{/gist_id}","starred_url":"https://api.github.com/users/leecrossley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leecrossley/subscriptions","organizations_url":"https://api.github.com/users/leecrossley/orgs","repos_url":"https://api.github.com/users/leecrossley/repos","events_url":"https://api.github.com/users/leecrossley/events{/privacy}","received_events_url":"https://api.github.com/users/leecrossley/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T09:16:32Z","updated_at":"2015-05-16T09:16:32Z","body":"@manifestinteractive read what I said, not what you think I said :) there's a blog post coming explaining the 3 types of communication, each with examples but unfortunately I've just had a series of very tight deadlines. I'll update the readme with snippets in the meantime, as that is quicker.\r\n\r\nIf you are stuck on something specific now right, open an issue and I'll see if I can help out."}}