Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Response Time Tracking #2

Merged
merged 25 commits into from Mar 4, 2022
Merged

Launch Response Time Tracking #2

merged 25 commits into from Mar 4, 2022

Conversation

anjalsaneen
Copy link
Contributor

@anjalsaneen anjalsaneen commented Dec 4, 2021

Currently, this library only supports cold launch time. This PR would add support for cold and hot launch along with tracking multiple extra information like the first install, an update, first install after clearing data, first activity Infos, process importance, etc

Testing Scope

  • Test result values of app launch time
  • Test in all os version
  • Test threading. Offload main thread

app/build.gradle Outdated
// implementation 'com.github.okcredit:android-cold-startup-instrumentation:2.000-dev'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to keep this comment?

/**
* Uses for tracking AppLaunch. Call this at the end of App OnCreate.
*/
fun onAppLaunchListener(context: Application, responseCallback: (AppLaunchMetrics) -> Unit) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add @RequiresApi annotation?

@anjalsaneen anjalsaneen merged commit 88ad83b into main Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants