2.6.6 • Published 11 months ago
zego-zpns-react-native v2.6.6
zego-zpns-react-native
Getting started
$ npm install zego-zpns-react-native --save
Mostly automatic installation
$ react-native link zego-zpns-react-native
Usage
import ZPNs from 'zego-zpns-react-native';
ZPNs.setPushConfig({ enableFCMPush: true });
ZPNs.enableDebug(true);
const zpns = ZPNs.getInstance();
zpns.on('registered', console.log);
zpns.on('notificationArrived', console.log);
zpns.on('notificationClicked', console.log);
zpns.on('throughMessageReceived', console.log);
zpns.applyNotificationPermission();
zpns.registerPush();
2.6.5
11 months ago
2.6.6
11 months ago
2.5.1-alpha
1 year ago
2.6.3
1 year ago
2.6.2
1 year ago
2.5.2-alpha
1 year ago
2.6.1
2 years ago
2.6.0
2 years ago
2.5.0-alpha
2 years ago
2.5.0
2 years ago
2.4.0
2 years ago
2.3.0
2 years ago
2.3.2
2 years ago
2.3.1
2 years ago
2.3.4
2 years ago
2.3.3
2 years ago
2.3.6
2 years ago
2.3.5
2 years ago
2.2.0
3 years ago