Skip to content

Commit 37fc60d

Browse files
authored
Use updated getVersion() API on android. (#682)
1 parent 695c59d commit 37fc60d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterMobileAdsWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void disableMediationInitialization(@NonNull Context context) {
4949

5050
/** Wrapper for getVersionString. */
5151
public String getVersionString() {
52-
return MobileAds.getVersionString();
52+
return MobileAds.getVersion().toString();
5353
}
5454

5555
/** Wrapper for getRequestConfiguration. */

0 commit comments

Comments
 (0)