Hello everyone, Has anyone ever used android webview which has a game construct in it?
I'm having problems with cache from webview, when my game is successfully downloaded and successfully opened by SW.js, when writing or saving cache an error occurs
code :19
name : Network Error
message : Cache.put() encountered a network.
https://developer.mozilla.org/en-US/docs/Web/API/DOMException
Is it related to the cache size of the game? and is there a limit size of the webview cache? because I see from the SW.js script, the error comes from here:
// Not sure why cache.put() would fail (maybe if storage quota exceeded?) but in case it does,
// clean up the cache to try to avoid leaving behind an incomplete cache.
console.error(CONSOLE_PREFIX + "Error writing cache entries: ", err);
caches.delete(cacheName);
throw err;
Can anyone help ?