The self-handled in-app functionality in React Native ensures that new event listeners are configured only after any active callback is completed. This approach ensures that events are handled individually, maintaining the correct order and execution of callbacks. Here’s how it works:Documentation Index
Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Single Invocation Scenario
Where the self-handled in-app method is called once in the app, the event listener captures and logs the payload a single time. The following are example snippets of the implementation:

- Multiple Invocation Scenario
If the self-handled in-app method is called multiple times in quick succession, React Native’s event-handling model ensures the listener still responds only once. For example:
