I've been blocking notifications with flutter and firebase messaging for three days
Everything works correctly on android but on ios impossible to receive a notification I followed all the steps of the firebase site, but nothing to do I do not receive any notification on my phone.
someone would have an example code that works or a solution a functional tutorial, I tried everything I found on youtube and google but nothing works
Related
Firebase messaging is not receiving in ios devices, whereas it works successfully in android. I have used 2 GoogleServices info plist files for ios. One for development and one for production. I don't know what the issue is. Can anyone help me please?
Need to execute firebase pushnotifications in ios.
Notification not display in iOS but every thing work fine in android devices. I have tried many solution but nothing is work. I am using firebase auth for phone number authentication and firebase messaging for push notification. Firebase auth is working fine in both android and iOS, but push notification not work in iOS devices.
Version of both package is : firebase_auth: ^3.3.9 , firebase_messaging: ^11.2.8
I follow all the step of iOS set up of below link:
https://firebase.flutter.dev/docs/messaging/apple-integration
Any help would be much appreciated! Thanks!
My team and I developed an android and iOS social App and we are using firebase for push notification. On iOS when the notification is turned off in the app, we are still getting the notification ring. For example, we are getting the message from other users. However, on Android, it seems to be working fine.
I've been following this guide to try out notifications, https://medium.com/#nitishk72/flutter-local-notification-1e43a353877b, and the main API documentation for the flutter local notification package but I keep getting various errors, on a modern phone it vibrates only and no notification pops up, on an older device (emulator), i get this error android.app.RemoteServiceException: Bad notification posted from package com.xxx: Couldn't create icon: StatusBarIcon(icon=Icon(typ=RESOURCE pkg=com.xxx id=0x7f040000) visible user=0 ) can anyone help?
I wasn't able to test on an iOS device
I was able to solve using a notification service as alternative. I really recommend OneSignal. It is a Notifications Service that works on multiple platforms and recently they added Flutter support to OneSignal.
There is SDK Documentation pages for Flutter:
Setup Guide for Flutter Project
OneSignal for Flutter SDK Docs
Over the last few months, we have been integrating Firebase Cloud Messaging into our project. The project uses the Firebase SDK, wrapped in a Cordova plug-in (cordova-plugin-firebase).
It is all working great, that is for Android at least. For iOS it is partially working. We received a few complaints from customers about them not receiving notifications, while all of the other iOS devices were correctly receiving messages.
After on-site device checking, we found out:
The device successfully obtained a FCM-token.
This FCM-token was subscribed to all the correct topics.
This FCM-token had the latest app version.
Both individual push-notifications (to the device), as well as topic notifications were not received
Messages from the Firebase Cloud Console were not received either
sometimes reinstalling the app worked
Receiving over Cellar/WiFi did not change anything
Permission was granted to receive push notifications
It is very hard to debug an issue like this, because installing a development version fixes it for some reason.
What are possible reasons for Firebase to not deliver the message to iOS? Or is it possible to see whether a delivery to APNS fails within the Firebase Console?