Closed Jaffex closed 1 week ago
Came across this while implementing it, leaving it here for future reference https://developer.apple.com/library/archive/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html#//apple_ref/doc/uid/TP40007875-CH10-SW3
On the problem at hand, this seems to be completely intentional which is surprising and seems very weird to me. I'll go clean that code up and check everything works properly in the background.
Okay, #3236 will fix this as well as add playback controls on the lockscreen, do let us know if you have any more troubles with it.
Awesome, can't wait to try it out! Thank you Stefan for your awesome work on this app!
Is your feature request related to a problem? Please describe. Listening to voice messages longer than the auto locking cycle is very annoying. One has to either tap the screen during playback or resume playback when the voice message got paused by the phone auto locking.
Describe the solution you'd like When playing back a voice message, the phone could be prevented from locking, similar to how it does not lock while recording one.
Alternatively or even in addition (if one wants to lock the phone manually during playback), the voice message playback could also continue in the background, while the phone is locked.
Describe alternatives you've considered So far I've not found one, except just manually preventing the phone from locking. I did not want to increase the phone's locking time as it a) does not solve the problem for longer voice messages either and b) reduces security
Additional context (None)