Skip to content

Commit

Permalink
docs(firebase_messaging): clarify when vapidKey parameter is needed…
Browse files Browse the repository at this point in the history
… when calling `getToken()` (#8905)

Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>
  • Loading branch information
nilsreichardt and russellwheatley committed Jun 16, 2022
1 parent 5bda8c9 commit 5ded865
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ class FirebaseMessaging extends FirebasePluginPlatform {
}

/// Returns the default FCM token for this device.
///
/// On web, a [vapidKey] is required.
Future<String?> getToken({
String? vapidKey,
}) {
Expand Down

0 comments on commit 5ded865

Please sign in to comment.