-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Describe the bug
When the Android phone is connected with Android Auto, sounds played with react-native-sound-player still come out of the phone's speaker instead of the connected external speaker.
To Reproduce
Steps to reproduce the behavior:
- Connect your Android phone to a car with Android Auto. Alternatively, install the Android Auto simulator on your PC and connect your phone with that via ADB.
- Play a YouTube video, a Spotify song or anything else on your phone and observe that the sound comes out of the car/PC speaker and not the phone's own speaker.
- Now play a sound with react-native-sound-player and observe that the sound comes out of the phone's speaker
☹️
Expected behavior
Sounds played with react-native-sound-player should come out of the connected car/PC speaker when connected with Android Auto, just like sound output from any other app does.
Platform
- OS: Android
Additional context
I tried calling setSpeaker(true) but it had no effect of course since it's only for iOS.
Metadata
Metadata
Assignees
Labels
No labels