Installation
You can install this release with $ npm install deepwall-react-native-sdk@2.9.3
.
If you are updating from previous version you need to run $ cd ios && pod update RNDeepWall
.
Highlights
- You may check init failure event like below
import DeepWall, { DeepWallEventBus, DeepWallEvents, DeepWallEnvironments } from 'deepwall-react-native-sdk';
DeepWallEventBus.getInstance().addListener(DeepWallEvents.INIT_FAILURE, function (data) {
//init failure you may call init again
DeepWall.getInstance().initialize('{API_KEY}', DeepWallEnvironments.PRODUCTION);
});
Changelog
Fixed
- On android added hasActivity check
- Added new event for android if deepwall init failure happens