Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ class FirebaseMessaging extends FirebasePluginPlatform {
/// This should be used to determine whether specific notification interaction
/// should open the app with a specific purpose (e.g. opening a chat message,
/// specific screen etc).
///
/// on Android, if the message was received in the foreground, and the notification was
/// pressed whilst the app is in a background/terminated state, this will return `null`.
Future<RemoteMessage?> getInitialMessage() {
return _delegate.getInitialMessage();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ abstract class FirebaseMessagingPlatform extends PlatformInterface {
/// This should be used to determine whether specific notification interaction
/// should open the app with a specific purpose (e.g. opening a chat message,
/// specific screen etc).
///
/// on Android, if the message was received in the foreground, and the notification was
/// pressed whilst the app is in a background/terminated state, this will return `null`.
Future<RemoteMessage?> getInitialMessage() {
throw UnimplementedError('getInitialMessage() is not implemented');
}
Expand Down