diff --git a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java index ac6cde1ff..aa8fc75d9 100644 --- a/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java +++ b/packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterRequestAgentProvider.java @@ -30,7 +30,8 @@ private void processGameAndNewsTemplateVersions(Context context) { context .getApplicationContext() .getPackageManager() - .getApplicationInfo(context.getPackageName(), + .getApplicationInfo( + context.getPackageName(), PackageManager.ApplicationInfoFlags.of(PackageManager.GET_META_DATA)); } else { info =