Skip to content

Conversation

BartoszKlonowski
Copy link
Member

This pull request fixes #161.
The fix is to avoid using the deprecated API of Drawable.setColorFilter.

The replacement used in this implementation is to:

  • check if version later than P(28) is used
  • use current setColorFilter
  • use depracated one if previous version is used
    (backward compatibility provided)

The fix was tested using the example application with the properties used in repro from an issue.

@BartoszKlonowski BartoszKlonowski added bug report Something isn't working platform: Android Issue related to Android platform labels Oct 14, 2021
@BartoszKlonowski BartoszKlonowski merged commit a548189 into master Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working platform: Android Issue related to Android platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash: Error while updating property 'minimumTrackTintColor' of a view managed by: RNCSlider
1 participant