-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the Issue in Detail
There are multiple issues with the Bible Audio control on Mobile v6, we had none of these issues on v5 and all issues I'm reporting previously worked.
-
On Android there is no Media Player Control Notification shown
- On v5 there was a notification that allowed you to control the media that's playing
- The app will play audio in the background if you navigate away but it spits and chops at times, or just stops playback.
- If you play audio and stay in the app but navigate to a different page you effectivly lose control over the playback and only quitting the app will stop the audio playback.
-
On Android the bible audio playback is in-consistent on Android Auto
- Some times it works but most times it does not
- There are never any media controls displayed
- When it does play audio you can't control it, and no media information is displayed on the Android Auto player. Example: When driving I use YouTube Music, if I'm listening to Music and then open the Ark App and play a podcast, it might play over the speakers or it might not. If it does play, it will play over the currently playing music, it does not stop what's currently playing, nor does it show and information or controls.
-
On Apple devices
- While playing audio if you navigate away from the app, it stops playing, If you navigate back to the app it resumes playback.
Can reproduce in
- Orange App
- Blue App
Steps to Reproduce
- Add a bible audio control to a page and wire it up to play
- use the page to test the issues described above
Expected Behavior
-
On Android I would expect a persistent Media Player Notification to allow playback control.
-
On Android I would expect the currently playing audio to be played over Android Auto with controls.
-
On Apple I would expect the audio playback to continue to play when the app is in the background.
Actual Behavior
There are no media playback controls shown on Android which causes many issues.
Audio stops on Apple devices when the app is not in the foreground.
Screenshots or Videos
I can provide video and screenshots however I'm not sure how useful that is in this situation. Simply using our app will demonstrate the issues.
Reproduction XAML
<!-- Bible Audio -->
<Rock:BibleAudio Reference="{{ selectedPassage | Replace:'Psalm','Psalms' | Replace:'Philemon','Philemon 1' }}">
<StackLayout Orientation="Horizontal"
StyleClass="p-16, mt-16"
HorizontalOptions="Center"
Spacing="8">
<Label Text="Listen"
StyleClass="bible-audio, text-primary"
VerticalOptions="Center" />
<Rock:Icon IconClass="{Binding BibleAudio.IsPlaying, Converter={Rock:BooleanValueConverter True=pause, False=volume-up}}"
FontSize="20"
Grid.Column="1"
StyleClass="text-primary"
VerticalOptions="Center" />
<StackLayout.GestureRecognizers>
<TapGestureRecognizer Command="{Binding BibleAudio.PlayOrPauseAudio}" />
</StackLayout.GestureRecognizers>
</StackLayout>
</Rock:BibleAudio>
Mobile Shell Version
v6.0
Last Known Working Version
v5.0
iOS Device Type(s) and iOS Version(s)
iPad Pro 18.5 , iPad 16.4
Android Device Type(s) and Android Version(s)
Pixel 9 Android v15