There are instances where the App might load on top of the HTML overlay the SDK creates, thus making the experience invisible to the user. This usually happens with Apps that have slow or heavy load times. You can control the delay before the SDK loads the HTML overlay in the properties file.
MOCA Android SDK
The flag that manages this behavior is an optional parameter from the MOCA.properties:
#Used to delay load of HTML overlay until App is ready to show it. #experienceOverlay.delayAfterNotificationTapMs = 1000
MOCA iOS SDK
You can find the variable that manages this behavior in the MOCAconfig.plist in your project:
Key | Type | Default Value | Description |
---|---|---|---|
OVERLAY_DELAY_ON_STARTUP_SECONDS |
NUMBER |
3 |
Optional parameter: |
Changing the value to the max load time for your App will help display all overlays correctly.
Comments
0 comments
Article is closed for comments.