Automatic logging screen_view within activities causes conflict, when my activity is a container displaying fragments. When my first fragment comes in and tries to set it's presence using 'setCurrentScreen' method, it fails while logcat reports:
"Screen exposed for less than 1000 ms. Event not sent."
Along with many predecessors that reported their issues here which were ignored for the past 3 years? They wanted to have option to disable automatic logging (which by the way was possible on iOS):
https://github.com/firebase/quickstart-android/issues/370
Run setCurrentScreen in Fragment that is rendered within Activity.
I found a few problems with this issue:
@g-charbel fyi
+1 for disabling automatic logging.
In order to protect the user's privacy as much as I can, I want to not track anything I don't need to.
My particular problem is that I explicitly ask users whether they accept me using their data for analytics. And I would like to respect their decision with the exception being that I would record the event of whether they opt-in/out of being tracked, regardless of the option selected. This is to help me gain insight into what percentage of my users are represented by the analytics being captured.
Thanks @piotrkst, we are actively working on this feature and will have something to report in the near future!
Hi all, updating this thread to let you know that this feature was released. Thank you!
Most helpful comment
Thanks @piotrkst, we are actively working on this feature and will have something to report in the near future!