SparkDevNetwork / Rock.Mobile-Issues

3 stars 2 forks source link

[Issue]: Media Commands Crash Apps #35

Open trydyingtolive opened 2 months ago

trydyingtolive commented 2 months ago

Describe the Issue in Detail

When using the Media Commands referenced here https://mobiledocs.rockrms.com/essentials/block-commands/media-commands Audio or Video doesn't work. In Android it doesn't play and shows a blank screen, but on iOS it crashes the app.

Can reproduce in

Steps to Reproduce

Create a page and put a Content block on it. Copy and paste the XAML from below.

Expected Behavior

An audio or video player will pop up and start playing.

Actual Behavior

Android has a blank screen and nothing plays. On iOS the app crashes.

Screenshots or Videos

Screenshot_20240819-153110

Reproduction XAML

<StackLayout>
 <Button Text="Tap"
        Command="{Binding PlayAudio}"
        CommandParameter="http://www.noiseaddicts.com/samples_1w72b820/2541.mp3" />

    <Button Text="Tap"
        Command="{Binding PlayVideo}"
        CommandParameter="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" />    
</StackLayout>

Mobile Shell Version

6.0.0.0

Last Known Working Version

v5

iOS Device Type(s) and iOS Version(s)

iPhone 14

Android Device Type(s) and Android Version(s)

Pixel 6, Pixel 8

camattard commented 1 month ago

We are experiencing this issue as well with iPhone 12 Pro Max.