Initialize React-Native Component
Initialize the MoEngage Plugin in the App.js of your application by calling the ReactMoE.initilize(YOUR_APP_ID) in the render() or componentDidMount()
import ReactMoE from 'react-native-moengage'
ReactMoE.initialize(YOUR Workspace ID);
warning |
Warning Make sure you are setting the Push/InApp callback listeners before calling the initialize(). |
Refer to the following for platform-specific initialization: