In v4.1.2, UpdateOptions included several icon-related properties that are missing in v5.0.0-alpha0:
v4.1.2 - Available properties:
TrackPlayer.updateOptions({
icon: require('./notification-icon.png'),
playIcon: require('./play-icon.png'),
pauseIcon: require('./pause-icon.png'),
stopIcon: require('./stop-icon.png'),
previousIcon: require('./previous-icon.png'),
nextIcon: require('./next-icon.png'),
rewindIcon: require('./rewind-icon.png'),
forwardIcon: require('./forward-icon.png'),
compactCapabilities: [Capability.Play, Capability.Pause],
// ...
});
v5.0.0-alpha0 - Removed properties:
icon - Custom notification icon
playIcon - Custom play button icon
pauseIcon - Custom pause button icon
stopIcon - Custom stop button icon
previousIcon - Custom previous button icon
nextIcon - Custom next button icon
rewindIcon - Custom jump backward button icon
forwardIcon - Custom jump forward button icon
compactCapabilities - Buttons shown in compact notification
Documentation comparison:
Questions:
- Is this removal intentional or an oversight in the alpha?
- If intentional, what's the migration path for customizing notification icons?
- The v5 docs still mention "¹ - The custom icons will only work in release builds" but all icon properties are missing - is this note outdated?
Environment:
- RNTP version: 5.0.0-alpha0
- Comparing with: 4.1.2 stable
- Platform: Android
Additional context:
These properties were commonly used for customizing Android notification appearance with custom icons. The removal of compactCapabilities also affects notification layout control. Understanding if they're permanently removed or temporarily unavailable would help with migration planning.
In v4.1.2,
UpdateOptionsincluded several icon-related properties that are missing in v5.0.0-alpha0:v4.1.2 - Available properties:
v5.0.0-alpha0 - Removed properties:
icon- Custom notification iconplayIcon- Custom play button iconpauseIcon- Custom pause button iconstopIcon- Custom stop button iconpreviousIcon- Custom previous button iconnextIcon- Custom next button iconrewindIcon- Custom jump backward button iconforwardIcon- Custom jump forward button iconcompactCapabilities- Buttons shown in compact notificationDocumentation comparison:
Questions:
Environment:
Additional context:
These properties were commonly used for customizing Android notification appearance with custom icons. The removal of
compactCapabilitiesalso affects notification layout control. Understanding if they're permanently removed or temporarily unavailable would help with migration planning.