Skip to content

Is First Run On Device #122

@winsmith

Description

@winsmith

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions