Flutter notifications not working on android devices - dart

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

Related

Push notification not display in iOS in flutter

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!

notifications do not work on ios - flutter firebase messaging

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

Push notification setup for iOS apps in ionic cordova and firebase

I have success in using push notification service in android apps and ionic.
But I am a new developer in apple territory.
I have no idea how Xcode works, and after some tweaking around and research, I managed to create an IPA file and installed the app on an iPhone.
But I am not able to have success on the push notification front.
And I am a lot in confusion with the certificates and capabilities in Xcode while creating an iOS app with push notification enabled.
Can anyone guide me on how to create an iOS app with firebase push notification enabled and working, and the correct steps to build one in ionic Cordova and Xcode.
Thanks
you can use this
but in my case Onesignal works better

Push message incidentially not received on iOS-device

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?

Firebase Cloud Messaging issues / changes with iOS 10.3

I have an app that I am building and prior to 10.3, the push notifications worked perfectly.
When 10.3 was released the whole Firebase tool set seemed to break for a couple of weeks until Google updated the PODs for the Framework.
Once done, I started again to play with this, but even though the previous code to push notifications worked to the previous build of the app the version built with 10.3 doesn't see any messages.
If I user NWPusher to push messages using the APN direct then I get messages fine, but the ones that were and still are working to the older version of the app don't get seen in the app / on screen / or in the debug window when connected to XCODE.
Has anyone had similar issues?
The code is unchanged from the version that previously worked and the direct push via APN works as well? Thanks in advance.

Resources