Comments (6)
@JuanCecenasJPGlobal activate the debug mode and try to inspect your cache storage. Which iOS version?
from pwabuilder.
@khmyznikov I've activated debug mode and have been inspecting the cache storage. Currently, I can see and access the Indexed DB, however, I'm not observing that the files are being cached. It seems like the application always attempts to fetch files from the server instead of utilizing the local cache. Could you provide guidance on how to address this issue? Additionally, the iOS version I'm conducting these tests on is 17.2
from pwabuilder.
Same issue here!
from pwabuilder.
Additionally, I came across some information suggesting that using reload or reloadFromOrigin instead of load might have an impact on caching. Could you confirm if this could be relevant to our issue?
Furthermore, I found some resources discussing how to activate cache mode in Swift. However, I'm unsure about how to implement or configure it in our app. Would enabling cache mode or implementing any specific steps help in ensuring the correct offline functionality of our application? It's worth mentioning again that the PWA works offline seamlessly on web and Android platforms.
from pwabuilder.
Additionally, I came across a code snippet that uses navigator.storage.persist() to attempt to persist local storage in the browser. Although I've tried implementing it in my sw.js file, I receive an error message indicating that persist is not a valid function.
navigator.storage.persist().then(function(persistent) {
if (persistent)
console.log("Storage will not be cleared except by explicit user action");
else
console.log("Storage may be cleared by the UA under storage pressure.");
});
While I haven't been able to get it working yet, I thought it might be helpful to mention it here in case it provides any clues on how to address our caching issue in the iOS app.
from pwabuilder.
Hello all!
I am going to ask that we move this discussion to our Discord https://aka.ms/pwabuilderdiscord as that is where we normally handle issues for our experimental iOS platform. Thanks all!
from pwabuilder.
Related Issues (20)
- A
- [BUG] Could not package my PWA HOT 1
- [BUG] [iOS build] Xcode: Product->Build step fails HOT 1
- [PWA Builder]: Insufficient Target Hit Size for Links and Interactive Elements in PWA Builder Web App HOT 6
- [BUG] Special characters in app name causes problems with pod install HOT 9
- google login with faceID not working HOT 1
- Turn on Azure alerts for our services HOT 1
- [BUG] Can't build PWA for Android for www.bewelcome.org HOT 2
- [Feature] Promote our educational content, like TikTok, on pwabuilder.com HOT 6
- [BUG] Internal server error HOT 4
- [BUG] Report says "You do not have a secure HTTPS server" even though I have a valid SSL certificate HOT 7
- Unable to compile for Android HOT 2
- [BUG] Make sure if the HTTPS tests are timing out that the message is clear to the user HOT 5
- integrate in-app-review HOT 5
- [BUG] progress bar color for ios package should not define background color of progress bar HOT 3
- Installation fails on VS Code 1.25.1 [VSCODE]
- [CLI] Support new Whisper Starter in CLI HOT 1
- [BUG] IOS app faceID login is not working using webAuth HOT 3
- [BUG] Can't build Windows Package when changing the Classic Version HOT 1
- PWA Builder dont recognize manifest file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwabuilder.