I encountered a problem on an iPhone 6 with iOS 8.1.3 and noticed a big difference in the vungle ad listener feedback.
I’m doing the following:
VungleAdsListener = function(event) if event.type == "adStart" and event.isError then print("Downloading video ad ...") elseif event.type == "adEnd" then print ("Hope you enjoyed the video!") elseif event.isCompletedView == true then -- means the user has watched 80% of the video... \_G.vimeoVideoWasWatched=true else if event.type then print ("event: "..event.type) end end end
This code is working perfectly on an iPad with an older iOS 7.x and is also tested on an iPad using 6.x
meaning the event.isCompletedView == true state is checked correctly and the variable _G.vimeoVideoWasWatched is set true.
With an iPhone 6 (and iOS 8.1.3) it looks like the event is not checked because the variable _G.vimeoVideoWasWatched is NOT set to true in the listener.
Can someone please tell me if this is a problem with the new iOS, the iPhone6, the current vungle version, my code, etc. ?
Thanks for your help with this!
Daniela
PS: I’m using an “incentivized” ad!