pocket-casts-android icon indicating copy to clipboard operation
pocket-casts-android copied to clipboard

Keep Track of Skips in Rapid Succession

Open leoherzog opened this issue 1 year ago • 2 comments

Description

If a user skips ahead 30 seconds with a button press, then immediately skips backwards 15 seconds, the "time saved skipping forward" that's recorded is 30 seconds saved. Or, if a user skips forward 30 seconds and immediately skips backwards 30 seconds, that's recorded as 30 seconds saved.

We should keep track of backward and forward skips within a two second window in PlaybackManager.kt and only send the difference to statsManager.

Fixes #969

Testing Instructions

  1. Skip forwards then quick skip backwards
  2. Check the stats and make sure that only the difference was sent.

leoherzog avatar May 15 '23 21:05 leoherzog