You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to set custom values as impression and dismiss thresholds in FirebaseInAppMessagingDisplay. Right now they are final:
staticfinallongIMPRESSION_THRESHOLD_MILLIS = 5 * 1000; // 5 seconds is a valid impressionstaticfinallongDISMISS_THRESHOLD_MILLIS =
20 * 1000; // auto dismiss after 20 seconds for banner
How would you use it?
I would set different thresholds, e.g. I wouldn't require 5s of displaying a message to count as an impression.