StartApp: Hiding banner ads.

Is there any way to hide the banner ads once you load them in startapp plugin? Usually I don’t mind if they are under the interstitial, but some of their interstitial are transparent and the close button is over the banner ad (and hard to see).

And yes I tried startapp.hide( “banner” ) just in case it was a un-documented feature.

Tip: You can dig for hidden fields and functions on any library like this:

for k,v in pairs (libname) do print(k,v) end

It won’t find them all, but it is often interesting to see what pops up.  Maybe there is a hide function or something else.

Thank you for the info. It makes sense since almost everything is a table in Lua. I just never thought of it.

I couldn’t find a hide. So I can’t use startapp unless I mention something about restarting the app for those that buy the “no ads” feature.

This seems like an oversight. The StartApp folks need to fix this if they want folks to use it.

i.e. You need to be able to stop banners when a user pays for ‘no ads’ IAP.

You might need to contact them about it.

It looks like natively, you’d get a handle to the banner to call hide(), but since we dont’ get one, the plugin needs to handle this.

https://stackoverflow.com/questions/21063692/how-do-i-hide-startapp-ad-on-my-app

Just for kicks, try calling:

startapp.hideBanner()

Also, fully explore all fields passed in the listener when you show the banner. Maybe they supply a handle?

Thank you for all your help.

Tried looking at the function no function that looks like it would hide a banner. Actually nothing other than what is documented.

Tried to see if it returns a handle when I init the library or when I show the banner ad. No handle just returns nil.

Tried to use the method you suggested and throws an error.

Dang! Well better email the StartApp folks and tell them “I’d like to user your Ads with Corona, but there is no way to hide banners in your plugin.”

Hi guys,

I’ve contacted StartApp team on this request, waiting for their response.  B)

@karpovpw - Thanks!

Hi guys,

So I’ve discussed everything with a StartApp team. They are thanking you for a feedback, hide() method will be available in the next plugin update (they are planning to release it next week).

Sorry for the dumb question, but how can I remove it? I can’t figure it out.

Adrian

Hi Adrian,

I’ve discussed it with StartApp team earlier today and after a closer look they’ve said that it’s impossible right now. That’s why they’re speeding up an update process and I’ve edited my initial post.

Thank you sir.

The plugin has been updated. Now you can hide the banner.

agramonte is quite fast at this stuff!

Hey guys,

StartApp plugin was actually updated to a new version, which includes hide() method.  You can find a docs for the method on a new page https://docs.coronalabs.com/plugin/startapp/hide.html

Tip: You can dig for hidden fields and functions on any library like this:

for k,v in pairs (libname) do print(k,v) end

It won’t find them all, but it is often interesting to see what pops up.  Maybe there is a hide function or something else.

Thank you for the info. It makes sense since almost everything is a table in Lua. I just never thought of it.

I couldn’t find a hide. So I can’t use startapp unless I mention something about restarting the app for those that buy the “no ads” feature.

This seems like an oversight. The StartApp folks need to fix this if they want folks to use it.

i.e. You need to be able to stop banners when a user pays for ‘no ads’ IAP.

You might need to contact them about it.

It looks like natively, you’d get a handle to the banner to call hide(), but since we dont’ get one, the plugin needs to handle this.

https://stackoverflow.com/questions/21063692/how-do-i-hide-startapp-ad-on-my-app