SuperAwesome reloading of banner?

Hi,

I just wanted to clarify, im setting up superawesome in one of my apps.

When using admob, kidoz, i dont need to reload the banner or flexi/panelviews after hiding them with the hide(), i can simply just show them again.

I understand with interstitials and videos i need to reload.

But for super awesome, im displaying the test banner fine,

superawesome.isLoaded( myPlacementID) is true.

But when i call superawesome.hide( myPlacementID ) the test banner gets hidden which is fine, but unlike admob or kidoz, this sets the superawesome.isLoaded( myPlacementID) to false. and i need to reload the banner.

Is this how superawesome plugin works? or is it not supposed to dispose of the ad on hide like the others?

Yes, banners for SuperAwesome need to be reloaded after they have been hidden.

Thanks @ingemar_cl

thanks for the quick reply!

So for the others, admob and kidoz, is it ok to leave it as is where there is no need to reload the banners as im able to reshow them after hiding them, or is it better practice to reload them?

For AdMob and Kidoz it’s safe to re-use the banner/panel as the SDK internally returns a reference to the ad object that can be reused.

ok awesome, thanks again ingemar_cl

for anyone interested, I reloaded the banner directly after hiding it and it threw an error as per the code below.

superawesome.hide( myPlacementID ) superawesome.load( "banner", { placementId=myPlacementID } )

So putting a timer before reloading avoids this error.

superawesome.hide( myPlacementID ) local function ReloadAwesomeBanner() superawesome.load( "banner", { placementId=myPlacementID } ) end timer.performWithDelay(100, ReloadAwesomeBanner, 1)

@chris_raz

Instead of using a timer, did you try to issue the load after receiving the “hidden” event?

Ahh even better! I did not realise the was a “hidden” event phase.
Thanks so much again

Yes, banners for SuperAwesome need to be reloaded after they have been hidden.

Thanks @ingemar_cl

thanks for the quick reply!

So for the others, admob and kidoz, is it ok to leave it as is where there is no need to reload the banners as im able to reshow them after hiding them, or is it better practice to reload them?

For AdMob and Kidoz it’s safe to re-use the banner/panel as the SDK internally returns a reference to the ad object that can be reused.

ok awesome, thanks again ingemar_cl

for anyone interested, I reloaded the banner directly after hiding it and it threw an error as per the code below.

superawesome.hide( myPlacementID ) superawesome.load( "banner", { placementId=myPlacementID } )

So putting a timer before reloading avoids this error.

superawesome.hide( myPlacementID ) local function ReloadAwesomeBanner() superawesome.load( "banner", { placementId=myPlacementID } ) end timer.performWithDelay(100, ReloadAwesomeBanner, 1)

@chris_raz

Instead of using a timer, did you try to issue the load after receiving the “hidden” event?

Ahh even better! I did not realise the was a “hidden” event phase.
Thanks so much again