Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #72 On Android : The app stops playing when the device turns to sleep mode #79

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

arakneaweb
Copy link

This commit aim to use exoPlayer as a foreground service as recommanded here Create a basic media player app using Media3 ExoPlayer

This allow to automatically push notification when the screen turns off.

@arakneaweb arakneaweb closed this Nov 10, 2024
@arakneaweb arakneaweb reopened this Nov 11, 2024
ajustement de notation
release() there prevent the player to play once it has been previously stopped
This reverts commit 6bad221.
arakneaweb added a commit to arakneaweb/react-native-radio-player-akw that referenced this pull request Nov 11, 2024
release() there prevent the player to play once it has been previously stopped
@arakneaweb arakneaweb closed this Nov 11, 2024
@arakneaweb arakneaweb changed the title fix: #42 On Android : The app stops playing when the device turns to sleep mode fix: #72 On Android : The app stops playing when the device turns to sleep mode Nov 11, 2024
@arakneaweb arakneaweb reopened this Nov 11, 2024
release() there prevent the player to play once it has been previously stopped
@arakneaweb arakneaweb force-pushed the radio-player-foreground branch from 759f898 to 6c42691 Compare November 11, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant