googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
344 stars 285 forks source link

google_mobile_ads 5.2.0 not compatible with webview_flutter >=4.10.0 #1200

Open zakblacki opened 3 weeks ago

zakblacki commented 3 weeks ago

Because google_mobile_ads 5.2.0 depends on webview_flutter_android ^3.15.0 and webview_flutter >=4.10.0 depends on webview_flutter_android ^4.0.0, google_mobile_ads 5.2.0 is incompatible with webview_flutter >=4.10.0.

Please update.

alexazdzez commented 3 weeks ago

Hello, I think i have the same problem: Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

I would like to have this corrected, what can I do to help?

malandr2 commented 3 weeks ago

Hi @zakblacki, thank you for flagging. We are aware; however, in the meantime our plugin uses webview_flutter: ^4.7.0 which is compatible with webview_flutter_android: ^3.15.10. We will look into updating in our next release.

@alexazdzez your issue is related to gradle. Try updating your gradle version and/or kotlin version to 1.9.0.

alexazdzez commented 3 weeks ago

Hi @malandr2, thanks for your answer. I update kotlin to 1.9.0 and it's still not working.

malandr2 commented 3 weeks ago

Hi @alexazdzez, are you able to run the banner_example? If so, try applying similar settings in your project as a proof of concept

alexazdzez commented 3 weeks ago

Hello @malandr2, It's working. thank you very much