June 2018
Beginner to intermediate
394 pages
9h 2m
English
The latency of 12 hours is a big drawback to Performance Monitoring to test whether Performance Monitoring is working or not. We don't need to wait for 12 hours; we can simply enable the Logcat output and we can locally confirm that data is being sent to Firebase, what information is being sent, and so on. To enable Logcat, we need to add a metadata tag inside the application tag within the manifest file as follows:
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <meta-data android:name="firebase_performance_logcat_enabled" android:value="true" /> <activity ...
Read now
Unlock full access