flutter_twitter_clone icon indicating copy to clipboard operation
flutter_twitter_clone copied to clipboard

Push notification not showing

Open ublockme opened this issue 3 years ago • 4 comments

Push notifications not showing in many devices. Some devices getting push notifications when user likes, tags and also message but many devices not getting push notifications. (I tired 50+ mobile devices - android 6 to 11). But cloud messaging working properly bro.

ublockme avatar May 25 '21 20:05 ublockme

Check if you are using correct FCM token for all devices.

TheAlphamerc avatar May 26 '21 13:05 TheAlphamerc

cant get you? how and where to check correct fcm token? user not getting notification if user got likes, tags and messages.

ublockme avatar May 26 '21 13:05 ublockme

@ublockme check if you have fcmToken of each user while sending notification. If fcmToken is null then it wont allow to send notification. Check below screenshot for reference.

Screenshot 2021-05-27 at 10 21 38 AM

Also notification is only sent when user is tagged in post or sent message to other user. There is no notification sent on post like.

TheAlphamerc avatar May 27 '21 04:05 TheAlphamerc

Everything is correct bro! But I don't know why lots of devices not receiving notifications. Ok i check once again.

ublockme avatar May 27 '21 13:05 ublockme