Flutter plugin for Firebase Cloud Messaging on iOS and Android with the icapps standard.
Flutter icapps Notifications #
This plugin will be used to handle all cases for push notifications by the icapps standard.
THIS PACKAGE HAS NO SUPPORT FOR THE ICAPPS IPNS
What is supported? #
|App in Foreground||App in Background||App Terminated|
|Notification on Android||Notification is delivered to system tray.||Notification is delivered to system tray.|
|Notification on iOS||Notification is delivered to system tray.||Notification is delivered to system tray.|
|Data Message on Android||tilte, body is supported to show a notification. Otherwise you have to create a new android service to handle this case||tilte, body is supported to show a notification. Otherwise you have to create a new android service to handle this case|
|Data Message on iOS||Message is stored by FCM and delivered to app via ||Message is stored by FCM and delivered to app via |
What should you use #
NOTIFICATION should be used for everything
DATA should be used to handle everything
Get started #
Warning -> DO NOT SET
Dart API #
configure(onMessage, dismissIOSBadgeOnStartup = true)
Delete Instance ID #
deletes your token from fcm.
requestNotificationPermissions (iOS) #
request permission for push notifications.
setBadge (iOS) #
set your badge whenever you want on iOS
Example project #
If you want to run this example project you will need to add the google-services.json and plist to your android and ios project