title: Streak of the user consecutively login in the app(Android)
body: <p>I want to check how many days the user consecutively login into the app and store it to a sync counter variable(1 day mean sync=1) and increment the sync as the user login consecutively and as the user miss a day we set the sync counter to 0, how can I implement this functionality and calculate the sync variable.</p>