AdMob appears only after rotation

Create issue
Issue #1 resolved
Former user created an issue

HELLO I FOUND AN ISSUE, THE BANNER ADS APPEAR ONLY WHEN SCREEN ROTATE SAME ISSUE HERE: HTTPS://FORUMS.XAMARIN.COM/DISCUSSION/145122/ADMOB-APPEARS-ONLY-AFTER-ROTATION

Comments (2)

  1. Marco Troncone repo owner

    I think it's a problem with the available space;

    Try to use this code and let me know if it solve the issue:

    <controls:AdView>
                    <controls:AdView.HeightRequest>
                        <x:OnIdiom>
                            <x:OnIdiom.Phone>50</x:OnIdiom.Phone>
                            <x:OnIdiom.Tablet>90</x:OnIdiom.Tablet>
                        </x:OnIdiom>
                    </controls:AdView.HeightRequest>
                </controls:AdView>
    

    Basically we set here the minimum height for phones and Tablets.

  2. Log in to comment