hi,
i have a script that work on two apps with different vungle sdk version the important function is the Vungle.onAdFinishedEvent callback,
i have a static bool variable call "AdsIsPlayingNow" that take true before call vungle.playAd(rewardedVideoId),
AdsIsPlayingNow=true;Vungle.playAd(StaticStrings.VungleRewarded);
and take false when Vungle.onAdFinishedEvent fired ;
Vungle.onAdFinishedEvent += (placementID, args) => {AdsIsPlayingNow = false;}
this var is very important to me i use it to stop listening to user input and controller
example :
if(AdsIsPlayingNow ){return;}
because as you know vungle ad not stop input when ad start playing and this can lead to many issues in the app,like resume gameplay during ad playing, click unexpected button etc....
the bug is:
on PluginVersion = "6.10.5.0" "AdsIsPlayingNow" variable is not working correct for some reason the controller/input keep working that mean "AdsIsPlayingNow" is false even i switch it on before call playAd and inside "Vungle.onAdStartedEvent" callback but on PluginVersion = "6.10.1.0"; the controller/input stop working that mean "AdsIsPlayingNow" turn on/off successfully.
currently my solution i just back to PluginVersion = "6.10.1.0"; but i just want let you know about this issue .
the bug number 2 - found on PluginVersion = "6.10.5.0" and not sure about old version :
if you remember the "double close button ad" mentioned by me here #28 (comment)
the bug is :
if you use xbox joystick to close the Ad using button "B" like other vungle ads ,this kind of ads not response to close command
and the ad never closed
note: because this type of ads rarely shown its hard to test every vungle version for it but im sure that exist on PluginVersion="6.10.5.0" .
please check those issues on your devices , thank you
hi,
i have a script that work on two apps with different vungle sdk version the important function is the Vungle.onAdFinishedEvent callback,
i have a static bool variable call "AdsIsPlayingNow" that take true before call vungle.playAd(rewardedVideoId),
AdsIsPlayingNow=true;Vungle.playAd(StaticStrings.VungleRewarded);and take false when Vungle.onAdFinishedEvent fired ;
Vungle.onAdFinishedEvent += (placementID, args) => {AdsIsPlayingNow = false;}this var is very important to me i use it to stop listening to user input and controller
example :
if(AdsIsPlayingNow ){return;}because as you know vungle ad not stop input when ad start playing and this can lead to many issues in the app,like resume gameplay during ad playing, click unexpected button etc....
the bug is:
on PluginVersion = "6.10.5.0" "AdsIsPlayingNow" variable is not working correct for some reason the controller/input keep working that mean "AdsIsPlayingNow" is false even i switch it on before call playAd and inside "Vungle.onAdStartedEvent" callback but on PluginVersion = "6.10.1.0"; the controller/input stop working that mean "AdsIsPlayingNow" turn on/off successfully.
currently my solution i just back to PluginVersion = "6.10.1.0"; but i just want let you know about this issue .
the bug number 2 - found on PluginVersion = "6.10.5.0" and not sure about old version :
if you remember the "double close button ad" mentioned by me here #28 (comment)
the bug is :
if you use xbox joystick to close the Ad using button "B" like other vungle ads ,this kind of ads not response to close command
and the ad never closed
note: because this type of ads rarely shown its hard to test every vungle version for it but im sure that exist on PluginVersion="6.10.5.0" .
please check those issues on your devices , thank you