semantic-release-bot
16acf6fbdc
chore(release): 6.0.1 [skip ci]
## [6.0.1](https://github.com/react-native-community/react-native-webview/compare/v6.0.0...v6.0.1 ) (2019-05-17)
### Bug Fixes
* **Android:** on scroll syntax error ([#577 ](https://github.com/react-native-community/react-native-webview/issues/577 )) ([cbbff21 ](https://github.com/react-native-community/react-native-webview/commit/ cbbff21 ))
5 yıl önce
semantic-release-bot
cfa49943c4
chore(release): 6.0.0 [skip ci]
# [6.0.0](https://github.com/react-native-community/react-native-webview/compare/v5.9.0...v6.0.0 ) (2019-05-16)
### Features
* **android:** Migrate to Android X ([#520 ](https://github.com/react-native-community/react-native-webview/issues/520 )) ([1d6c88d ](https://github.com/react-native-community/react-native-webview/commit/ 1d6c88d ))
### BREAKING CHANGES
* **android:** If you override compileSdkVersion<28 it won't work anymore.
5 yıl önce
semantic-release-bot
6323d9962d
chore(release): 5.9.0 [skip ci]
# [5.9.0](https://github.com/react-native-community/react-native-webview/compare/v5.8.2...v5.9.0 ) (2019-05-16)
### Bug Fixes
* **Android:** geolocation access ([#562 ](https://github.com/react-native-community/react-native-webview/issues/562 )) ([409b9ae ](https://github.com/react-native-community/react-native-webview/commit/ 409b9ae ))
### Features
* **fullscreen videos:** Support fullscreen video on Android ([#325 ](https://github.com/react-native-community/react-native-webview/issues/325 )) ([d72c2ae ](https://github.com/react-native-community/react-native-webview/commit/ d72c2ae ))
* **onScroll:** Add `onScroll` callback for iOS & Android ([#516 ](https://github.com/react-native-community/react-native-webview/issues/516 )) ([e4c8dab ](https://github.com/react-native-community/react-native-webview/commit/ e4c8dab ))
5 yıl önce
semantic-release-bot
423aecaa02
chore(release): 5.8.2 [skip ci]
## [5.8.2](https://github.com/react-native-community/react-native-webview/compare/v5.8.1...v5.8.2 ) (2019-05-13)
### Bug Fixes
* **android:** unable to re-enable hardware acceleration after disabled it ([#553 ](https://github.com/react-native-community/react-native-webview/issues/553 )) ([c8977ec ](https://github.com/react-native-community/react-native-webview/commit/ c8977ec ))
5 yıl önce
semantic-release-bot
406241462f
chore(release): 5.8.1 [skip ci]
## [5.8.1](https://github.com/react-native-community/react-native-webview/compare/v5.8.0...v5.8.1 ) (2019-04-30)
### Bug Fixes
* **WKWebView:** StatusBar is gone after fullscreen (iOS 12) ([#544 ](https://github.com/react-native-community/react-native-webview/issues/544 )) ([c2914a8 ](https://github.com/react-native-community/react-native-webview/commit/ c2914a8 )), closes [#62 ](https://github.com/react-native-community/react-native-webview/issues/62 )
5 yıl önce
semantic-release-bot
d864c31b62
chore(release): 5.8.0 [skip ci]
# [5.8.0](https://github.com/react-native-community/react-native-webview/compare/v5.7.2...v5.8.0 ) (2019-04-29)
### Features
* **WKWebView:** Allow focus without user interaction ([#540 ](https://github.com/react-native-community/react-native-webview/issues/540 )) ([455c30e ](https://github.com/react-native-community/react-native-webview/commit/ 455c30e ))
5 yıl önce
semantic-release-bot
c297e320d2
chore(release): 5.7.2 [skip ci]
## [5.7.2](https://github.com/react-native-community/react-native-webview/compare/v5.7.1...v5.7.2 ) (2019-04-29)
### Bug Fixes
* **types:** wrong parameter type in onLoadProgress ([#538 ](https://github.com/react-native-community/react-native-webview/issues/538 )) ([5892601 ](https://github.com/react-native-community/react-native-webview/commit/ 5892601 ))
5 yıl önce
semantic-release-bot
4894e4836d
chore(release): 5.7.1 [skip ci]
## [5.7.1](https://github.com/react-native-community/react-native-webview/compare/v5.7.0...v5.7.1 ) (2019-04-23)
### Bug Fixes
* **WKWebView:** iOS crash when WebView's title is nil ([#521 ](https://github.com/react-native-community/react-native-webview/issues/521 )) ([7a91221 ](https://github.com/react-native-community/react-native-webview/commit/ 7a91221 ))
5 yıl önce
semantic-release-bot
b078c1d553
chore(release): 5.7.0 [skip ci]
# [5.7.0](https://github.com/react-native-community/react-native-webview/compare/v5.6.3...v5.7.0 ) (2019-04-15)
### Features
* **iOS cookies:** implement sharedCookiesEnabled prop for iOS RNCWKWebView ([#175 ](https://github.com/react-native-community/react-native-webview/issues/175 )) ([cdbfc19 ](https://github.com/react-native-community/react-native-webview/commit/ cdbfc19 ))
5 yıl önce
semantic-release-bot
a9c00faf37
chore(release): 5.6.3 [skip ci]
## [5.6.3](https://github.com/react-native-community/react-native-webview/compare/v5.6.2...v5.6.3 ) (2019-04-15)
### Bug Fixes
* **android:** updating source.html prop doesn't refresh webview ([#485 ](https://github.com/react-native-community/react-native-webview/issues/485 )) ([9aa14f1 ](https://github.com/react-native-community/react-native-webview/commit/ 9aa14f1 ))
5 yıl önce
semantic-release-bot
73d7335d8c
chore(release): 5.6.2 [skip ci]
## [5.6.2](https://github.com/react-native-community/react-native-webview/compare/v5.6.1...v5.6.2 ) (2019-04-04)
### Bug Fixes
* **styles:** Removes hard-coded container white backgroundColor ([#478 ](https://github.com/react-native-community/react-native-webview/issues/478 )) ([5ec74ea ](https://github.com/react-native-community/react-native-webview/commit/ 5ec74ea )), closes [#475 ](https://github.com/react-native-community/react-native-webview/issues/475 ) [#472 ](https://github.com/react-native-community/react-native-webview/issues/472 )
5 yıl önce
semantic-release-bot
934199d2d5
chore(release): 5.6.1 [skip ci]
## [5.6.1](https://github.com/react-native-community/react-native-webview/compare/v5.6.0...v5.6.1 ) (2019-04-03)
### Bug Fixes
* **styles:** removed unneeded display: 'none' ([91eb7ce ](https://github.com/react-native-community/react-native-webview/commit/ 91eb7ce )), closes [#473 ](https://github.com/react-native-community/react-native-webview/issues/473 )
5 yıl önce
semantic-release-bot
8206762e2d
chore(release): 5.6.0 [skip ci]
# [5.6.0](https://github.com/react-native-community/react-native-webview/compare/v5.5.1...v5.6.0 ) (2019-04-02)
### Features
* **android:** fix overflow issues and match iOS default renders ([#472 ](https://github.com/react-native-community/react-native-webview/issues/472 )) ([319a86e ](https://github.com/react-native-community/react-native-webview/commit/ 319a86e )), closes [#466 ](https://github.com/react-native-community/react-native-webview/issues/466 ) [#194 ](https://github.com/react-native-community/react-native-webview/issues/194 )
5 yıl önce
Thibault Malbranche
319a86e236
feat(android): fix overflow issues and match iOS default renders (#472 )
fixes #466 #194
* feat(android): fix overflow issues and match iOS default render error and loading behaviour
* Use babel preset typescript through react-native instead of ts-jest
* Update yarn.lock
* Update README.md
5 yıl önce
semantic-release-bot
cec9019053
chore(release): 5.5.1 [skip ci]
## [5.5.1](https://github.com/react-native-community/react-native-webview/compare/v5.5.0...v5.5.1 ) (2019-04-02)
### Bug Fixes
* **iOS WKWebView:** fixed local html files loading on real devices ([#403 ](https://github.com/react-native-community/react-native-webview/issues/403 )) ([9c9b7d7 ](https://github.com/react-native-community/react-native-webview/commit/ 9c9b7d7 ))
5 yıl önce
semantic-release-bot
8deacdbbe8
chore(release): 5.5.0 [skip ci]
# [5.5.0](https://github.com/react-native-community/react-native-webview/compare/v5.4.6...v5.5.0 ) (2019-03-28)
### Features
* **android:** textZoom prop to limit scaling issues ([#414 ](https://github.com/react-native-community/react-native-webview/issues/414 )) ([82fe6e2 ](https://github.com/react-native-community/react-native-webview/commit/ 82fe6e2 ))
5 yıl önce
semantic-release-bot
07ce4fdc8f
chore(release): 5.4.6 [skip ci]
## [5.4.6](https://github.com/react-native-community/react-native-webview/compare/v5.4.5...v5.4.6 ) (2019-03-27)
### Bug Fixes
* **android:** Annotate RNCWebViewModule with @ReactModule to comply with latest changes ([#459 ](https://github.com/react-native-community/react-native-webview/issues/459 )) ([f6e208b ](https://github.com/react-native-community/react-native-webview/commit/ f6e208b ))
5 yıl önce
semantic-release-bot
30dc8b49a9
chore(release): 5.4.5 [skip ci]
## [5.4.5](https://github.com/react-native-community/react-native-webview/compare/v5.4.4...v5.4.5 ) (2019-03-27)
### Bug Fixes
* **types:** export WebViewProps for external use ([#457 ](https://github.com/react-native-community/react-native-webview/issues/457 )) ([ef709aa ](https://github.com/react-native-community/react-native-webview/commit/ ef709aa ))
5 yıl önce
semantic-release-bot
59443a1093
chore(release): 5.4.4 [skip ci]
## [5.4.4](https://github.com/react-native-community/react-native-webview/compare/v5.4.3...v5.4.4 ) (2019-03-26)
### Bug Fixes
* **types:** make source html base URL optional ([a1e2368 ](https://github.com/react-native-community/react-native-webview/commit/ a1e2368 ))
5 yıl önce
semantic-release-bot
f01618e11a
chore(release): 5.4.3 [skip ci]
## [5.4.3](https://github.com/react-native-community/react-native-webview/compare/v5.4.2...v5.4.3 ) (2019-03-26)
### Bug Fixes
* **typings:** incorrect package.json + fix d.ts([#453 ](https://github.com/react-native-community/react-native-webview/issues/453 )) ([e2adacc ](https://github.com/react-native-community/react-native-webview/commit/ e2adacc ))
5 yıl önce
Vladimir Timofeev
e2adacc977
fix(typings): incorrect package.json + fix d.ts(#453 )
* fix(typings): fix syntax of main d.ts file
* fix(typings): point typings field in package.json to actual d.ts file
5 yıl önce
semantic-release-bot
dcc9d3f271
chore(release): 5.4.2 [skip ci]
## [5.4.2](https://github.com/react-native-community/react-native-webview/compare/v5.4.1...v5.4.2 ) (2019-03-21)
### Bug Fixes
* **types:** Add missing type definitions of the methods ([#442 ](https://github.com/react-native-community/react-native-webview/issues/442 )) ([54268ff ](https://github.com/react-native-community/react-native-webview/commit/ 54268ff ))
5 yıl önce
semantic-release-bot
c32f947362
chore(release): 5.4.1 [skip ci]
## [5.4.1](https://github.com/react-native-community/react-native-webview/compare/v5.4.0...v5.4.1 ) (2019-03-20)
### Bug Fixes
* **android:** Do not hold a strong reference to native module in the package ([#434 ](https://github.com/react-native-community/react-native-webview/issues/434 )) ([566a629 ](https://github.com/react-native-community/react-native-webview/commit/ 566a629 ))
5 yıl önce
semantic-release-bot
5166c612c8
chore(release): 5.4.0 [skip ci]
# [5.4.0](https://github.com/react-native-community/react-native-webview/compare/v5.3.1...v5.4.0 ) (2019-03-20)
### Features
* **typescript:** Source code rewrite using typescript ([#425 ](https://github.com/react-native-community/react-native-webview/issues/425 )) ([453b7dd ](https://github.com/react-native-community/react-native-webview/commit/ 453b7dd )), closes [#384 ](https://github.com/react-native-community/react-native-webview/issues/384 ) [#435 ](https://github.com/react-native-community/react-native-webview/issues/435 ) [#206 ](https://github.com/react-native-community/react-native-webview/issues/206 ) [#171 ](https://github.com/react-native-community/react-native-webview/issues/171 ) [#168 ](https://github.com/react-native-community/react-native-webview/issues/168 )
5 yıl önce
Thibault Malbranche
453b7dd3a0
feat(typescript): Source code rewrite using typescript (#425 )
Rewrote the whole repository into typescript. This will provide way better and up to date documentation. This should also add some safety for people contributing 😄 .
Flow types were not working until now which is why this PR doesn't have them but feel free to PR.
This also fixes #384 #435 #206 #171 #168 .
5 yıl önce
semantic-release-bot
0d3b1df2e3
chore(release): 5.3.1 [skip ci]
## [5.3.1](https://github.com/react-native-community/react-native-webview/compare/v5.3.0...v5.3.1 ) (2019-03-13)
### Bug Fixes
* **onShouldStartLoadWithRequest:** android event was missing fields ([#385 ](https://github.com/react-native-community/react-native-webview/issues/385 )) ([a25997b ](https://github.com/react-native-community/react-native-webview/commit/ a25997b )), closes [/github.com/react-native-community/react-native-webview/blob/master/js/WebViewTypes.js#L34](https://github.com//github.com/react-native-community/react-native-webview/blob/master/js/WebViewTypes.js/issues/L34 )
5 yıl önce
semantic-release-bot
455e22e3b3
chore(release): 5.3.0 [skip ci]
# [5.3.0](https://github.com/react-native-community/react-native-webview/compare/v5.2.5...v5.3.0 ) (2019-03-07)
### Features
* **WKWebView:** add prop `directionalLockEnabled` for iOS ([#389 ](https://github.com/react-native-community/react-native-webview/issues/389 )) ([08cc600 ](https://github.com/react-native-community/react-native-webview/commit/ 08cc600 ))
5 yıl önce
semantic-release-bot
83f13c4ba3
chore(release): 5.2.5 [skip ci]
## [5.2.5](https://github.com/react-native-community/react-native-webview/compare/v5.2.4...v5.2.5 ) (2019-03-07)
### Bug Fixes
* **types:** add showScrollIndicator prop to type file ([#388 ](https://github.com/react-native-community/react-native-webview/issues/388 )) ([a364d3e ](https://github.com/react-native-community/react-native-webview/commit/ a364d3e ))
* **vulnerability:** merge issue ([#399 ](https://github.com/react-native-community/react-native-webview/issues/399 )) ([74a2086 ](https://github.com/react-native-community/react-native-webview/commit/ 74a2086 ))
5 yıl önce
Thibault Malbranche
74a20865b0
fix(vulnerability): merge issue (#399 )
https://nvd.nist.gov/vuln/detail/CVE-2018-16469
5 yıl önce
Stanislav Shakirov
67eacd549e
chore(ci): fix flow error and update TS type (#395 )
set related versions of react and react-native in devDependencies
5 yıl önce
semantic-release-bot
5e31885653
chore(release): 5.2.4 [skip ci]
## [5.2.4](https://github.com/react-native-community/react-native-webview/compare/v5.2.3...v5.2.4 ) (2019-03-01)
### Bug Fixes
* **WKWebView Scrolling:** fixed broken scroll ([#372 ](https://github.com/react-native-community/react-native-webview/issues/372 )) ([2cef5cb ](https://github.com/react-native-community/react-native-webview/commit/ 2cef5cb )), closes [#371 ](https://github.com/react-native-community/react-native-webview/issues/371 )
5 yıl önce
semantic-release-bot
440e7c8527
chore(release): 5.2.3 [skip ci]
## [5.2.3](https://github.com/react-native-community/react-native-webview/compare/v5.2.2...v5.2.3 ) (2019-02-28)
### Bug Fixes
* **Android <input />:** Support file extensions in file input accept attributes ([#357 ](https://github.com/react-native-community/react-native-webview/issues/357 )) ([803a3b0 ](https://github.com/react-native-community/react-native-webview/commit/ 803a3b0 ))
5 yıl önce
semantic-release-bot
7dc875e056
chore(release): 5.2.2 [skip ci]
## [5.2.2](https://github.com/react-native-community/react-native-webview/compare/v5.2.1...v5.2.2 ) (2019-02-28)
### Bug Fixes
* **android:scalesPageToFit:** scalesPageToFit does not work as intended , especially for large jpg and png images. ([#275 ](https://github.com/react-native-community/react-native-webview/issues/275 )) ([a661df1 ](https://github.com/react-native-community/react-native-webview/commit/ a661df1 )), closes [#113 ](https://github.com/react-native-community/react-native-webview/issues/113 )
* **WKWebview Scroll:** Don't allow the scrollView to scroll when `scrollEnabled={false}`. ([#158 ](https://github.com/react-native-community/react-native-webview/issues/158 )) ([0e6e92a ](https://github.com/react-native-community/react-native-webview/commit/ 0e6e92a ))
5 yıl önce
semantic-release-bot
3b85a07d68
chore(release): 5.2.1 [skip ci]
## [5.2.1](https://github.com/react-native-community/react-native-webview/compare/v5.2.0...v5.2.1 ) (2019-02-14)
### Bug Fixes
* **WKWebView:** resolved crash with WebKit on iOS 9.x. ([#342 ](https://github.com/react-native-community/react-native-webview/issues/342 )) ([f27f13e ](https://github.com/react-native-community/react-native-webview/commit/ f27f13e )), closes [#150 ](https://github.com/react-native-community/react-native-webview/issues/150 ) [#213 ](https://github.com/react-native-community/react-native-webview/issues/213 ) [jerolimov/react-native-webview#fix-ios9](https://github.com/jerolimov/react-native-webview/issues/fix-ios9 ) [jerolimov/react-native-webview#fix-ios9](https://github.com/jerolimov/react-native-webview/issues/fix-ios9 )
5 yıl önce
semantic-release-bot
833d4d6c62
chore(release): 5.2.0 [skip ci]
# [5.2.0](https://github.com/react-native-community/react-native-webview/compare/v5.1.0...v5.2.0 ) (2019-02-12)
### Features
* **toggle scroll bar:** added new props showsVerticalScrollIndicator / showsHorizontalScrollIndicator ([#250 ](https://github.com/react-native-community/react-native-webview/issues/250 )) ([92c2058 ](https://github.com/react-native-community/react-native-webview/commit/ 92c2058 ))
5 yıl önce
semantic-release-bot
0761f6f105
chore(release): 5.1.0 [skip ci]
# [5.1.0](https://github.com/react-native-community/react-native-webview/compare/v5.0.8...v5.1.0 ) (2019-02-12)
### Features
* **wkwebview:** create api to allow clients to present a client credential for authentication ([#141 ](https://github.com/react-native-community/react-native-webview/issues/141 )) ([fc5fd24 ](https://github.com/react-native-community/react-native-webview/commit/ fc5fd24 ))
5 yıl önce
semantic-release-bot
f0e36338ab
chore(release): 5.0.8 [skip ci]
## [5.0.8](https://github.com/react-native-community/react-native-webview/compare/v5.0.7...v5.0.8 ) (2019-02-11)
### Bug Fixes
* **types:** Add new cacheEnabled prop to typescript prop type declarations ([#335 ](https://github.com/react-native-community/react-native-webview/issues/335 )) ([ff62c95 ](https://github.com/react-native-community/react-native-webview/commit/ ff62c95 ))
5 yıl önce
semantic-release-bot
ddd6efd77b
chore(release): 5.0.7 [skip ci]
## [5.0.7](https://github.com/react-native-community/react-native-webview/compare/v5.0.6...v5.0.7 ) (2019-02-08)
### Bug Fixes
* **package.json:** Warning because peerDependencies >=0.57 <0.59 ([#279 ](https://github.com/react-native-community/react-native-webview/issues/279 )) ([#327 ](https://github.com/react-native-community/react-native-webview/issues/327 )) ([46286b2 ](https://github.com/react-native-community/react-native-webview/commit/ 46286b2 ))
5 yıl önce
Kou
46286b2723
fix(package.json): Warning because peerDependencies >=0.57 <0.59 (#279 ) (#327 )
5 yıl önce
semantic-release-bot
3497ae9411
chore(release): 5.0.6 [skip ci]
## [5.0.6](https://github.com/react-native-community/react-native-webview/compare/v5.0.5...v5.0.6 ) (2019-02-06)
### Bug Fixes
* **WKWebView.m:** Reapplied [#134 ](https://github.com/react-native-community/react-native-webview/issues/134 ) with additional checks to tackle unintentional scrolls ([#296 ](https://github.com/react-native-community/react-native-webview/issues/296 )) ([3f58b0e ](https://github.com/react-native-community/react-native-webview/commit/ 3f58b0e ))
5 yıl önce
semantic-release-bot
a76e0ae811
chore(release): 5.0.5 [skip ci]
## [5.0.5](https://github.com/react-native-community/react-native-webview/compare/v5.0.4...v5.0.5 ) (2019-02-05)
### Bug Fixes
* **iOS/android getViewManagerConfig:** Fix crash with react-native < 0.58 ([263fc5e ](https://github.com/react-native-community/react-native-webview/commit/ 263fc5e ))
5 yıl önce
semantic-release-bot
0fe45de879
chore(release): 5.0.4 [skip ci]
## [5.0.4](https://github.com/react-native-community/react-native-webview/compare/v5.0.3...v5.0.4 ) (2019-02-04)
### Bug Fixes
* **UIWebview:** Deprecate UIWebView and add link to issue ([#313 ](https://github.com/react-native-community/react-native-webview/issues/313 )) ([4c80240 ](https://github.com/react-native-community/react-native-webview/commit/ 4c80240 ))
5 yıl önce
semantic-release-bot
0535c04c11
chore(release): 5.0.3 [skip ci]
## [5.0.3](https://github.com/react-native-community/react-native-webview/compare/v5.0.2...v5.0.3 ) (2019-02-04)
### Bug Fixes
* **android/iOS:** Fixed react-native 0.58 warnings ([#311 ](https://github.com/react-native-community/react-native-webview/issues/311 )) ([4a4ccd8 ](https://github.com/react-native-community/react-native-webview/commit/ 4a4ccd8 ))
5 yıl önce
Thibault Malbranche
4a4ccd8141
fix(android/iOS): Fixed react-native 0.58 warnings (#311 )
5 yıl önce
semantic-release-bot
49b44284ce
chore(release): 5.0.2 [skip ci]
## [5.0.2](https://github.com/react-native-community/react-native-webview/compare/v5.0.1...v5.0.2 ) (2019-02-03)
### Bug Fixes
* **webviewShared.js:** Support all valid URI schemes and add testing ([#293 ](https://github.com/react-native-community/react-native-webview/issues/293 )) ([fb78d13 ](https://github.com/react-native-community/react-native-webview/commit/ fb78d13 )), closes [/tools.ietf.org/html/rfc3986#section-3](https://github.com//tools.ietf.org/html/rfc3986/issues/section-3 )
5 yıl önce
Malcolm Scruggs
fb78d13120
fix(webviewShared.js): Support all valid URI schemes and add testing (#293 )
* Change origin whitelist to allow for all valid URIs
- Now supports +, -, and .
- Prevent whitelist from matching when preceded by unwanted characters
- URI must begin with letter
- URI Scheme syntax: https://tools.ietf.org/html/rfc3986#section -3.1
* Add jest testing framework and run it on CI
* Add tests for WebViewShared's createOnShouldStartLoadWithRequest
5 yıl önce
semantic-release-bot
b3a07b22b3
chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/react-native-community/react-native-webview/compare/v5.0.0...v5.0.1 ) (2019-02-01)
### Bug Fixes
* **PostMessage:** Renamed ReactNativeWebview to ReactNativeWebView ([d5fc028 ](https://github.com/react-native-community/react-native-webview/commit/ d5fc028 )), closes [#304 ](https://github.com/react-native-community/react-native-webview/issues/304 )
5 yıl önce
semantic-release-bot
2d80402d9f
chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/react-native-community/react-native-webview/compare/v4.1.0...v5.0.0 ) (2019-02-01)
### Features
* **Android/iOS postMessage:** refactoring the old postMessage implementation ([#303 ](https://github.com/react-native-community/react-native-webview/issues/303 )) ([f3bdab5 ](https://github.com/react-native-community/react-native-webview/commit/ f3bdab5 )), closes [#29 ](https://github.com/react-native-community/react-native-webview/issues/29 ) [#272 ](https://github.com/react-native-community/react-native-webview/issues/272 ) [#221 ](https://github.com/react-native-community/react-native-webview/issues/221 ) [#105 ](https://github.com/react-native-community/react-native-webview/issues/105 ) [#66 ](https://github.com/react-native-community/react-native-webview/issues/66 )
### BREAKING CHANGES
* **Android/iOS postMessage:** Communication from webview to react-native has been completely rewritten. React-native-webview will not use or override window.postMessage anymore. Reasons behind these changes can be found throughout so many issues that it made sense to go that way.
Instead of using window.postMessage(data, *), please now use window.ReactNativeWebView.postMessage(data).
Side note: if you wish to keep compatibility with the old version when you upgrade, you can use the injectedJavascript prop to do that:
const injectedJavascript = `(function() {
window.postMessage = function(data) {
window.ReactNativeWebView.postMessage(data);
};
})()`;
Huge thanks to @jordansexton and @KoenLav !
5 yıl önce
semantic-release-bot
79afbd697d
chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/react-native-community/react-native-webview/compare/v4.0.0...v4.1.0 ) (2019-02-01)
### Features
* **WKwebview:** Allow _target links to be opened up in the same way as UIWebView. ([#270 ](https://github.com/react-native-community/react-native-webview/issues/270 )) ([6643a8e ](https://github.com/react-native-community/react-native-webview/commit/ 6643a8e )), closes [#139 ](https://github.com/react-native-community/react-native-webview/issues/139 )
5 yıl önce
semantic-release-bot
27b6804ee7
chore(release): 4.0.0 [skip ci]
# [4.0.0](https://github.com/react-native-community/react-native-webview/compare/v3.2.2...v4.0.0 ) (2019-01-30)
### Features
* **iOS/Android:** Add `cacheEnabled` prop ([#152 ](https://github.com/react-native-community/react-native-webview/issues/152 )) ([83ce79f ](https://github.com/react-native-community/react-native-webview/commit/ 83ce79f ))
### BREAKING CHANGES
* **iOS/Android:** This change makes caching enabled by default when previously there was no caching behavior which may cause unexpected behaviour changes in your existing implementations.
5 yıl önce