Framework Initialisation

Initialise 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();
 

NOTE

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

Refer to the following for platform-specific initialization:

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