React-native-track-player: [IOS] remote-duck

Created on 25 Nov 2018  路  6Comments  路  Source: react-native-kit/react-native-track-player

hi, I found a bug in my app.

'remote-duck is not a supported event type for RNTrackPlayer? Supported events are: ....

Bug Javascript

Most helpful comment

remote-duck has been added to iOS on 1.1.5, you can keep the subscription on both platforms now.

All 6 comments

Fixed in 08e9b784759085553e63c7c608453b8b63b16ef8

Oh, thanks you. good job

IOS does not support remote-duck so how to detect headset unplug? It pause media player but no event fire.

@Guichaguri looks like it's back again? yesterday everything was working fine on v 1.1.4, today I get "remote-duck is not a supported event type for RNTrackPlayer". Still on v 1.1.4.

Edit: I removed the event subscription on iOS and it's working now, so it was caused by my own code. Nevertheless, it was working fine before.

remote-duck has been added to iOS on 1.1.5, you can keep the subscription on both platforms now.

Thanks, it's working now. Not sure why it stopped working before though.

Was this page helpful?
0 / 5 - 0 ratings