Web SDK for FlareLane service.
Flarelane lets you build and operate app push and web push with just a few lines of code.
This is free and unlimited sending.
A FlareLane account is required to use the service.
npm install --save @flarelane-web-sdk
// React, Next.js Example
import FlareLane from '@flarelane/flarelane-web-sdk';
...
FlareLane.setLogLevel('verbose');
FlareLane.setConvertedHandler((notification) => {
// do somthing...
});
await FlareLane.initialize({ projectId: 'projectId' });
...