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
CocoonJS.Ad.preloadFullScreen() seems to do what you'd expect. onFullScreenReady is fired when the fullscreen ad is preloaded. That's fine.
CocoonJS.Ad.showFullScreen(): shows the full screen ad. OK.
onFullScreenShown fires when the ad is shown, and onFullScreenHidden fires when it's hidden (when the ad is closed).
Bug/feature:
4) showFullScreen() actually works as preloadFullScreen() if the screen isn't preloaded yet.
Definitely bugs:
5) Preloading sometimes stalls/times out and does not activate anything. The showFullScreen/preloadFullScreen function sometimes needs to be run multiple times. I understand sometimes nothing is available (potentially?), but we have seemingly no event to tell us this.
For video interstitials, the ad event sequence is totally wrong: onFullScreenShown fires, then onFullScreenHidden, and then onFullScreenShown again, and then the ad displays. No event fires when the ad is closed.
CocoonJS.Ad.preloadFullScreen() only runs once. Subsequent invocation does nothing.
The text was updated successfully, but these errors were encountered:
agamemnus
changed the title
Very strange sequence of events for full screen event listeners.
Very strange (incorrect) sequence of events for full screen (interstitial)/AD event listeners.
Aug 1, 2014
So far only tested in Webview+.
CocoonJS.Ad.preloadFullScreen()
seems to do what you'd expect. onFullScreenReady is fired when the fullscreen ad is preloaded. That's fine.CocoonJS.Ad.showFullScreen(): shows the full screen ad. OK.
onFullScreenShown fires when the ad is shown, and onFullScreenHidden fires when it's hidden (when the ad is closed).
Bug/feature:
4) showFullScreen() actually works as preloadFullScreen() if the screen isn't preloaded yet.
Definitely bugs:
5) Preloading sometimes stalls/times out and does not activate anything. The showFullScreen/preloadFullScreen function sometimes needs to be run multiple times. I understand sometimes nothing is available (potentially?), but we have seemingly no event to tell us this.
For video interstitials, the ad event sequence is totally wrong: onFullScreenShown fires, then onFullScreenHidden, and then onFullScreenShown again, and then the ad displays. No event fires when the ad is closed.
CocoonJS.Ad.preloadFullScreen() only runs once. Subsequent invocation does nothing.
The text was updated successfully, but these errors were encountered: