I have implemented Onesignals web push in my PWA app made on nuxt it works fine and it receive push notification till the app is opened, but after closing the app no more notifications are received but i checked on oneSignals dashboard it shows 'Received'. (This happens in some devices, while other devices receive notifiacation even if the app is closed )
Related
Hello stack overflow community, I'm using the cross- platform FCM (Firebase Cloud Messaging) to send push notifications from my server developed with spring-boot java to my application developed with android studio java. I have an issue which is sometimes I send the push notification from the server and everything is fine (the response i get indicates that the push notification has been sent) but I don't receive it on my mobile app.
I should resend it many times to receive the last notification I sent. And sometimes I must wait almost 15 minutes to receive one notification. I want to know if the problem is with my code or in the server of firebase.
I have implemented Firebase Messaging into my Flutter app. Everything is working fine for Android. On iOS, if I received 2 or more push notifications, when I open one of those push notifications or bring the app to the foreground, onResume is triggered for all of the notifications at the same time and all of the notification are removed from my lock screen. I would expect onResume to only get called for the selected notification and onResume not getting called at all if the app is opened or brought to the foreground without interacting with the notification banner. That is how it's working for Android.
Is this the expected behavior or is there a way around this?
UPDATE
I removed content_available: true from my payload and that stopped onResumed from getting called multiple times when the app is launched/resumed, but the unopened notifications are still disappearing.
We have started using the AppCenter push messaging. Have used the tutorial: https://learn.microsoft.com/en-us/appcenter/sdk/push/android
Works fine when the app is running in the foreground or in the background.
Messages sendt when app is closed of offline is not registered by the app. The app center responds with “202 Accepted”.
The AppCenter FAQ (https://learn.microsoft.com/en-us/appcenter/analytics/faq)
If the app is offline, does the SDK store the logs and then send them
once it is back online?
Yes. If the app is offline, the SDK will store up to 300 logs in
storage. Once the network connectivity is restored, the SDK will send
these logs to the App Center backend.
I have been developing Firebase Push Notification Integrated iOS application.
I already integrated some codes, and some settings.
So I can receive Firebase Silent Push Notification when app is in foreground.
But I have a issue when app is closed.
I close app. And I send Push Notification to closed app on other iPhone.
Closed app would not receive Push Notification. But if I open closed app later, I want to know that there are a few missing Push Notifications while app has been closed.
Is it possible to know it ?
And Could I handle missing Push Notifications?
How I can receive push notification when app was closed?
When I roll up app notification received, but when I close - no.
I`m using react-native and onesignal.
You should look how to intent a service in react-native. A service work apart from the main thread of the app, so when the app is closes the service is steal working.