diff --git a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterMobileAdsWrapper.java b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterMobileAdsWrapper.java index a9dd1b32b..fd442f3f1 100644 --- a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterMobileAdsWrapper.java +++ b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterMobileAdsWrapper.java @@ -49,7 +49,7 @@ public void disableMediationInitialization(@NonNull Context context) { /** Wrapper for getVersionString. */ public String getVersionString() { - return MobileAds.getVersionString(); + return MobileAds.getVersion().toString(); } /** Wrapper for getRequestConfiguration. */