2.3.40 • Published 3 months ago
react-native-pressenger-sdk v2.3.40
Pressenger SDK for React Native
Installation
Android
- Follow the steps of the official Google documentation to install Firebase Cloud Messaging into your app: https://firebase.google.com/docs/android/setup
- Install this package by
npm install react-native-pressenger-sdk --save
- Add
maven { url 'https://maven2.pressenger.com' }
to your top-level build file (android/build.gradle) into the allprojects/repositories section.
Usage
Initialize the SDK by
import PressengerSDK from 'react-native-pressenger-sdk';
PressengerSDK.init('... your group id goeas here ...', (event) => {
// in-app event handling, the in-app url will be in event.url field
});
If you need topic management (subscribe to/unsubscribe from topic) then you can do it easily by
PressengerSDK.subscribeToTopic('... topic name ...');
PressengerSDK.unsubscribeFromTopic('... topic name ...');
2.3.40
3 months ago
2.3.36
8 months ago
2.3.35
1 year ago
2.3.34
1 year ago
2.3.33
1 year ago
2.3.32
1 year ago
2.3.28
2 years ago
2.3.31
2 years ago
2.3.30
2 years ago
2.3.27
2 years ago
2.3.26
2 years ago
2.3.24
2 years ago
2.3.23
2 years ago
2.3.25
2 years ago
2.3.20
2 years ago
2.3.22
2 years ago
2.3.21
2 years ago
2.3.0
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.3.2
2 years ago
2.2.3
2 years ago
2.2.2
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.1.0
2 years ago
2.0.0
2 years ago
2.3.8
2 years ago
2.3.16
2 years ago
2.3.19
2 years ago
2.3.18
2 years ago
2.3.12
2 years ago
2.3.15
2 years ago
2.3.14
2 years ago
2.3.10
2 years ago
1.2.6
5 years ago
1.2.4
5 years ago
1.2.2
5 years ago
1.2.0
5 years ago
1.0.0
5 years ago