Closed ltnilaysahu closed 3 years ago
i tried passing fcm_options: {analytics_label: 'hello3'},
this as well. didn't work
Hi @ltnilaysahu, Please use this exact code which is confirmed to work: https://github.com/ToothlessGear/node-gcm/issues/340#issuecomment-630349825
i tried
firebase-admin
npm package with this{ notification: { title: 'Title of your push notification', body: 'Body of your push notification' }, data: {score: '850', time: '2:45'}, tokens: registrationTokens, fcmOptions: {analyticsLabel: 'hello3'}, }
. ObserveanalyticsLabel
this parameter is used for firebase events, it worked. But when i tried passing via node-gcm it was not transferred to firebase