lilili87222 / admob-for-flash

admob ane for flash air iOS app and actionscript android app.include banner and Interstitial native Advertising.this Admob ANE suport admob 1 and admob 2,based on firebase sdk
10 stars 0 forks source link

rewarded ad not close by press button. #16

Open orcuncun opened 1 year ago

orcuncun commented 1 year ago

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 commented 1 year ago

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

orcuncun commented 1 year ago

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

nboy1 commented 1 year ago

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 commented 1 year ago

I updated and this time the app crashes without opening.

orcuncun commented 1 year ago

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 commented 1 year ago

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

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