- Jun 6, 2020
- 11,559
- 4,422
Hi,
I'm trying to load the height of the Admob banner so I can position the other app elements.
I use the standard steps:
[H3]
This is a wrapper for Google Mobile Ads v20+ SDK. It is a modified version of FirebaseAdmob (1). This library works with Google Mobile Ads v20+. The previous library works with v19-. Note that you can use FirebaseAdMob2 without creating a Firebase account. It supports banner ads and...
I noticed that the problem only occurs when I add the instructions for reward ads from here:
[H3]
Hello I'd like to share a class that I made for Reward Ads that I use in my apps/games. It's little bit different from what is found here:
My application is always in landscape mode (#SupportedOrientations: landscape)
So the problem occurs at the first launch of the application.
I get an unrealistically large number for AdaptiveSize.Get("height"). Specifically, it is 247px on my device. (Image1)
I assume that this data is loaded before the orientation is changed. Subsequently, the test advertisement is not even shown.
If I restart the app, then everything is fine (Height=156px) and test ads load normally (Image2).
No matter how many times I kill and reload the app later everything is fine. The problem is only on the...
I'm trying to load the height of the Admob banner so I can position the other app elements.
I use the standard steps:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]This is a wrapper for Google Mobile Ads v20+ SDK. It is a modified version of FirebaseAdmob (1). This library works with Google Mobile Ads v20+. The previous library works with v19-. Note that you can use FirebaseAdMob2 without creating a Firebase account. It supports banner ads and...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
I noticed that the problem only occurs when I add the instructions for reward ads from here:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]Hello I'd like to share a class that I made for Reward Ads that I use in my apps/games. It's little bit different from what is found here:
برای دیدن لینک ها باید ثبت نام کنید
Before starts, another excellent...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
My application is always in landscape mode (#SupportedOrientations: landscape)
So the problem occurs at the first launch of the application.
I get an unrealistically large number for AdaptiveSize.Get("height"). Specifically, it is 247px on my device. (Image1)
I assume that this data is loaded before the orientation is changed. Subsequently, the test advertisement is not even shown.
If I restart the app, then everything is fine (Height=156px) and test ads load normally (Image2).
No matter how many times I kill and reload the app later everything is fine. The problem is only on the...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید