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

Stat nth_share not starting at 1 (Android) #548

Open
Deleplace opened this issue May 9, 2023 · 3 comments
Open

Stat nth_share not starting at 1 (Android) #548

Deleplace opened this issue May 9, 2023 · 3 comments

Comments

@Deleplace
Copy link
Collaborator

The first user stat having a non-null nth_share often has nth_share=2 instead of nth_share=1.

This may be related to the Sample Photo action, which may increase the counter but not sent it to the server.

@Deleplace
Copy link
Collaborator Author

Strange behaviour:

  • on very first use, "Share sample" + "Cancel" results in 2 actions, having nth=1 and nth=2
  • on very first use, "Share sample" + Scan results in 2 actions, having nth=1 and nth=2
  • all subsequent uses seem to result in 1 action only

@Deleplace
Copy link
Collaborator Author

The mobile is launching 2 requests to /wakeup, with different nth, at the same instant.

@Deleplace
Copy link
Collaborator Author

Maybe onResume() is called once more when the permission modal "Allow camera?" is triggered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant