Skip to content

Commit

Permalink
remove duplicate keys in notification object in README
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-friedl committed Sep 16, 2018
1 parent 1dcb189 commit 8374312
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,13 @@ const data = {
title: 'title'
body: 'body'
// details: https://github.com/node-apn/node-apn/blob/master/doc/notification.markdown#convenience-setters
},
// alert: '', // A string is also accepted as a payload for alert
// Your notification won't appear on ios if alert is empty object
// If alert is an empty string the regular 'title' and 'body' will show in Notification
titleLocKey: '', // apn and gcm for ios
titleLocArgs: '', // apn and gcm for ios
},
/*
* A string is also accepted as a payload for alert
* Your notification won't appear on ios if alert is empty object
* If alert is an empty string the regular 'title' and 'body' will show in Notification
*/
// alert: '',
launchImage: '', // apn and gcm for ios
action: '', // apn and gcm for ios
category: '', // apn and gcm for ios
Expand Down

0 comments on commit 8374312

Please sign in to comment.