张平
张平
If I add this event to my PWA app, Chrome for Android will display a banner added to the home screen. If there is no such event, it won't. The...
My question is similar [https://stackoverflow.com/questions/44393892/chrome-not-showing-add-to-homescreen-in-my-pwa](url) my manifest.json : ```json { "short_name": "MyPWA", "name": "MyPWA", "icons": [ { "src": "/Logo.png", "sizes": "512x512", "type": "image/png" }, { "src": "/Logo.png", "sizes": "144x144", "type":...
ok,my `offline-plugin` config is ```typescript { appShell: '/', updateStrategy: 'changed', version: IsProduction ? pkg.version : null, autoUpdate: 1000 * 60 * 60, ServiceWorker: { events: true }, } ``` in...
I create a demo [OfflineDemo](https://github.com/Zane0816/OfflineDemo) in github When I access [OfflineDemo](https://zane0816.github.io/OfflineDemo/) with Chrome on my Android phone, I don't see the "Add to Home Screen" prompt.
Is it possible to add a configuration in responseStrategy: 'cache-first', not to cache all the first time, but cache at the time of the request