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

feat: AudioMessages play in background part 2 #WPB-11725 #3802

Open
wants to merge 2 commits into
base: feat/audio_messages_play_in_background
Choose a base branch
from

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Jan 15, 2025

StoryWPB-11725 [Android] Playback improvement - 2 - Auto playback/Background play

What's new in this PR?

Audio messages should be played even when user leave the conversation screen, or hide the application.
Also message should be paused when other audio source comes on device.

Solutions

Start Foreground service on start playing Audio message (PlayingAudioMessageService)
Also added StopAudioMessageReceiver and PlayPauseAudioMessageReceiver for handling audio control in notification.
Updated ConversationAudioMessagePlayer now it's a singleton and can be used from service.

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

Attachments (Optional)

document_5206496726445220531.mp4

@borichellow borichellow self-assigned this Jan 15, 2025
Copy link

Ups 🫰🟨

This PR is too big. Please try to break it up into smaller PRs.

Copy link

@borichellow borichellow changed the title feat: AudioMessages play in background part 2 feat: AudioMessages play in background part 2 #WPB-11725 Jan 15, 2025
@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants