0.24.1 • Published 1 month ago

@novu/fcm v0.24.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Novu FCM Provider

A FCM push provider library for @novu/node

Usage

The payload field supports all NotificationMessagePayload values, example below.

import { Novu } from '@novu/node';

const novu = new Novu(process.env.NOVU_API_KEY);

novu.trigger('event-name', {
  to: {
    subscriberId: '...',
  },
  payload: {
    deviceTokens: ['abcda...'], // Override subscriberId notification/device identifiers
    badge: 1, // iOS: The value of the badge on the home screen app icon, if 0 then the badge is removed.
    clickAction: 'clickity', // Android: Action associated with a user click on the notification.
    color: '#ff00ff', // Android: Hex color of the notification
    icon: 'myicon', // Android: Drawable resource id of icon, Web: URL to icon
    sound: 'custom_sound', // Android: name of custom notification sound
  },
});
0.24.1

1 month ago

0.24.0

2 months ago

0.23.1

3 months ago

0.23.0

3 months ago

0.22.0

5 months ago

0.21.0

7 months ago

0.20.0

7 months ago

0.19.0

8 months ago

0.16.3

10 months ago

0.16.4

10 months ago

0.20.0-alpha.1

7 months ago

0.17.0

10 months ago

0.18.0

9 months ago

0.17.1

10 months ago

0.16.2

11 months ago

0.13.0

1 year ago

0.14.0

1 year ago

0.15.0

12 months ago

0.16.0

11 months ago

0.16.1

11 months ago

0.11.0

1 year ago

0.12.0

1 year ago

0.10.0

1 year ago

0.10.1

1 year ago

0.10.2

1 year ago

0.10.3

1 year ago

0.10.0-alpha.0

1 year ago

0.9.0

2 years ago

0.8.0

2 years ago

0.7.2

2 years ago

0.7.0

2 years ago