Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner ads not repositioning themselves from top/bottom after recalling loadBanner() and resize() #113

Open
phleb-x opened this issue Dec 6, 2019 · 0 comments

Comments

@phleb-x
Copy link

phleb-x commented Dec 6, 2019

OS target (Android/iOS): Android

Godot version: 3.1.1

Issue description:
Basically I call my custom _init_ads() function which looks like this:

func _init_ads():
    admob = null
    if(Engine.has_singleton("AdMob")):
        admob = Engine.get_singleton("AdMob")
        var res = admob.init(isReal, get_instance_id())
        admob.resize()
        admob.loadBanner(adBannerId, isTop)
        admob.showBanner()
        admob.resize()

and before I call this function, I set isTop. However, this doesn't result in changing the ads orientation, but just creates two ads that never go away unless I use admob.hideBanner().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant