Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Watch screen stays blank #31

Open
Scalpweb opened this issue Sep 6, 2016 · 2 comments
Open

Apple Watch screen stays blank #31

Scalpweb opened this issue Sep 6, 2016 · 2 comments

Comments

@Scalpweb
Copy link

Scalpweb commented Sep 6, 2016

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 = {

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;
}

};

@ghost
Copy link

ghost commented Oct 24, 2016

+1 same issue :(

@matishw
Copy link

matishw commented Apr 18, 2017

did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants