marcojak / MauiMTAdmob

MIT License
104 stars 17 forks source link

Maui Integration with Blazor #37

Closed eantoniobr closed 5 months ago

eantoniobr commented 11 months ago

After a lot of research, I couldn't find a solution to integrate the library using Blazor.

Is it possible to use this library with Blazor or is it impossible?

Is there a possibility of creating a solution for this?

marcojak commented 10 months ago

So, Blazor is web-based while this library uses the Xamarin Admob library which is mobile-based. It's against Google policy to use web ads in a mobile app. so even if you technically find a solution, it's very likely that Google will ban your account. I still have to look closely at Blazor but I think it's possible to create a hybrid solution, where part of the MAUI screen contains native mobile components and another part is Blazor. You could potentially use this library in the native part and have the Blazor part, ads-free. I haven't tried this solution but I think it should work.

marcojak commented 5 months ago

If you are using an hybrid MAUI+ Blazor app you can use easily it.