Framework Initialization 7.x.x

Initialize React-Native Component

Initialize the MoEngage Plugin in the App.js of your application by calling the ReactMoE.initialize() in the render() or componentDidMount()

JavaScript
import ReactMoE from 'react-native-moengage'
ReactMoE.initialize();
warning

Warning

Make sure you are setting the Push/InApp callback listeners before calling the initialize().

Refer to the following for platform-specific initialization:

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?