You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Visual Studio extension and I followed the tutorial on telerik to configure my app.
When I run the app on my device, nothing is shown on the AppleWatch screen. I receive the log on my console saying that the update has been requested, but screen stays blank... Any idea ?
Here is my code :
function onAppRequestsUpdate() {
console.log("Update requested");
var payload = {
'label': {
'value': 'Blue header label'
},
};
applewatch.loadAppMain(payload);
}
var app = {
initialize: function ()
{
this.bindEvents();
FastClick.attach(document.body);
},
bindEvents: function ()
{
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function ()
{
navigator.splashscreen.hide();
applewatch.init(function () {
applewatch.navigateToAppMain();
});
applewatch.callback.onLoadAppMainRequest = onAppRequestsUpdate;
}
};
The text was updated successfully, but these errors were encountered:
Hi all.
I'm using the Visual Studio extension and I followed the tutorial on telerik to configure my app.
When I run the app on my device, nothing is shown on the AppleWatch screen. I receive the log on my console saying that the update has been requested, but screen stays blank... Any idea ?
Here is my code :
function onAppRequestsUpdate() {
console.log("Update requested");
var payload = {
'label': {
'value': 'Blue header label'
},
};
applewatch.loadAppMain(payload);
}
var app = {
};
The text was updated successfully, but these errors were encountered: