react-native-pushe v1.6.3
react-native-pushe
Installation
To install the plugin using npm run bellow code in your terminal:
$ npm i -P react-native-pushe
Then to link react-native-pushe plugin to your react-native application run bellow command:
$ react-native link react-native-pushe
Android
Add bellow line in your application's manifest file under application tag:
<meta-data android:name="co.ronash.pushe.token" android:value="PUSHE_TOKEN"/>
You can get your pushe_token in console.pushe.co
Usage of plugin in react
to import the plugin use bellow line in your javascript file:
import Pushe from 'react-native-pushe'
Then use bellow line (in your constructor) to run the pushe servcie:
Pushe.initialize(true);
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago