yalcin-ata / godot-android-plugin-firebase

Godot 3.2.2 Android plugin for Firebase
44 stars 12 forks source link

admob banner issue #2

Closed slabgames closed 4 years ago

slabgames commented 4 years ago

admob banner is invisibly shown, we have to click on the ad banner first, then it will show.

yalcin-ata commented 4 years ago

How do you show the banner in the first place?

You should show the banner like this from the callback method:

func _on_firebase_receive_message(_tag, _from, _key, _data) -> void:
    if _tag == "Firebase":
        if _from == "AdMob":
            if _key == "Banner":
                if _data == "on_ad_loaded":
                    firebase.admob_banner_show(true)
...