@novu/expo
v0.24.1
Published
A expo wrapper for novu
Downloads
37
Keywords
Readme
Novu Expo Provider
A Expo push provider library for @novu/node
Usage
The payload field supports all Message Request values, example below.
import { Novu } from '@novu/node';
const novu = new Novu(process.env.NOVU_API_KEY);
novu.trigger('event-name', {
to: {
subscriberId: '...',
},
payload: {
badge: 1,
sound: 'default',
priority: 'high',
},
});