Linux 软件免费装
Banner图

Progressive Web App - PWA, Web Push Notifications and Offline Mode

开发者 devdiggers
更新时间 2026年10月11日 05:38
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

push notifications web push pwa progressive web apps add to home screen

下载

1.1.0 1.1.1 1.0.0

详情介绍:

This plugin turns your WordPress or WooCommerce site into a progressive web app: an app people can install on their phone from the browser, with your icon on their home screen, your splash screen when it opens, pages that still load when the signal drops, and web push notifications that bring them back. You get the three things a WordPress PWA Plugin is made of, all configurable from one menu. A web app manifest, so browsers offer to install your site. A service worker, so visited pages stay readable offline. And web push notifications through Firebase Cloud Messaging, so you can reach people on Android, Windows, macOS and iOS after they leave. Push notifications without a monthly bill Most push notification plugins are the front end of a paid service. You connect an account, and once you pass a few thousand subscribers you start paying every month to message people who already opted in on your site. Your list lives on their servers. This one works differently. You create a free Firebase project, paste three values into the settings, and notifications go out from your own project. There is no subscriber limit, no per message price and no trial period. The subscriber list sits in your own database tables, on your own server, and you can export or delete it whenever you want. Quick links Turn your website into an installable app Visitors get an install prompt on Android and desktop Chrome, and Add to Home Screen on iOS. Once installed, your site opens in its own window with no browser bar, its own app icon and its own splash screen. Offline browsing with a service worker A service worker caches the pages people visit, so a dropped signal on a train or in a lift does not end the visit. Web push notifications on Android, desktop and iOS Notifications are delivered by Firebase Cloud Messaging using your own project, so there is no cap on subscribers and no per message pricing from us. See who subscribed and what you sent Works with AMP, multisite, WPML and WooCommerce Turn off what you do not need The installable app, offline support, push notifications and analytics tracking each have their own switch, at the top of the tab where that feature is configured. Switching one off unregisters its hooks completely, which also makes it the quickest way to find out whether another plugin is conflicting. Free vs Pro Everything above is in this free plugin, with no subscriber cap, no sending fees and no trial period. DevDiggers PWA Pro adds:

安装:

  1. Upload the devdiggers-pwa folder to /wp-content/plugins/, or install the zip from Plugins > Add New.
  2. Activate the plugin through the Plugins menu.
  3. Open the Progressive Web App menu and run the Setup Wizard.
  4. For push notifications, create a free Firebase project, then paste the Firebase config, the VAPID key and the service account JSON into Configuration > Push Setup.
Push notifications and offline browsing need a secure context, so serve your site over HTTPS. Localhost is fine while you are developing. The plugin warns you in the admin if it is not.

屏幕截图:

  • Delivery Log with the type, status and audience of every push.
  • The notification list and the add notification screen.
  • Automations: auto push on publish and the welcome notification.
  • Configuration tabs for the manifest, app icons and offline behaviour.
  • Status tab with the setup checks and the browser support list.
  • The install prompt and a push notification on the storefront.

升级注意事项:

1.1.1 Fixes a fatal error when saving a push notification. Recommended for all users. 1.1.0 Adds faster admin navigation without page reloads, a refreshed list-screen layout and minor bug fixes. Recommended for all users. 1.0.0 First release. After activating, run the Setup Wizard so the manifest and service worker are generated.

常见问题:

How do I turn my WordPress site into an app?

Activate the plugin and run the Setup Wizard. It writes the web app manifest and the service worker for you, and asks for an app name, an icon and a theme colour. After that, browsers on Android and desktop offer an install prompt, and iPhone users can add your site to the home screen from the Safari share sheet.

Do I need an SSL certificate?

Yes. Browsers only allow service workers and web push over HTTPS, or on localhost during development. Without it the app cannot be installed and no notification can be delivered.

Is there a limit on subscribers or notifications?

No. Notifications are delivered by Firebase Cloud Messaging using a Firebase project you create yourself, so the sending limits are Google's rather than ours. There is no subscriber cap in the plugin, no per message price and nothing to pay us for the free version.

Do I need a Firebase account?

Yes, for push notifications. It is free to create. Add the Firebase config, the VAPID key and the service account JSON under Push Setup, then use the Test Notification button to confirm it works. The installable app and offline browsing need no Firebase account at all.

Do web push notifications work on iPhone?

Yes, within the limits Apple sets. iOS delivers web push only after the visitor has added your site to the home screen from the Safari share sheet. Once it is added, the installed app gets your icon and splash screen and can receive notifications like any other device.

Does it work with WooCommerce?

Yes. It is HPOS compatible, and the cart, checkout and account pages are kept out of the offline cache by default so nobody is shown a stale basket. Store event pushes, such as order status updates, back in stock alerts and abandoned cart reminders, are part of the Pro version.

Does it work with AMP?

Yes. On an AMP page no script is enqueued, so the page stays valid, but the manifest and app meta tags are still added and the page is still installable. Both the official AMP plugin and AMP for WP are detected.

Can I send a push automatically when I publish a post?

Yes. Turn on Auto Push on Publish under Automations and every published post broadcasts to your subscribers, using a title template with placeholders for the post title, URL, excerpt and site name. Any single post can opt out from the Send Push box in the editor.

Can I see what I have sent?

Yes. Every push is recorded in the Delivery Log with its type, delivery status, the number of devices it reached and the reason when a send fails. Knowing how many people opened each notification, as a click count and a click through rate, is part of the Pro version.

Can I use it on a multisite network or a translated site?

Yes. Each site in a network keeps its own manifest, settings and subscriber list. With WPML or Polylang, the app name, description, install banner and permission prompt are registered for translation and the manifest is served in the visitor's language.

Will this slow my site down?

The front end adds a small script and a service worker. Caching usually makes repeat visits faster rather than slower, and if you do not want a particular feature, each one has its own switch.

Can I publish the app on Google Play?

Not from the free version. Free gives you the installable web app that Android and iOS both accept from the browser. The packaging file for PWABuilder or Bubblewrap, the store readiness checks and the asset links file needed for a Play Store listing are part of the Pro version.

What happens to my subscribers if I delete the plugin?

They are kept. Deleting the plugin removes the generated service worker and manifest, because a stale service worker would keep serving cached pages, but your notifications, subscribers and delivery log stay in the database unless you tick the setting that asks for them to be removed.

更新日志:

1.1.1 1.1.0 1.0.0