Describe the Bug
On Android, two remote-control buttons are missing from the notification / lock screen (both work fine on iOS):
- The skip forward / backward (±15s) buttons never appear while the app is in the background.
- In a playlist (multi-track queue), only the Next button ever appears — the Previous button never shows, on any track (not just the first one). This used to work on v4, where I managed the Previous/Next controls manually (updating capabilities per track); after migrating to v5 the Previous button stopped showing up in the notification even when it's included in
capabilities.
Steps To Reproduce
Issue 1 — skip buttons:
- Set up a single track with skip commands:
TrackPlayer.setCommands({
capabilities: [PlayerCommand.PlayPause, PlayerCommand.Seek, PlayerCommand.SkipForward, PlayerCommand.SkipBackward],
forwardInterval: 15,
backwardInterval: 15,
});
- Start playback, send the app to the background, and look at the notification / lock screen.
- → The ±15s skip buttons are not shown (only play/pause). On iOS they appear correctly.
Issue 2 — Previous button in a playlist:
- Set up a queue with several tracks:
TrackPlayer.setCommands({
capabilities: [PlayerCommand.PlayPause, PlayerCommand.Seek, PlayerCommand.Previous, PlayerCommand.Next],
});
- Start playback and skip to the 2nd or 3rd track.
- Look at the notification / lock screen.
- → Only Next is shown. Previous never appears, even when there is a previous track in the queue and
Previous is set in capabilities. On iOS both appear correctly. This worked on v4 (I was updating the Previous/Next capabilities manually per track); it broke after upgrading to v5.
Environment Info:
- Output of
npx react-native info:
System:
OS: macOS 26.5.1
Binaries:
Node: 22.20.0
Yarn: 1.22.22
npm: 10.9.3
IDEs:
Android Studio: 2025.1
Languages:
Java: 17.0.17
npmPackages:
react: 19.2.4
react-native: 0.86.2
Android:
hermesEnabled: true
newArchEnabled: true
@rntp/player version: 5.8.0
- Real device or simulator: Real device
Describe the Bug
On Android, two remote-control buttons are missing from the notification / lock screen (both work fine on iOS):
capabilities.Steps To Reproduce
Issue 1 — skip buttons:
Issue 2 — Previous button in a playlist:
Previousis set incapabilities. On iOS both appear correctly. This worked on v4 (I was updating the Previous/Next capabilities manually per track); it broke after upgrading to v5.Environment Info:
npx react-native info:@rntp/playerversion: 5.8.0