• Sngine Community Message
    Sngine Community is currently operating in its beta phase, which means that we are actively working on configuring and optimizing various aspects of this community. As we continue to refine our features and functionality, please be aware that changes may occur unexpectedly or without prior notification. We appreciate your understanding and patience during this development period, as we strive to create the best possible experience for all members.

Notifications and PWA

Before anything, you need to know that Sngine supports 2 kinds of notifications

  • Browser Notifications.
  • OneSignal Push Notifications (via Service Workers)

1- Browser Notifications​

Admin-›-Notifications-Settings-05-11-2025_06_51_AM-1024x492.webp

Works only if:
  • The browser page is open and active (or at least the browser is running).
  • Notification permissions have been granted.
This will not work when the browser is closed because it lacks a Service Worker and Push API subscription, which are required for true background push support.

2- OneSignal Push Notifications (via Service Workers)​

Admin-›-Notifications-Settings-05-11-2025_06_57_AM-1024x434.webp

Yes, push notifications can be received even when the browser is completely closed, as long as:
  • The browser must not be uninstalled or blocked by the OS.
  • The PWA is installed, or the user previously allowed notifications via Service Worker.
  • The OS itself permits background push (modern desktop and Android browsers do).
Limitations:
  • ios (Safari) support is limited: On Safari, push notifications work only for installed PWAS (ios 16.4+).
  • On desktop browsers, notifications show even if the browser UI is closed, because the Service Worker runs in the background.
 

Donate: Campaign

Total amount
$0.00
Goal
$60.00
Back
Top