Open JoseWalker opened 8 years ago
@EddyVerbruggen is nice to have a chat with you man! do not regret anything my friend! you do what you think is best, even if my comments are sharp, Who cares?!
I've seen your code and it's very nice, and shows your expertise on the matter.
At the end of the day Time is Money! says almost every theory in economy. I didn't know you have 1 day time difference. Point on my favor.
I do play reverse psychology because people mostly feel touched by bad comments, you are one of those though. I've managed people for very long time, and I just played it.
Again, at the end of the day, the message is still the same: WE ARE EAGER TO USE YOUR PLUGIN! HELP US OUT!!!
Thanks!
@JoseWalker, I just had the same issue. Hint: there's a branch called
that should solve your problem with configuring xcode with watchkit2.
But, since in watch os 3 Glances disappeared the plugin seems to display all the glances from the storyboard by default. Trying to find out how to dynamically show/hide them at the moment... Hope that helps.
btw, I don't get your aggressive style. not very constructive.
Hi @mgrubinger Were you able to successfully run the APIs from watchos2 branch? Tried it, the watchos simulator stays blank.
Hey @leouze, yes, I managed to get it up and running with the watchos2 branch. Simulator shows all the glances from the storyboard. Make sure to uninstall the cordova-plugin before adding it from the watchos2-branch again. Did you set up the profiles etc for xcode correctly?
My God, thank you @mgrubinger for the response.
Yes, I do uninstall the cordova-plugin-applewatch first and add the watchos2 branch again. And yes all the profiles and app groups are setup correctly.
When I am trying to init the plugin, it calls success on the success callback.
applewatch.init(function () {
console.log('Success')
});
Now when I try to call
var payload = {
'label2': { // optional, max 2 lines
'value': 'UI built @ ' + new Date(),
'color': '#FFFFFF',
'font': {
'size': 8 // default 12
}
}
};
applewatch.loadAppMain(payload);
It returns this error on Xcode and no response on Watch(Simulator):
[WCSession _onqueue_notifyOfMessageError:withErrorHandler:] errorHandler: NO with WCErrorCodeMessageReplyFailed->WCErrorCodeNotReachable
Any ideas pleaseee?
Hi @leouze,
don't know if you figured out already, but you have to have these two callbacks defined:
applewatch.callback.onLoadAppMainRequest
and
applewatch.callback.onLoadAppDetailRequest
Just assign a empty function until you acually need it to get rid of the error. Hope that helps. Cheers.
@mgrubinger any progress being able to hide various elements or getting this working for watchOS3/4?
@socca1157 sorry, I can't help you any further as I haven't worked with the plugin in the meantime. good luck!
In the installation section for XCode says "File > New > Target > Apple Watch: Language ObjC, Select Glance and Notifications > Finish > Activate" that is no longer valid with the latest XCode.
This is absolutely necessary? how it works in the new version?
https://github.com/Telerik-Verified-Plugins/AppleWatch#xcode