React-native-track-player: Rating not working on android

Created on 26 Oct 2017  路  3Comments  路  Source: react-native-kit/react-native-track-player

When I do this on Android:

    TrackPlayer.updateOptions({
      ratingType: RATING_HEART,
      capabilities: [CAPABILITY_PLAY, CAPABILITY_PAUSE, CAPABILITY_STOP, CAPABILITY_SET_RATING],
      compactCapabilities: [CAPABILITY_PLAY, CAPABILITY_PAUSE, CAPABILITY_STOP, CAPABILITY_SET_RATING],
      stopWithApp: true
    });

The rating does not appear on the status bas and I dont know why.

Also, for now I dont see the difference between compactCapabilities and capabilities. It seems that the compactCapabilities doesn't appear.

Android Enhancement

Most helpful comment

Rating does not show up in the notification at all. It's currently only accessible through external devices, such as smartwatches, cars, etc. Do you think rating buttons should be added?

All 3 comments

Rating does not show up in the notification at all. It's currently only accessible through external devices, such as smartwatches, cars, etc. Do you think rating buttons should be added?

I think it should be added to the notification. It would be nice to have a heart button to favorite a track for example. Thats what I was thinking when adding this capability. It should at least be specified in the doc when it doesn't appear in notification.

+1 to this feature request

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mnlbox picture mnlbox  路  4Comments

KalebPortillo picture KalebPortillo  路  4Comments

moduval picture moduval  路  4Comments

ManrickCapotolan picture ManrickCapotolan  路  4Comments

b3rkaydem1r picture b3rkaydem1r  路  3Comments