push-notification
Push Notification vs. Web Sockets for implementing a real-time chat app?
APNS is not 100% reliable. It is in most cases, but not 100%. It is also not as quick as a dedicated service you would offer. Sometimes, push messages take upwards of one minute to arrive. You need to consider these and take it into consideration in any design you come up with. If you … Read more
iOS Push Notification – How to get the notification data when you click on the app icon instead of notification
You can’t get remote push payload by launching app from homescreen. If the push data is important for app use, load it from your server after app launched.
Open PWA when clicking on push notification handled by service-worker ng7 + android
Though the provided solutions work, it will be nice to have an approach which does not modify service worker code in node_modules or the generated code. The approach can be to create another script named custom-service-worker.js In this file, importScripts(‘./ngsw-worker.js’); (function () { ‘use strict’; self.addEventListener(‘notificationclick’, (event) => { console.log(“This is custom service worker notificationclick … Read more
APNS (Apple Push Notification Service) reliability
APNS is based on Apple Servers, and Apple doesn’t give any guarantee on successful message delivery. If the app is open (i.e. the user is using the app) while the notification arrives, iOS doesn’t show a notification message, you need to handle it. Notification shows up only when the app is backgrounded or killed. Also … Read more
Ask permission for push notification
UPDATE 2022 The way we request permissions on Android has changed drastically with Android 13. Please see other answers below that mention the same. As answered here, you don’t need permissions for push notifications. Actually the push notification permission lie in the normal category permission like Internet permission, not in dangerous category permission. You don’t … Read more
Add iPhone push notification using ASP.NET server
This took me forever to figure out but I finally pieced it all together from the minor clues people left. You need to download the certificate for the APPID that you register on the developer portal. That certificate must be converted into a P12 format to be used on Windows. These commands in UNIX finally … Read more