Skip to content

Notification completely broken on MIUI 13 / Android 12 - buttons unresponsive and in wrong order #2564

@u2gilles

Description

@u2gilles

Description
On MIUI 13 (Android 12), the notification media controls are completely non-functional:

Buttons do not respond to taps - pressing Play, Pause, or any button has no effect
Buttons are in wrong order - not matching the configured notificationCapabilities
"Skip to Next" button is missing entirely
The same app on Android 15 (Xiaomi HyperOS) shows the correct button layout and all controls work perfectly.

Environment
RNTP Version: react-native-track-player@^5.0.0-alpha0-nightly-359af5a12d712d3b685530aed9b9625865a25d74
Broken Device: MIUI Global 13.0.16, Android 12 (security patch 2022-01)
Working Device: Xiaomi, Android 15 (HyperOS)

Configuration

await TrackPlayer.updateOptions({
  notificationCapabilities: [
    Capability.Play,
    Capability.Pause,
    Capability.JumpBackward,
    Capability.JumpForward,
    Capability.SkipToNext,
    Capability.SkipToPrevious,
  ],
  forwardJumpInterval: 30,
  backwardJumpInterval: 30,
});

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions