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>

Flutter vs React Native

Summary: This week we’ll be looking at a comparison between two open-source mobile application frameworks, namely React Native and Flutter.

Mobile development is nothing new, you usually use native solutions à la Java/Kotlin (Android) or Objective-C/Swift (iOS). Cross-platform doesn’t have to be like this though, React Native and Flutter will help you with maintaining just one code base! There are other similar cross-platform frameworks available, but today we’ll be focusing on these two only, as I have written and published Apps with both frameworks already.

I have decided to do weekly TL;DR comparisons for software and hardware choices. This week we’ll be looking at a comparison between two open-source mobile application frameworks, namely React Native and Flutter.

Introduction

Mobile development is nothing new, you usually use native solutions à la Java/Kotlin (Android) or Objective-C/Swift (iOS). Cross-platform doesn’t have to be like this though, React Native and Flutter will help you with maintaining just one code base! There are other similar cross-platform frameworks available, but today we’ll be focusing on these two only, as I have written and published Apps with both frameworks already.

Quick Facts

FlutterReact Native
backed byGoogleFacebook
programming languageDartJavaScript
first release20152017

Performance

React Native: JavaScript communication to native code via bridge.

Flutter: Dart code is compiled into a native, ARM library.

Generally Flutter should have the upper hand when it comes to performance.