Skip to content

Commit

Permalink
chore: set content avaliable
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryET committed Aug 29, 2023
1 parent fd369b3 commit b7c019b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/apns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ impl PushProvider for ApnsProvider {
let blob = DecryptedPayloadBlob::from_base64_encoded(payload.blob)?;

let mut notification_payload = a2::DefaultNotificationBuilder::new()
.set_content_available()
.set_title(&blob.title)
.set_body(&blob.body)
.build(token.as_str(), opt);
Expand Down

0 comments on commit b7c019b

Please sign in to comment.