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

rewarded ad not close by press button. #16

Open
orcuncun opened this issue May 22, 2023 · 6 comments
Open

rewarded ad not close by press button. #16

orcuncun opened this issue May 22, 2023 · 6 comments

Comments

@orcuncun
Copy link

After the rewarded ad is displayed, pressing the cross does not close the rewarded ad. Normally, it could be closed without being watched completely. I got a warning about this, how do I fix it?

@nboy1
Copy link

nboy1 commented May 22, 2023

@orcuncun hi,
android or ios? which version of ane you are using?

@orcuncun
Copy link
Author

i used for Android. How will I know which version of ANE I am using?

@nboy1
Copy link

nboy1 commented May 23, 2023

i mean did you used this updated ane with GMA21 https://github.com/nboy1/admob-for-flash-android-GMA-21.0.0 or you still using the previous version?
you have to update the ane to gma21 to be compliant with new google policy.

@orcuncun
Copy link
Author

I updated and this time the app crashes without opening.

@orcuncun
Copy link
Author

some of the codes
import so.cuo.platform.admob.AdmobEvent;
import so.cuo.platform.admob.Admob;
import so.cuo.platform.admob.AdmobSize;
import so.cuo.platform.admob.AdmobPosition;
if(Admob.getInstance().supportDevice)//banner id değişecek
Admob.getInstance().showBanner(".............",AdmobSize.BANNER_STANDARD, AdmobPosition.BOTTOM_CENTER);

@nboy1
Copy link

nboy1 commented May 25, 2023

try this
import so.cuo.platform.admob.*;

to show banner
Admob.getInstance().showBanner("your banner ID ",AdmobSize.SMART_BANNER,AdmobPosition.BOTTOM_CENTER);

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

2 participants