Create flutter package for NotificationHub
Please consider adding a flutter package to easily add support for notification hub in flutter apps.
One of the really cool things that worked so well in C#/XF/NH was the idea of passing fully customized messages down, with action buttons that could directly call into the app, *especially* when the app was in the background or not running.
As I understood it in Sept last, this required writing Kotlin/Java/Swift/ObjC specific things for the flutter app, which is precisely what I was trying to avoid.
In the end, we are using FCM, and we do *not* create installations or any of that for our project. We are keeping the platform ID on our own systems and managing it from there. There are some distinct differences between the generation of platform ID's on Windows vs everyone else, especially in the lifetime of the ID's.
Any news on azure package for flutter or Is there any package that can handle device registration with azure.
Anders Hauge commented
+1 for this. Why would you force me to use a Google Cloud product for this scenario? I might like it over there and start replacing more of my azure services. Seems like a small investment to keep customers within the walls:)
There's also this tutorial: https://fireship.io/lessons/flutter-push-notifications-fcm-guide/
Frankly, this will be very important. The push notification solutions in Flutter are pretty weak at the moment, with no background support and so on. We've moved from Xamarin Forms to Flutter for performance reasons and the groundswell of support is pretty astonishing.
There is a recent OSS package that is supposed to help with this: https://github.com/nextbss/flutter-push-notification
Not sure if it's a keeper, I haven't tried to work with it yet.
In my case I had this whole thing working in XF. If the app was in the foreground, it caught the notification and decided what to do. If it wasn't running, then the background application could launch it or just drop something into the notification center.
It seemed to work pretty well. My understanding of the Flutter messaging is that it *all* runs through FCM, even on iOS devices.
I much prefer ANH and the direct to device approach, but there's very little documentation on how to do it properly for Flutter.
If you need help with this, I can try to work with it. TIA
FWIW - I am in the middle of this right now.