Initialize React-Native Component
Initialize the MoEngage Plugin in the App.js or App*.***ts of your application once the component is mounted.
Example
If you have a class-based component then you can initialize in the render() or componentDidMount()
Initialize with Configuration (optional)
Make sure you are setting the Push/InApp callback listeners before calling the initialize().
Refer to the following for platform-specific initialization:
For more information about samples, refer to React-Native Sample App.