Having a lot of problem with chrome not updating a web app after I compile and upload it. It says “Updating…” when running the app and looks like it updates but everything is not updated. Safari on pc works fine. Android devices running chrome are getting the issue too.Is this something anyone else is experiencing? I would say it is not an AppStudio thing but definitely having more trouble since upgrading to v7. May be coincidence. If I clear chrome’s cache it updates ok but I lose all my localstorage then.
This is what is in the console for an app that has been “updated” and not the latest version…
[Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See Deprecating Powerful Features on Insecure Origins - The Chromium Projects for more details.
hfunc.js:4191 [Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See Deprecating Powerful Features on Insecure Origins - The Chromium Projects for more details.
(anonymous) @ hfunc.js:4191
(index):1 Document was loaded from Application Cache with manifest http://www.farmmates.com/MixMateBeta/OfflineApp.appcache
(index):1 Application Cache Checking event
(index):1 Application Cache NoUpdate event
(index):1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see Google Online Security Blog: Moving towards a more secure web.
The Application Cache deprecation warning has been out for a while. We can’t do anything with it yet because Safari is still missing some critical functionality for Service Workers. There are also some concerns about the speed of Service Workers as well as older devices.
The other part of the warning deals with HTTPS. This might actually be the problem. The newest versions of Chrome no longer support loading from HTTP. Has your site been upgraded to HTTPS yet?
Not sure if I’ve fixed it but in Settings - Advanced settings-Content Setting-Javascript I added my website and now the app updates everytime, so far, and the plus is it happens instantly. I don’t see the ‘Updating…’ progress label any more
I don’t know if this is the case for you but for me, I had to switch my web sites to ssl secure sites (https).
As of Sept. 28th Google Chrome does not permit appcache on unsecure sites.
No local storage either