Notification message
.
A Notification message
is a push payload that has the notification key in it. These push notifications are handled directly by the OS and as a developer, you cannot customize these notifications.
This simple setup can be used for apps that only implement messaging feature of CometChat.
Learn more about FCM messages.
flutterfire_cli
android
and ios
.
The CLI tool will add the following files to your directory structure:
google-services.json
to the android folder.GoogleService-Info.plist
to the ios folder.firebase_options.dart
to the lib
folder.ios/Runner.xcworkspace
)ios
folder, execute pod install
.notification
key in the payload. Otherwise, this won’t work.device token
.
ios/Runner.xcworkspace
)