In-app messages will attempt to render upon being received from Mixpanel’s server when the app is opened. They can be unexpectedly dismissed when there's a transition or change in the view controller at the same point the in-app message appears.
This is especially common in apps with loading views prior to bringing the user to the main view of the app.
To prevent this from happening, customize the display behavior of your in-app messages by:
Turning off automatic message rendering for in-app messages with
Only calling to show in-app messages on the relevant view with