Skip to content

Commit 5e41eb1

Browse files
committed
Push notification icon color android
1 parent 8ce6ebe commit 5e41eb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/services/notifications/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ const sendNotifications = ({ tokenObjects, message }) => {
4040
if (androidNotificationTokens.length > 0) {
4141
const gcmMessage = new gcm.Message({
4242
notification: {
43+
title: 'DEMOCRACY',
4344
body: message,
45+
icon: 'ic_notification',
46+
color: '#4f81bd',
4447
},
4548
});
4649
gcmProvider.send(
@@ -129,6 +132,7 @@ export default async ({ message, user }) => {
129132
title: 'DEMOCRACY',
130133
body: message,
131134
icon: 'ic_notification',
135+
color: '#4f81bd',
132136
},
133137
});
134138
gcmProvider.send(

0 commit comments

Comments
 (0)