I tried to apply the the style tintColor on the FastImage, but it seems that this style is not supported, I need to change a PNG color dynamic in code, but I also want to use this wonderful library instead the native Image component.
Hi! Same here :)
It's not currently supported. You could add a semitransparent view over the image.
It may eventually be supported but it's not a high priority at the moment.
as far as I can tell it works, but you're throwing a warning anyway
Add this somewhere in one of the root files to ignore the warning:
YellowBox.ignoreWarnings([
'Warning: Failed prop type: Invalid props.style key `tintColor` supplied to `FastImage`',
]);
In the new 5.x.x version tintColor doesn't work anymore
Hey @GuillaumeMunsch, I think it is not yet supported
Someone implemented it and made a PR #226, but still waiting for the merge.
Most helpful comment
Hey @GuillaumeMunsch, I think it is not yet supported
Someone implemented it and made a PR #226, but still waiting for the merge.