push-notification

Push Notifications after App is killed

只愿长相守 提交于 2020-11-30 12:34:08
问题 I can't seem to receive FCM Push Notifications that I send from the FCM console after app is killed on android, as in long-press the Overview button and swiping the app to be killed. It works absolutely fine when the app is running in the foreground or background. This may seem like a duplicate question but I have tried the other methods but I still cannot seem to get it. NotificationService.java public class NotificationService extends FirebaseMessagingService { private static final String

REST API with active push notifications from server to client

你。 提交于 2020-11-30 06:27:21
问题 Problem description i am working on a Xamarin application that consumes a REST API written in Python flask. The Xamarin application offers virtual shopping lists where user can collaborate on buying stuff they have on a shared list. To improve the user experience, i want to be able to actively notify the user about finished items on the list. Possible solutions: Synchronous API polling from client side Notifications are stored by the API in a relational database and have a flag indicating if

How do you replace one push notification with another on the receiving device?

天涯浪子 提交于 2020-11-29 02:41:59
问题 I'm trying to replicate how WhatsApp signals the callee's device about an incoming call when the caller starts a call to a user who has this WhatsApp closed. According to the lock screen, the call receiver's device seems to be repeatedly receiving push notification with an interval of approximately 1 second, saying "Call from UserName". But most notably, the notifications do not pile up. It appears that every notification about an incoming call is replaced by the next such notification. And

How do you replace one push notification with another on the receiving device?

試著忘記壹切 提交于 2020-11-29 02:41:32
问题 I'm trying to replicate how WhatsApp signals the callee's device about an incoming call when the caller starts a call to a user who has this WhatsApp closed. According to the lock screen, the call receiver's device seems to be repeatedly receiving push notification with an interval of approximately 1 second, saying "Call from UserName". But most notably, the notifications do not pile up. It appears that every notification about an incoming call is replaced by the next such notification. And