According to this documentation, the measurement of _app_start
- Starts when the app's FirebasePerfProvider ContentProvider completes its onCreate method.
- Stops when the first activity's
onResume()method is called.
My app has two activities
- LoginActivity
- MainActivity
LoginActivity being the launcher activity.
In the onCreate method of LoginActivity, I check if the user is logged in and open MainActivity if true.
My expectation was that the measurement of _app_start should stop when the onResume of LoginActivity is called. (as this is the first activity)
However, I am having trouble understanding these logs (starting the app for a logged in user).
The first log shows that LoginActivity was rendered in 620ms, but the _experiment_app_start_ttid records 1988ms.
Additional Info: I am manually logging the app_start event in firebase analytics from MainActivity.
Following are my doubts
- Why is the value of the
Displayedlog(620ms) different from_experiment_app_start_ttid(1988ms)? Is this trace something entirely different from_app_start? - How can I log the value for
_app_starttrace? - Does manually logging the
app_startanalytics event inMainActivityaffect the_app_starttrace measurement? (like is it stopping after theonResumeofMainActivity?)

