Skip to content

Commit

Permalink
Merge pull request #46 from pusher/getInitialMessage-doc-clarification
Browse files Browse the repository at this point in the history
added info key getInitialMessage docs
  • Loading branch information
fbenevides authored Oct 12, 2023
2 parents b1d08ff + a4b564d commit 40ba423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/pusher_beams/lib/pusher_beams.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class PusherBeams extends PusherBeamsPlatform with CallbackHandlerApi {
/// This is intended to be a singleton
static PusherBeams get instance => _instance;

/// Gets any data associated to a Push Notification when opening the app by
/// taping on it.
/// Reads the [info] key included in a Push Notification when opening the app
/// by tapping on it.
///
/// ## Example Usage
///
Expand All @@ -41,8 +41,8 @@ class PusherBeams extends PusherBeamsPlatform with CallbackHandlerApi {
/// }
/// ```
///
/// In order to receive data you need to send the pusher message in the
/// following format:
/// In order to receive data the published payload must contain an [info] key
/// in the [data] key:
///
/// ```json
/// {
Expand Down

0 comments on commit 40ba423

Please sign in to comment.