Uhh.. Do i need to download the latest expo-cli to make this work on my app... ??
Love that the background audio playback is working now! Thank you Expo team!
Is the lock screen player control something I can implement? Or is that not possible via Expo? If so, can you point me to any information that will help me build that piece?
@Larry J Rutledge: only when you eject for now - https://github.com/tanguyantoine/react-native-music-control (https://forums.expo.io/t/expo-av-audio-ios-support-for-control-center-lock-screen-control-etc/24235)
I have created feature request for this - https://expo.canny.io/feature-requests/p/add-react-native-music-control
I can also confirm Audio Playback in background working for Android as well.
@Guert Geraldo: We also have this working for Android BUT the audio stops after a while - could you confirm that you don’t have this problem? Thanks.
Pretty sure that ExoPlayer has to be implemented in a service to prevent Android from terminating it in the background https://www.youtube.com/watch?v=svdq1BWl4r8 Eject Eject!
Yeah Able to play audio in background for ios eith sdk 33. Haven't tested on android yet. Is there a plan for implementing native controls? Thank yo for your effort
Really looking forward for this to work on Android. Essential feature for my app too.
Works for me! Thank you to everyone who made it possible.
EDIT: See below, bug report for Android
My demo is here: https://expo.io/@dctalbot/wcbn-app
@David Talbot: no background audio for me on Android... 😕
@David Talbot: We have downloaded your app and noticed that you appear to have the same issue as us on Android - namely the background audio halts after a little while. Have you encountered this yourself? Thanks.
@Sam Kuhn: Yes, It must be device or OS specific. I've gotten a report of this from a beta tester who has a Moto x4 running Android 9. I can't reproduce it on my LG LS676 running Android 6. Can you please file an issue here: https://github.com/expo/expo/issues/new/choose
And I will comment whatever details I can
Playing Audio is essential feature of my app. I would like to here about background audio playback support in next release of expo SDK.
I have to ditch Expo only because playback in background is not supported.
Only just decided to use expo for a project when we ran into the lack of background audio playback issue, which makes it unusable for this particular app. Really hope you'll be able to support this soon so we can use expo for our project.