I'm trying to show likeCommand and dislikeCommand on the Lock Screen of a music player without success.
Are they still supported ? Is there any special configuration on the player or the track for them to show?
My current code which works for playCommand looks like this
MPRemoteCommandCenter.shared().likeCommand.addTarget { [unowned self] _ in
if isPlaying {
return .success
}
return .commandFailed
}