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
There is a problem that have been introduced in the past several versions (since 0.18). The fix
you have done for cache.localUrl caused me some problems (This is the code line 258 from cordova-app-loader-complete.js):
if(changes > 0){
// Save the new Manifest
self.newManifest = newManifest;
self.newManifest.root = self.cache.localUrl;
resolve(true);
...
so when you set root property of new manifest with localUrl not with localInternalURL application could not find files when updated. On the following scenario:
install application
use autoupdate some time
release and install new mobile version
application hangs. I think It's because localStorage is not cleaned and it tries to find application files in wrong directory (localUrl). If it's set with localInternalURL localStorage is also not cleaned but this time path I think is more generic and application finds the right files. So i suggest that's better to take it back to self.cache.localInternalURL. (localUrl searches in files:///..... while localInternalURL searches in cdvfile:///)
The text was updated successfully, but these errors were encountered:
There is a problem that have been introduced in the past several versions (since 0.18). The fix
you have done for cache.localUrl caused me some problems (This is the code line 258 from cordova-app-loader-complete.js):
so when you set root property of new manifest with localUrl not with localInternalURL application could not find files when updated. On the following scenario:
application hangs. I think It's because localStorage is not cleaned and it tries to find application files in wrong directory (localUrl). If it's set with localInternalURL localStorage is also not cleaned but this time path I think is more generic and application finds the right files. So i suggest that's better to take it back to self.cache.localInternalURL. (localUrl searches in files:///..... while localInternalURL searches in cdvfile:///)
The text was updated successfully, but these errors were encountered: