Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Social PWA

37 sites Security covered Drupal 9–10 · not 11 Social ecosystem
View on drupal.org

This module enhances your community website by allowing users to receive push notifications for important activities. It also enables users to add the community website to their device's home screen, making it function like a native app.

The Social Progressive Web App module brings exciting new features to your Open Social community!

Push notifications

This module provides your community members with the ability to receive notifications in their browser about important community activities. By clicking the notification, the member will be taken immediately to the action. They don’t even have to be on the page!

Users are prompted one time to enable push notifications after their first login. Of course, users can always choose to enable or disable the notifications on their settings page.

Homescreen

The homescreen functionality allows users to add the community website to the home screen of their devices. This way, your website will show up as a native app. Users will have direct access and can easily enter the community.

The user may even receive a prompt to add the community website as an app if their browser supports it.

Requirements

In order to install and use the Social Progressive Web App module the following requirements are necessary:

If you do not use Composer to install this module you will also have to run the following commands:

composer require "minishlink/web-push ^2.0"
composer require "piwik/device-detector ^3.0"

Installation and configuration

When you meet the requirements mentioned above, you can simply enable the module and configure it at /admin/config/system/pwa.

On the configuration page, you will have to set the site (short)name and provide an image. The image is used on the home screen and in the push notifications.

Considerations

It's good to note that not all browsers and devices support Service Workers or push notifications. A notable exception is the Safari browser for MacOS and iOS, which does not yet support push notifications (Service Workers are supported as of Safari 11.1). See the current implementation status for all the major browsers at https://jakearchibald.github.io/isserviceworkerready.

Turning this module off may result in the inability to unregister the Service Worker. There are plans to mitigate this by implementing a default Service Worker in Drupal Core, but this has not been completed yet.

Please test this module carefully before deploying it in your production environment.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 4
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.1.13 Stable 9–10 Feb 6, 2025
2.1.12 Stable 9–10 Feb 5, 2025
2.1.11 Stable 9–10 Jan 23, 2025
2.1.10 Stable 9–10 Dec 18, 2024