Firebase Push Notification not receive Message on ios with flutter - ios

I have flutter application use firebase messaging, on android platform notification get normaly, but for ios platform i didn't receive any message from firebase, i have followed firebase documentation,
i add APNs Auth key to firebase
setup background mode on my runner sign & capabillities
and on my AppDelegate.swift i am add
result to get token from firebase is success and i send it to my server
and still i cannot got notification from firebase, even i send directly from firebase admin console, please help if have a same problem, or have advice for fix this problem, thank you.

Related

iOS Firebase Push Notification - Token received but push not working

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

Firebase push notifications stop working for some users

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?

iOS PushNotification using Firebase

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

Firebase notification can't receive by user segment for console. but can receive using FCM registered token

That is my confusion.
please help me!
no problem, device can receive notification when I send to a single device using a Firebase token in firebase console.
but, device can't receive notification when I send user segment and application selection in firebase console.
my problem is perfectly opposite this question.
Firebase notification token not working for Single Device

Not getting GCM on sendbird android v3

I've upgraded to sendbird's android v3 library and am unable to get GCM notification event after registering serverkey on dahboard, following all steps on registering my GCM id from the app.
For the demo app provided on github, I am able to receive it only after the app is killed forcefully.
any directions ?
You can receive GCM only sendbird is in disconnected state. This can be done you call SendBird.disconnect().
By the way, the latest SDK supports automatic background checking so you don't have to call SendBird.disconnect() to receive GCM.
https://github.com/smilefam/SendBird-SDK-Android/tree/master/com/sendbird/sdk/sendbird-android-sdk/3.0.2
Please upgrade SDK and try it.
Thanks.

Resources