Problem
The stream onTimebasedPlayerStateChanged emits different results depending on OS, when playing a publication in WebPubAudioOnly format:
- When calling e.g.
next() or previous():
- Android: the state
TimebasedState.loading is emitted.
- iOS: the state
TimebasedState.paused is emitted.
- When audio files are switched (e.g. from 0001.mp3 to 0002.mp3):
- Android: no new state (
TimebasedState) is emitted.
- iOS: the state
TimebasedState.paused is emitted.
Expected Result
iOS behaves as Android and emits TimebasedState.loading or nothing.
If possible, do not emit TimebasedState.paused in these scenarios. We should be able to know that if TimebasedState.paused is set, it's an action from the user or OS.
Problem
The stream
onTimebasedPlayerStateChangedemits different results depending on OS, when playing a publication in WebPubAudioOnly format:next()orprevious():TimebasedState.loadingis emitted.TimebasedState.pausedis emitted.TimebasedState) is emitted.TimebasedState.pausedis emitted.Expected Result
iOS behaves as Android and emits
TimebasedState.loadingor nothing.If possible, do not emit
TimebasedState.pausedin these scenarios. We should be able to know that ifTimebasedState.pausedis set, it's an action from the user or OS.