2.6.1 (2021-11-29)
2.6.0 (2021-10-13)
- iframe-plugin: the iframe is painted as a blank view (d40e98d), closes #41
- remove null from useHtmlIframeProps return signature (dead condition) (4c51d0a)
- iframe-plugin: support headers via
provideEmbeddedHeadersprop (436a2ac)
2.5.0 (2021-06-08)
- iframe: support react-native-render-html@6.0.0-beta.0 (96c33b5)
2.4.0 (2021-05-21)
- iframe: did not pick config passed in rendererProps (3580d77)
- support react-native-render-html@6.0.0-alpha.25; beware of upstream breaking changes (53e322c)
2.3.0 (2021-04-17)
- iframe-plugin: support react-native-render-html@6.0.0-alpha.23 (489f8f4)
2.2.2 (2021-04-17)
- restrict to react-native-render-html < 6.0.0-alpha.23 (3a8d9f8)
2.2.1 (2021-04-17)
- restrict compatible versions of react-native-render-html (032c4ed)
2.2.0 (2021-02-19)
- force responsive layout when scalesPageToFit = false (1:1) (1233104)
- iframe: new
removeBodySpacingandinjectedCSSStylesoptions (2166dc6)
2.1.1 (2021-02-18)
- replace outdated type import
RenderHTMLPassedProps(872bc96)
2.1.0 (2021-02-08)
- iframe-plugin: handle baseUrl for inline iframe source (ac0d125)
- iframe-plugin: support relative
srcURLs (3f13d68)
2.0.2 (2021-02-07)
2.0.1 (2021-02-07)
- iframe-plugin: pass anchor attributes and target to
onLinkPress(a5c22e8) - iframe-plugin: upgrade webshell to v2.3.0 fixing potential infinite re-renders (a3d9248)
2.0.0 (2021-02-06)
- iframe-plugin: support react-native-render-html 6.x (11a8ca0)
- iframe-plugin: -
extractHtmlIframePropshas been dropped in favor ofuseHtmlIframePropshook for reusability.
- requires
react-native0.63.x and above - new
iframeModelexport for the new custom renderers API
1.1.1 (2020-12-05)
- iframe-plugin: resolve TypeError when renderersProp is not defined (54e650b)
1.1.0 (2020-12-05)
- iframe-config: new config option
webViewProps(b7d16f8) - iframe-plugin: allow to override config in extractHtmlIframeProps (ee25f4b)
Here comes a brand new renderer for iframe, which has been extracted from
react-native-render-html. It has a new powerful feature: scalesPageToFit
(disabled by default) which will zoom-out just the right amount when the width
of the iframe is greater than the available width on screen (as determined by
HTML contentWidth prop.) In the screenshot below, scalesPageToFit is disabled
(left), and enabled (right):
- iframe-plugin: brand new iframe renderer (b08d56d)
- iframe-plugin: new scalesPageToFit config (8f5c030)
- iframe-plugin: the component inherits from
tagsStylesandclassesStylesstyles when matched - iframe-plugin: compliance with React Native Render HTML RFC001: use
computeEmbeddedMaxWidthto constrain max width for iframes
