icapps_notifications 0.1.0

Flutter Android iOS

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 ForegroundApp in BackgroundApp Terminated
Notification on AndroidonMessageNotification is delivered to system tray.Notification is delivered to system tray.
Notification on iOSonMessageNotification is delivered to system tray.Notification is delivered to system tray.
Data Message on AndroidonMessagetilte, body is supported to show a notification. Otherwise you have to create a new android service to handle this casetilte, body is supported to show a notification. Otherwise you have to create a new android service to handle this case
Data Message on iOSonMessageMessage is stored by FCM and delivered to app via onMessage when the app is brought back to foreground.Message is stored by FCM and delivered to app via onMessage when the app is brought back to foreground.

What should you use #

iOS #

NOTIFICATION should be used for everything

Android #

DATA should be used to handle everything

Get started #

https://medium.com/flutterpub/enabling-firebase-cloud-messaging-push-notifications-with-flutter-39b08f2ed723

Warning -> DO NOT SET FirebaseAppDelegateProxyEnabled to NO

Dart API #

Configure #

configure(onMessage, dismissIOSBadgeOnStartup = true)

Token #

getToken()

Delete Instance ID #

deletes your token from fcm.

deleteInstanceID()

requestNotificationPermissions (iOS) #

request permission for push notifications.

requestNotificationPermissions()

setBadge (iOS) #

set your badge whenever you want on iOS

setBadge(amount)

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

Questions? #

contact koen.vanlooveren@icapps.com

3
likes
90
pub points
12%
popularity

Publisher

icapps.com

Flutter plugin for Firebase Cloud Messaging on iOS and Android with the icapps standard.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, meta, platform

More

Packages that depend on icapps_notifications