Push Notifications are one of the 9 key Social Features that will keep users engaged and Flutter is a tool to create apps for all Platforms. It is a perfect combination to have it integrated to remarket, and offer real time nature of your Application to all users. You will not escape the settings and the requirements of the native platforms. Once completed, with one bullet you will hit multiple rabbits.
Choosing the Push Service Provider
- On iOS platform – there is the of course Apple:
- Apple: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/
- Google has also ported their service: https://firebase.google.com/docs/cloud-messaging/ios/certs
- OneSignal: https://documentation.onesignal.com/docs/ios-native-sdk
- Others
- On Android and Web, there are several available.
- The closest in the ecosystem is firebase: https://firebase.google.com/products/cloud-messaging. It is owned and supported by Google.
- OneSignal: https://documentation.onesignal.com/docs/android-native-sdk
- WebPush (for Web) https://sendpulse.com/features/webpush
- Others
Push Notifications For Flutter
The framework is in a strange position to need to support all. Here I’ve collected several links with Instructions, hints, encountered problems, and documentations – on how to configure it for Flutter:
- https://pub.dev/packages/firebase_messaging
- https://firebase.flutter.dev/docs/messaging/overview/
- https://firebase.google.com/docs/flutter/setup?platform=android#analytics-not-enabled
- Firebase Cloud Messaging
- https://medium.com/android-school/test-fcm-notification-with-postman-f91ba08aacc3
- https://stackoverflow.com/questions/55293485/plugin-with-id-com-google-gmsgoogle-services-not-found-flutter
Another Big Service Provider that also features Push Notifications is also Amazon.