diff --git a/src/trackPlayer.ts b/src/trackPlayer.ts index 8a16b8d04..4622bca3b 100644 --- a/src/trackPlayer.ts +++ b/src/trackPlayer.ts @@ -259,6 +259,11 @@ export async function updateMetadataForTrack( return TrackPlayer.updateMetadataForTrack(trackIndex, metadata); } +/** + * @deprecated Nominated for removal in the next major version. If you object + * to this, please describe your use-case in the following issue: + * https://github.com/doublesymmetry/react-native-track-player/issues/1653 + */ export function clearNowPlayingMetadata(): Promise { return TrackPlayer.clearNowPlayingMetadata(); }