Skip to content

[BUG] Tracks fail to play in iOS app but work in Safari #732

Description

@advaykambalimath

Description

Tracks fail to play in the Monochrome iOS app, while the same tracks work on monochrome.tf in Safari on the same device.

The app loads the track metadata, creates the audio context, and resolves an Amazon Music DASH/CENC stream. Playback then fails with Source not supported.

The logs also show that the Amazon service-worker decrypter is disabled for the native app shell, which may cause encrypted streams to behave differently inside the Capacitor WKWebView.

Reproduction steps

1. Open the Monochrome iOS app.
2. Sign in.
3. Play a track that resolves to an Amazon Music DASH/CENC source.
4. Observe that playback fails.
5. Open the same track on monochrome.tf in Safari.
6. Observe that it plays normally.

Expected Behavior

Tracks should play in the iOS app the same way they do in Safari.

Screenshots

No response

Logs (Desktop only)

This is the iOS logs.

[Amazon SW Decrypter] PWA disabled for native app shell
[AudioContext] Created: 48000Hz
[Amazon SW Decrypter] stream decision {"needsProxyDecryption":true,"shouldProxyAmazon":true,"hasDecryptionKey":true,"hasKeyId":true,"playbackType":"dash-cenc","urlHost":"d17vo8z6jop21h.cloudfront.net"}
Routing Amazon Music CENC stream through SW Decrypter
[AudioContext] Current state: running
Could not play track: One Dance {}
Media playback error (audio-player): Source not supported {"isTrusted":true}

Browser

Monochrome iOS app using Capacitor WKWebView. Safari works correctly.

Device

iPhone 17 Pro Max simulator running iOS 26.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions