Firebase Analytics google_analytics_automatic_screen_reporting_enabled not working
See original GitHub issueEnvironment
- Android Studio version: 4.1.1
- Firebase Component: Analytics
- Component version: 18.0.0 ( using bom:26.1.0)
Steps to reproduce:
I added meta-data google_analytics_automatic_screen_reporting_enabled to false in AndroidManifest.xml to disable screen view event. Yesterday screen_view was not sent as I expected but today with the same codebase, it’s keep sending screen_view event. I checked on logcat using adb logcat -v time -s FA FA-SVC) as well as DebugView.
Relevant Code:
<meta-data
android:name="google_analytics_automatic_screen_reporting_enabled"
android:value="false" />
Issue Analytics
- State:
- Created 3 years ago
- Reactions:37
- Comments:56 (1 by maintainers)
Top Results From Across the Web
Disabling firebase automatic screen reporting - Stack Overflow
Google Analytics for Firebase does NOT support the case of manual-only screen reporting. The plist flag FirebaseAutomaticScreenReportingEnabled ...
Read more >[firebase_analytics] Disabling the automatic screen reporting ...
Hi guys :) Bug report Describe the bug We're using firebase_core (1.10.0) and firebase_analytics (9.0.3) to log some events (pages view, ...
Read more >Measure screenviews | Google Analytics for Firebase
Automatic screenview reporting can be turned off on iOS by setting FirebaseAutomaticScreenReportingEnabled to NO (Boolean) in the Info.plist. And on Android, ...
Read more >[Analytics Plugin (Firebase)] How to disable automatic screen ...
On iOS, to disable automatic screen tracking so that you can assume control of the screen_view event, you will need to add a...
Read more >Track Screenviews | FlutterFire
Google Analytics tracks screen transitions and attaches information about the current screen to events, enabling you to track metrics such as user ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello to all,
The new version of Firebase Bom: 28.0.1 containing the Firebase Analytics: 19.0.0.0 version correctly disables the automatic screen_view event that we want to remove.
Here is the data collection for the last 30 min:
As you can see the event is from the custom app. The event that I collect is page view with the parameters that I want
Here are all the events that have been launched and not the screen_view one 😃
It seems to depend on particular device or system version.
I created a simple Android TV app that lets you test if automatic screen reporting is disabled: https://github.com/piotr767/firebase-analytics-test. You just need to paste the google-services.json for your Firebase project.
When I run it on Android TV emulator with API 28 image it works correctly (no automatic screen events are reported) but when I run it on my physical Android TV device with API 28 it doesn’t work (all screen events are reported). I saw it working correctly on my physical device about a month ago though.
@eburley are there any system settings / configs that can affect this option?