Skip to content

Commit

Permalink
Merge 52ea30e into a7e4714
Browse files Browse the repository at this point in the history
  • Loading branch information
orenkatz-lp committed Jul 30, 2019
2 parents a7e4714 + 52ea30e commit 2e4bc43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ const data = {
dryRun: false, // gcm for android
icon: '', // gcm for android
image: '', // gcm for android
style: '', // gcm for android
picture: '', // gcm for android
tag: '', // gcm for android
color: '', // gcm for android
clickAction: '', // gcm for android. In ios, category will be used if not supplied
Expand Down Expand Up @@ -278,6 +280,8 @@ The following parameters are used to create a GCM message. See https://developer
body: data.body, // Android, iOS
icon: data.icon, // Android
image: data.image, // Android
style: data.style, // Android
picture: data.picture, // Android
sound: data.sound, // Android, iOS
badge: data.badge, // iOS
tag: data.tag, // Android
Expand Down Expand Up @@ -313,6 +317,8 @@ _data is the parameter in `push.send(registrationIds, data)`_
body: 'body',
icon: undefined,
image: undefined,
style: undefined,
picture: undefined,
sound: 'mySound.aiff',
badge: undefined,
tag: undefined,
Expand Down
2 changes: 2 additions & 0 deletions src/sendGCM.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ const sendGCM = (regIds, data, settings) => {
body: data.body, // Android, iOS
icon: data.icon, // Android
image: data.image, // Android
picture: data.picture, // Android
style: data.style, // Android
sound: data.sound, // Android, iOS
badge: data.badge, // iOS
tag: data.tag, // Android
Expand Down

0 comments on commit 2e4bc43

Please sign in to comment.