As reading APP_SETTINGS->isFirstRun clears the new first run itself, all subsequent calls will always return false. This PR ensures that we locally store the first run state in order to correctly set the "new" tag on the lt_app_start metric.
This should fix Influx not recording a single instance of a "new" install in the last week.
As reading
APP_SETTINGS->isFirstRun
clears the new first run itself, all subsequent calls will always return false. This PR ensures that we locally store the first run state in order to correctly set the "new" tag on the lt_app_start metric.This should fix Influx not recording a single instance of a "new" install in the last week.
I have not compiled or tested this yet.