Android Crash Fix: Firebase_admob (0.6.1+1)

The bug is described in issue #23102.

The cause can be backtracked to the latest Google Mobile Ads SDK change (v.17.0.0): https://ads-developers.googleblog.com/2018/10/announcing-v1700-of-android-google.html

The temporary fix when using firebase_admob (0.6.1+1) is to add your AdMob app ID to the AndroidManifest.xml of your flutter project:

1
2
3
4
5
6
7
8
<manifest>
<application>
<!-- TODO: Replace with your real AdMob app ID -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-################~##########"/>
</application>
</manifest>

Comments