-
Notifications
You must be signed in to change notification settings - Fork 101
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
Crashes on ChromeBox #13
Comments
Thanks for the detailed report. I'll post a patch on Friday when I'm back On Wednesday, December 24, 2014, Michael Zebrowski [email protected]
|
Hi Michael. The only "crash" I was able to reproduce was the page load error show in the webview when it failed to connect to the page. It will now (as of v5.1.2) attempt to reconnect once a second if the webview fails to load. Did this fix the issue for you? |
I am running the software on an ASUS Chromebox and have encountered a minor issue.
When the Chromebox is hooked up to an ethernet connection, everything works fine. However, when the Chromebox runs off of Wi-Fi the Kiosk software crashes at startup.
I believe that the issue is that the software is trying to fetch the webpage before a network connection is available as the Wi-Fi takes longer to startup than ethernet.
Is it possible to add a check for navigator.online before attempting to load the webpage?
Something along these lines:
function launch()
{
if (navigator.onLine)
{
chrome.storage.local.get('url',function(x){
$('#browser').attr('src',x["url"]).get(0).reload();
});
}
else
{
setTimeout(launch,10000);
}
}
The text was updated successfully, but these errors were encountered: