React-native-track-player: [Feature] Different Jump Intervals

Created on 30 Dec 2018  路  4Comments  路  Source: react-native-kit/react-native-track-player

How about to implement two options for the jump interval in order to be able to have two different values?
jumpIntervalForward & jumpIntervalBackward.
skipInterval & rewindInterval?

I've seen some podcasts app setting different intervals for skip and rewind. It can be quite useful.

+45 Seconds and -10 seconds for example. Skipping fast forward but only slowly back.

Enhancement

Most helpful comment

@Guichaguri I have added this enhancement in my fork. Can I generate PR?

All 4 comments

@Guichaguri I have added this enhancement in my fork. Can I generate PR?

Yes, please!

@nishanBende do you have this feature published somewhere?

@feedcast-me since I implemented it, I was facing an issue in my iOS app in production, notification control button used to get disabled after multiple calls to updateOptions. So, I am not using it.
Sorry, but I'll try to get a proper solution and reply here.
The functionality itself is very simple just passing parameters makes it work, but the button disabled issue I guess is related to this.
https://github.com/react-native-kit/react-native-track-player/issues/775

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabiocosta88 picture fabiocosta88  路  3Comments

moduval picture moduval  路  4Comments

RiccardoNL picture RiccardoNL  路  3Comments

moduval picture moduval  路  3Comments

sagargheewala picture sagargheewala  路  3Comments