Skip to content

Commit

Permalink
Merge pull request #28 from ker0x/release/3.2
Browse files Browse the repository at this point in the history
📝 Update README and CHANGELOG
  • Loading branch information
ker0x committed Feb 15, 2024
2 parents e42f1fa + 6fec15e commit 3a2449e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ $message = new Message(
);
````

#### What's Changed
* :bug: Allow to send message with data only by @ker0x in https://github.com/ker0x/fcm/pull/27

**Full Changelog**: https://github.com/ker0x/fcm/compare/3.1.0...3.2.0

### 3.1

#### What's Changed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ $fcm = new Fcm('<oauth_token>', '<project_id>');

// Create the message
$message = new Message(
notification: new Notification(
title: 'Hello World',
body: 'My awesome Hello World!'
),
target: new Token('TopicA'),
data: [
'story_id' => 'story_12345',
],
notification: new Notification(
title: 'Hello World',
body: 'My awesome Hello World!'
),
)

// Send the message and get the response
Expand Down

0 comments on commit 3a2449e

Please sign in to comment.