How does session_length is calculated by Fabric An

2019-09-19 02:32发布

问题:

currently, the given session length is about 0.25s, which is maybe no more than the initialisation time.

Could you tell me how does it work?

the doc didn't help me much.

I currently initialize Fabrics like that:

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    Log.v(Constants.APP_TAG, "MainActivity: onCreate");

    Fabric.with(this, new Crashlytics(), new Answers());

    ...
}

回答1:

Todd from Fabric here.

It looks like you are reporting the length in seconds so it is reporting 25 seconds not .25 seconds. We don't report fractions of seconds anywhere in the dashboard.