marcojak / MauiMTAdmob

MIT License
104 stars 17 forks source link

Rewarded on iOS displayed only once #69

Closed erossini closed 3 months ago

erossini commented 3 months ago

Hi, I read posts with the same issue, and I was thinking that maybe you already know how to fix it. In my app, I display a reward advertise and it is displayed. The second time the advertisement is not displayed.

I tried to call again this code

CrossMauiMTAdmob.Current.LoadRewarded(Constants.Reward1);

and then I call

CrossMauiMTAdmob.Current.ShowRewarded();

between the first code and the second could pass at least a few seconds. The second time, the advertisement is not displayed but there is no events.

Do you know how can I fix it? Thank you in advance, Enrico

marcojak commented 3 months ago

Hi Enrico,

Do you have the same issue with the sample app?

If the issue is there as well, it might be a problem with the plugin. If so, I'll check and in case update the plugin with the fix.

On Tue, 5 Mar 2024, 23:17 Enrico Rossini, @.***> wrote:

Hi, I read posts with the same issue, and I was thinking that maybe you already know how to fix it. In my app, I display a reward advertise and it is displayed. The second time the advertisement is not displayed.

I tried to call again this code

CrossMauiMTAdmob.Current.LoadRewarded(DeviceInfo.Current.Platform == DevicePlatform.Android ? Constants.AndroidReward1 : Constants.iOSReward1);

and then I call

CrossMauiMTAdmob.Current.ShowRewarded();

between the first code and the second could pass at least a few seconds. The second time, the advertisement is not displayed but there is no events.

Do you know how can I fix it? Thank you in advance, Enrico

— Reply to this email directly, view it on GitHub https://github.com/marcojak/MauiMTAdmob/issues/69, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUIPIRCGLPMTLAJU7AKHNLYWZAA5AVCNFSM6AAAAABEH6NRK2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TAMRTGQ4DMMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

erossini commented 3 months ago

Honestly, I haven't checked.

erossini commented 3 months ago

Hi Marco, I tried to run your sample project and I have a few issues. So, I created a new one and you can see it on this repo. I have the same issue with your project on a real device.

erossini commented 3 months ago

Did you have a chance to look at this code? @marcojak thank you in advance

marcojak commented 3 months ago

Yes, I can see the same issue on the sample code...I'm investigating it and I hope to fix it asap

erossini commented 3 months ago

Thank you so much! Enrico

marcojak commented 3 months ago

Found the issue and fixed it. I'm planning to release the new version in the next few days with this fix and possibly with few other improvements.

erossini commented 3 months ago

Perfect! Thank you!

marcojak commented 3 months ago

Just published version 1.3.3. Closing for now, but feel free to open a new one in case of issues

erossini commented 3 months ago

Thank you so much/ I'll try it now