marcojak / MauiMTAdmob

MIT License
115 stars 18 forks source link

Cannot call CrossMauiMTAdmob.Current.Init since 1.6.1 in IOS #98

Closed tienbrown closed 2 months ago

tienbrown commented 2 months ago

Receiving following message since version 1.6.1 when trying to initialiaze in iOS AppDelegate. Using Visual Studio Code, .NET 8, and maui.

'IMTAdmob' does not contain a definition for 'Init' and no accessible extension method 'Init' accepting a first argument of type 'IMTAdmob' could be found (are you missing a using directive or an assembly reference?)

marcojak commented 2 months ago

Check here: https://github.com/marcojak/MauiMTAdmob/issues/97

You need to update the MAUI workload and then it will work.

tienbrown commented 2 months ago

Thanks, that fixed it.