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()
import ReactMoE from 'react-native-moengage'
ReactMoE.initialize();
warning |
Warning Make sure you are setting the Push/InApp callback listeners before calling the |
Refer to the following for platform-specific initialization: