Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

colorized in false and adding a color doesnt work. #409

Open
didiabel opened this issue Aug 9, 2022 · 0 comments
Open

colorized in false and adding a color doesnt work. #409

didiabel opened this issue Aug 9, 2022 · 0 comments

Comments

@didiabel
Copy link

didiabel commented Aug 9, 2022

setting colorized to false, and adding a color doesnt change anything

this is my code:

MusicControl.setNowPlaying({
  title: 'Billie Jean',
  artwork: 'https://i.imgur.com/e1cpwdo.png', // URL or RN's image require()
  artist: 'Michael Jackson',
  album: 'Thriller',
  genre: 'Post-disco, Rhythm and Blues, Funk, Dance-pop',
  duration: 294, // (Seconds)
  description: '', // Android Only
//(RED)
  color: 0xff0000, //  Android Only - Notification Color
  colorized: false, // Android 8+ Only - Notification Color extracted from the artwork. Set to false to use the color property instead
  date: '1983-01-02T00:00:00Z', // Release Date (RFC 3339) - Android Only
  rating: 84, // Android Only (Boolean or Number depending on the type)
  notificationIcon: 'my_custom_icon', // Android Only (String), Android Drawable resource name for a custom notification icon
  isLiveStream: true, // iOS Only (Boolean), Show or hide Live Indicator instead of seekbar on lock screen for live streams. Default value is false.
})
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant