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

Is First Run On Device #122

Open
3 tasks
winsmith opened this issue Sep 22, 2023 · 0 comments
Open
3 tasks

Is First Run On Device #122

winsmith opened this issue Sep 22, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@winsmith
Copy link
Contributor

winsmith commented Sep 22, 2023

Based on the sheer number of people asking me about this every time I post this graph, it might be worth automatically adding some kind of simple "isFirstRunOnDevice" flag on all logs into the SDK

  • Gate this code so it only runs on platforms which du supply a UserDefault implementation
  • Check if com.telemetrydeck.[APP_ID].hasInitializedBefore is set (replace [APP ID] with the app's ID. If it is not set, set it to true.
  • On Signal send, add a payload value with key "isFirstRunOnDevice" and value either "true" or "false"
@winsmith winsmith added the enhancement New feature or request label Sep 22, 2023
@winsmith winsmith added the help wanted Extra attention is needed label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant