I have an iOS and Android app which uses Firebase Cloud messaging for push notifications. And PHP for back-end (to send requests to firebase).
Some users have a problem. If they reinstall the app from scratch, they get push notifications 1-2 days. Then they just stop to receive any push notifications.
I got their firebase tokens and tried to send notifications directly from Firebase console. And they don't get it. But Firebase tells me that push successfully sent.
Checked iPhone's settings - notifications are enabled.
Can someone help me? What should I do to understand where is the problem?
Related
I am having some trouble setting up push notifications for conversations.
I followed this guide to setup push notifications to web, and I integrated with firebase but it looks like it's not sending the notifications to firebase?
I can see in the push notifications section in twilio console that it's creating the notifications but when I check the push notification reports in firebase I do not see it there. I have confirmed that firebase was integrated correctly because I can send test push notifications from the firebase console but when I send messages in twilio it does not send the push notifications through to firebase.
Feel free to ask for more info that you might need to help me solve this issue :)
I am currently developing an App with push notifications using Capacitor. I followed their guide for the implementation online and everything works so far. I am receiving a token & it is successfully sent to my backend. The problem I am facing right now is that when I try to send a push to that deviceToken via firebase admin SDK the push never reaches my phone (the same is true, when I try to target the whole iOS platform via Firebase Cloud Messaging).
I am not sure why I don't receive any pushes (I have tested it on 2 different devices -> both receive their pushToken, but none of the receive pushes, everything works just fine on android). Do you have any ideas what the problem might be here?
you should enable the capability of push notification and enable background mode such as:
!(https://i.stack.imgur.com/DGZ7h.png)
!(https://i.stack.imgur.com/z7ITq.png)
and you should go to your
firebase project settings/cloud messaging/
add or insert your APNs Authentication Key
from apple developer account
I'm trying to make the app open automatically when it receive the push notification, i am using Firebase Cloud Messaging and i've already read here about the same problem but i don't quite understand on how to use it for flutter
It's not possible to automatically launch the app once a notification has been received from Firebase Cloud Messaging. As mentioned in the docs, payloads received while the app is in the background can only be handled when the user taps on the notification.
I am implementing Pushnotification on my project.I have Connected my project to firebase and than if I push notification from firebase Cloud messaging than notification properly coming in my Real-Devices. but if I test on my real-Device to Real-Device notification than Notification is not Coming.
I dont know how to present Push Notification.
Please any one help me.
As per your description I can understand that the issue might be from backend. Please confirm with him 2 things
Server key he added is correct from your project in firebase console.
Are you setting him correct notification token.
The notification code of firebase token added is correct.
I have shared some php push notification sending link you can show to backend. But from app side things required are
- Push notification enable from capabilities.
- certification which is uploaded to firebase is proper.
- firebase token is generating or not
I want to send push notification to all users who is installed my iOS app. Can you tell me the best and easy process for this?I want to send push without storing or using any specific device token. It will work for all users. I'm using FCM for this but for user segment i don't get push notification. For single device by given fcm token it's working fine.
If you want to send push notification manually to everyone who has your app installed already you should use Firebase cloud messaging.
You can read more here: https://firebase.google.com.
If you find this answer useful/correct, please mark it as correct.