Skip to content

Commit

Permalink
docs(firebase_messaging): Provide fallback for messageId field for …
Browse files Browse the repository at this point in the history
…web as JS SDK does not have. (#7234)

Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>
  • Loading branch information
rlinke and russellwheatley committed Jan 4, 2022
1 parent 51272ca commit 4571abe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ class MessageView extends StatelessWidget {

return Scaffold(
appBar: AppBar(
title: Text(message.messageId!),
title: Text(message.messageId ?? 'N/A'),
),
body: SingleChildScrollView(
child: Padding(
Expand Down

0 comments on commit 4571abe

Please sign in to comment.