-
In Plugin.LocalNotification.Platform.Droid.NotificationServiceImpl, I think the code for setting the color is not correct:
SetColor expects an ARGB int, not a resourceId. Also, why did you do this change ? In the previous version, we were able to set the color value (ARGB int) directly in NotificationRequest, but now if I understand correctly you expect us to use an android resource for it ? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
@tranb3r Yes, the expectation is to use a colour in android resource, if it's a custom one, developer need to add it to android resource then use the name of the colour. This makes the code more readable. |
Beta Was this translation helpful? Give feedback.
-
@thudugala |
Beta Was this translation helpful? Give feedback.
-
@tranb3r Have not updated the sample with version 7 yet. in your experience, is it much more likely to use a custom colour, rather than existing colour definition already in android resources ? Not a bug, as this was a design decision in version 7.0.0 |
Beta Was this translation helpful? Give feedback.
-
@thudugala Also, about your design decision:
|
Beta Was this translation helpful? Give feedback.
-
@tranb3r and @mos379 will fix it in next version that will come soon |
Beta Was this translation helpful? Give feedback.
-
fixed issue after version 8.0.1. Now you can set either an ARGB value or use an android resource name. |
Beta Was this translation helpful? Give feedback.
fixed issue after version 8.0.1.
Now you can set either an ARGB value or use an android resource name.