PWA — easy way to Progressive Web App source code
By iworks (Marcin Pietrzak), on WordPress.org since 2021. 1,000+ active installs.
Progressive Web Apps (PWA) is a technology that combines the best of mobile web and the best of mobile apps to create a superior mobile web experience. Below is its source code for every one of its 13 releases, what changed in the latest one, and how often it ships.
What changed in 1.9.1
Released Dec 2, 2026, 2 weeks after 1.9.0- New: Share Target support — the installed app can appear in the system share dialog (share_target manifest member, #16). Configure the HTTP method, action URL and accepted shared data (title, text, URL) in the settings. Filter: iworks_pwa_share_target.
- Update: Updated the iWorks Rate module to version 2.3.3.
- Fix: WooCommerce integration — fixed a duplicated path segment in the integration include, which caused a PHP warning (“Failed to open stream”) on sites running WooCommerce. Fatal error with WooCommerce in iWorks PWA 1.9.0. Props for Boxerke.
- Fix: Manifest display_override is now emitted as an array, as required by the spec (browsers previously ignored it).
- Fix: A failing precache URL no longer blocks service worker installation (precache is now best-effort per URL).
- Security: JS string escaping in the generated service worker now handles backslashes, preventing code injection via exclude patterns.
32 files changed since 1.9.0: 18 modified, 14 added, 0 removed.
- assets/pwa/offline.html modified, same size
- assets/scripts/admin.js modified, same size
- assets/scripts/admin.min.js modified, same size
- assets/scripts/frontend.js modified, same size
- assets/scripts/frontend.min.js modified, same size
- assets/styles/iworks-pwa-frontend.css modified, same size
- assets/styles/iworks-pwa-frontend.min.css modified, same size
- assets/templates/service-worker.js modified, same size
- etc/options.php modified, +2,865 bytes
- includes/iworks/class-iworks-pwa.php modified, -13 bytes
And 22 more.
Compare 1.9.0 with 1.9.1Release history
13 releases since March 2025- 1.9.1 Dec 2, 2026 New: Share Target support — the installed app can appear in the system share dialog (share_target manifest member, #16). Configure the HTTP method, action URL and accepted shared data (title, text, URL) in the settings. Filter: iworks_pwa_share_target.
- 1.9.0 Nov 17, 2026 New: Runtime caching strategies — visited pages now work offline. Choose “Network first” (recommended), “Stale-while-revalidate” or “Cache first” for navigations; static assets (CSS, JS, images, fonts) are always served cache-first.
- 1.8.0 Jul 20, 2026 Dependencies: Updated the iWorks Options module to version 3.1.1.
- 1.7.9 Jun 17, 2026 Dependencies: Updated the iWorks Options module to version 3.1.0.
- 1.7.8 Sep 1, 2025 Dependencies: Updated the iWorks Options module to version 3.0.8.