native-html / plugins

Plugins for react-native-render-html
MIT License
55 stars 18 forks source link

If you get an error, read this first #30

Closed jsamr closed 3 years ago

jsamr commented 3 years ago

I have recently released new versions for react-native-render-html@6.x (foundry) release. If you're not on this pre-release yet, you should pay attention to the version of the plugins you're using. See the below table (available in the root project README):

react-native-render-html @native-html/table-plugin @native-html/iframe-plugin
< 5.0.0 2.x (documentation) No Plugin, iframes were rendered internally
≥ 5.0.0 < 6.0.0 3.x (documentation) 1.x (documentation)
≥ 6.0.0 4.x (documentation)
5.x (documentation)
2.x (documentation)

To install a specific version, use the semver ranges. For example, if you need the table plugin version 3.x, do:

yarn add @native-html/table-plugin@^3.0.0

Notes on React Native Render HTML 6.0.0-alpha.x

Different alphas brought breaking changes. Make sure you follow those rules:

RNRH 6.0.0 < alpha.23

RNRH 6.0.0 ≥ alpha.23, < alpha.25

RNRH 6.0.0 ≥ alpha.25 < beta.0

RNRH 6.0.0 ≥ beta.0