ivari
04f9fb23ba
fix(Android): Ensure each mounted WebView binds their personal onMessage handler (#1301 )
* Ensure each mounted WebView binds their personal onMessage handler
* Changed unique ref generation to uuid
Uses `uuid` npm package.
Dashes are removed from the ref for sanity.
4 years ago
semantic-release-bot
8a46bb9453
chore(release): 9.1.1 [skip ci]
## [9.1.1](https://github.com/react-native-community/react-native-webview/compare/v9.1.0...v9.1.1 ) (2020-04-07)
### Bug Fixes
* **iOS:** injectedJavaScriptBeforeContentLoaded now runs when messaging is not enabled ([#1286 ](https://github.com/react-native-community/react-native-webview/issues/1286 )) ([571fb8d ](https://github.com/react-native-community/react-native-webview/commit/ 571fb8d ))
4 years ago
semantic-release-bot
fda1794035
chore(release): 9.1.0 [skip ci]
# [9.1.0](https://github.com/react-native-community/react-native-webview/compare/v9.0.2...v9.1.0 ) (2020-04-06)
### Features
* **Android:** Implement direct communication between Android code and JS ([#1203 ](https://github.com/react-native-community/react-native-webview/issues/1203 )) ([c88e380 ](https://github.com/react-native-community/react-native-webview/commit/ c88e380 ))
4 years ago
semantic-release-bot
9fbcedd6b8
chore(release): 9.0.2 [skip ci]
## [9.0.2](https://github.com/react-native-community/react-native-webview/compare/v9.0.1...v9.0.2 ) (2020-03-27)
### Bug Fixes
* **types:** Remove readonly definition in WebViewTypes.ts ([#1272 ](https://github.com/react-native-community/react-native-webview/issues/1272 )) ([3c06d78 ](https://github.com/react-native-community/react-native-webview/commit/ 3c06d78 ))
4 years ago
semantic-release-bot
2555297785
chore(release): 9.0.1 [skip ci]
## [9.0.1](https://github.com/react-native-community/react-native-webview/compare/v9.0.0...v9.0.1 ) (2020-03-17)
### Bug Fixes
* **deps:** Update lock file ([#1257 ](https://github.com/react-native-community/react-native-webview/issues/1257 )) ([9732d65 ](https://github.com/react-native-community/react-native-webview/commit/ 9732d65 ))
4 years ago
semantic-release-bot
bff88f8281
chore(release): 9.0.0 [skip ci]
# [9.0.0](https://github.com/react-native-community/react-native-webview/compare/v8.2.1...v9.0.0 ) (2020-03-17)
### Features
* **iOS:** WKUserScripts (e.g. injectedJavaScript) can now update upon props change; and can be configured to inject into all frames. ([#1119 ](https://github.com/react-native-community/react-native-webview/issues/1119 )) ([9cb2f6e ](https://github.com/react-native-community/react-native-webview/commit/ 9cb2f6e )), closes [/github.com/react-native-community/react-native-webview/pull/1119#issuecomment-574919464 ](https://github.com//github.com/react-native-community/react-native-webview/pull/1119/issues/issuecomment- 574919464 )
### BREAKING CHANGES
* **iOS:** • Props updates to `injectedJavaScript` are no longer immutable.
4 years ago
semantic-release-bot
e9ad1df51e
chore(release): 8.2.1 [skip ci]
## [8.2.1](https://github.com/react-native-community/react-native-webview/compare/v8.2.0...v8.2.1 ) (2020-03-17)
### Bug Fixes
* **deps:** Update React Native Windows version to ^0.61.0-beta.58 ([#1256 ](https://github.com/react-native-community/react-native-webview/issues/1256 )) ([91064ab ](https://github.com/react-native-community/react-native-webview/commit/ 91064ab ))
4 years ago
Kai Guo
91064ab4a9
fix(deps): Update React Native Windows version to ^0.61.0-beta.58 (#1256 )
4 years ago
semantic-release-bot
5f7f4a19f2
chore(release): 8.2.0 [skip ci]
# [8.2.0](https://github.com/react-native-community/react-native-webview/compare/v8.1.2...v8.2.0 ) (2020-03-17)
### Features
* **Windows:** Windows support! ([#1220 ](https://github.com/react-native-community/react-native-webview/issues/1220 )) ([ffee0d4 ](https://github.com/react-native-community/react-native-webview/commit/ ffee0d4 ))
4 years ago
Kai Guo
ffee0d4362
feat(Windows): Windows support! (#1220 )
4 years ago
semantic-release-bot
19896fc810
chore(release): 8.1.2 [skip ci]
## [8.1.2](https://github.com/react-native-community/react-native-webview/compare/v8.1.1...v8.1.2 ) (2020-02-21)
### Bug Fixes
* **Android:** Don't log the cookie when downloading file. ([#1224 ](https://github.com/react-native-community/react-native-webview/issues/1224 )) ([2470245 ](https://github.com/react-native-community/react-native-webview/commit/ 2470245 ))
4 years ago
semantic-release-bot
118663287a
chore(release): 8.1.1 [skip ci]
## [8.1.1](https://github.com/react-native-community/react-native-webview/compare/v8.1.0...v8.1.1 ) (2020-02-19)
### Bug Fixes
* **Android:** Don't show camera options for a file upload when they can not be used ([#1210 ](https://github.com/react-native-community/react-native-webview/issues/1210 )) ([4093682 ](https://github.com/react-native-community/react-native-webview/commit/ 4093682 ))
4 years ago
semantic-release-bot
f65783d348
chore(release): 8.1.0 [skip ci]
# [8.1.0](https://github.com/react-native-community/react-native-webview/compare/v8.0.6...v8.1.0 ) (2020-02-12)
### Features
* **macOS:** macOS Support ([#1164 ](https://github.com/react-native-community/react-native-webview/issues/1164 )) ([1e57231 ](https://github.com/react-native-community/react-native-webview/commit/ 1e57231 ))
4 years ago
Tom Underhill
1e572318ec
feat(macOS): macOS Support (#1164 )
4 years ago
semantic-release-bot
31d015badf
chore(release): 8.0.6 [skip ci]
## [8.0.6](https://github.com/react-native-community/react-native-webview/compare/v8.0.5...v8.0.6 ) (2020-01-30)
### Bug Fixes
* **Android:** Revert "Redirected URLs now redirect correctly. ([#991 ](https://github.com/react-native-community/react-native-webview/issues/991 ))" ([#1177 ](https://github.com/react-native-community/react-native-webview/issues/1177 )) ([344aab5 ](https://github.com/react-native-community/react-native-webview/commit/ 344aab5 ))
4 years ago
semantic-release-bot
d4efa1e7f5
chore(release): 8.0.5 [skip ci]
## [8.0.5](https://github.com/react-native-community/react-native-webview/compare/v8.0.4...v8.0.5 ) (2020-01-26)
### Bug Fixes
* **Android:** Redirected URLs now redirect correctly. ([#991 ](https://github.com/react-native-community/react-native-webview/issues/991 )) ([acf1ad7 ](https://github.com/react-native-community/react-native-webview/commit/ acf1ad7 ))
4 years ago
Tom Underhill
bf1d645716
chore(example): Added three test examples: Alerts, Scrolling, and Background.
4 years ago
semantic-release-bot
a466c0f62d
chore(release): 8.0.4 [skip ci]
## [8.0.4](https://github.com/react-native-community/react-native-webview/compare/v8.0.3...v8.0.4 ) (2020-01-20)
### Bug Fixes
* **iOS:** Meta method 'UIScrollViewContentInsetAdjustmentBehavior:' conflict warning ([e6edc6d ](https://github.com/react-native-community/react-native-webview/commit/ e6edc6d )), closes [/github.com/facebook/react-native/blob/master/React/Views/ScrollView/RCTScrollViewManager.m#L40](https://github.com//github.com/facebook/react-native/blob/master/React/Views/ScrollView/RCTScrollViewManager.m/issues/L40 )
4 years ago
semantic-release-bot
f0cb28ff9a
chore(release): 8.0.3 [skip ci]
## [8.0.3](https://github.com/react-native-community/react-native-webview/compare/v8.0.2...v8.0.3 ) (2020-01-08)
### Bug Fixes
* **whitelisted origins:** Prevent handling of un-whitelisted URLs ([0442126 ](https://github.com/react-native-community/react-native-webview/commit/ 0442126 ))
5 years ago
semantic-release-bot
c4f8a74763
chore(release): 8.0.2 [skip ci]
## [8.0.2](https://github.com/react-native-community/react-native-webview/compare/v8.0.1...v8.0.2 ) (2019-12-27)
### Bug Fixes
* **iOS:** WKWebView RetainCycle ([#1096 ](https://github.com/react-native-community/react-native-webview/issues/1096 )) ([4f4644f ](https://github.com/react-native-community/react-native-webview/commit/ 4f4644f ))
5 years ago
semantic-release-bot
7ba1bc5129
chore(release): 8.0.1 [skip ci]
## [8.0.1](https://github.com/react-native-community/react-native-webview/compare/v8.0.0...v8.0.1 ) (2019-12-17)
### Bug Fixes
* **iOS:** Ignore WebKitDomainError 101 ([#961 ](https://github.com/react-native-community/react-native-webview/issues/961 )) ([adb5608 ](https://github.com/react-native-community/react-native-webview/commit/ adb5608 ))
5 years ago
semantic-release-bot
ce565f4832
chore(release): 8.0.0 [skip ci]
# [8.0.0](https://github.com/react-native-community/react-native-webview/compare/v7.6.0...v8.0.0 ) (2019-12-16)
### Features
* **ios:** Generate history API events on iOS ([#1082 ](https://github.com/react-native-community/react-native-webview/issues/1082 )) ([3615296 ](https://github.com/react-native-community/react-native-webview/commit/ 3615296 ))
### BREAKING CHANGES
* **ios:** if you use onNavigationStateChange on iOS it will now trigger on # changes to the url.
* Hook the `window.history` API on iOS to generate events
The underlying WKWebView doesn't seem to generate any events in response to the `window.history` API - none of the `WKNavigationDelegate` methods fire.
Given this limitation, the only way to know when the location changes via this API is to inject Javascript into the page and have it notify the native code directly when any of these functions are called.
The `setTimeout` call gives up the current tick, allowing the location to change before firing the event.
* Remove the outdated section about hash changes
Now that this bug is fixed, the workaround is no longer required.
5 years ago
semantic-release-bot
c4001338c1
chore(release): 7.6.0 [skip ci]
# [7.6.0](https://github.com/react-native-community/react-native-webview/compare/v7.5.2...v7.6.0 ) (2019-12-06)
### Bug Fixes
* **ios:** Make allowFileAccessFromFileURLs work in iOS. ([#1061 ](https://github.com/react-native-community/react-native-webview/issues/1061 )) ([88b6498 ](https://github.com/react-native-community/react-native-webview/commit/ 88b6498 ))
### Features
* **iOS:** new prop injectedJavaScriptBeforeContentLoaded ([#1038 ](https://github.com/react-native-community/react-native-webview/issues/1038 )) ([604495e ](https://github.com/react-native-community/react-native-webview/commit/ 604495e ))
5 years ago
semantic-release-bot
5ddd6c6fc2
chore(release): 7.5.2 [skip ci]
## [7.5.2](https://github.com/react-native-community/react-native-webview/compare/v7.5.1...v7.5.2 ) (2019-11-26)
### Bug Fixes
* **android:** Added fallback poster image to prevent crashes ([#1036 ](https://github.com/react-native-community/react-native-webview/issues/1036 )) ([d8acd90 ](https://github.com/react-native-community/react-native-webview/commit/ d8acd90 ))
* **build:** Android build errors when using Gradle 6.0 ([#1037 ](https://github.com/react-native-community/react-native-webview/issues/1037 )) ([5b0c634 ](https://github.com/react-native-community/react-native-webview/commit/ 5b0c634 ))
5 years ago
semantic-release-bot
4c2feefbcc
chore(release): 7.5.1 [skip ci]
## [7.5.1](https://github.com/react-native-community/react-native-webview/compare/v7.5.0...v7.5.1 ) (2019-11-13)
### Bug Fixes
* **android:** Fix ClassCastException when doing native things([#987 ](https://github.com/react-native-community/react-native-webview/issues/987 )) ([7e68da4 ](https://github.com/react-native-community/react-native-webview/commit/ 7e68da4 ))
5 years ago
semantic-release-bot
9dff31258d
chore(release): 7.5.0 [skip ci]
# [7.5.0](https://github.com/react-native-community/react-native-webview/compare/v7.4.4...v7.5.0 ) (2019-11-12)
### Features
* **android:** add clearHistory, clearCache and clearFormData ([#450 ](https://github.com/react-native-community/react-native-webview/issues/450 )) ([4a4f4a2 ](https://github.com/react-native-community/react-native-webview/commit/ 4a4f4a2 ))
5 years ago
semantic-release-bot
5d6128909c
chore(release): 7.4.4 [skip ci]
## [7.4.4](https://github.com/react-native-community/react-native-webview/compare/v7.4.3...v7.4.4 ) (2019-11-12)
### Bug Fixes
* **android:** crash problem while loading local html resource ([#1010 ](https://github.com/react-native-community/react-native-webview/issues/1010 )) ([05c286f ](https://github.com/react-native-community/react-native-webview/commit/ 05c286f ))
5 years ago
semantic-release-bot
75ee940e89
chore(release): 7.4.3 [skip ci]
## [7.4.3](https://github.com/react-native-community/react-native-webview/compare/v7.4.2...v7.4.3 ) (2019-10-22)
### Bug Fixes
* **android:** possible NullPointerException ([#965 ](https://github.com/react-native-community/react-native-webview/issues/965 )) ([fab77dc ](https://github.com/react-native-community/react-native-webview/commit/ fab77dc ))
5 years ago
semantic-release-bot
f1479ee26a
chore(release): 7.4.2 [skip ci]
## [7.4.2](https://github.com/react-native-community/react-native-webview/compare/v7.4.1...v7.4.2 ) (2019-10-11)
### Bug Fixes
* **lint android:** Add TargetAPI to onPermissionRequest ([#940 ](https://github.com/react-native-community/react-native-webview/issues/940 )) ([0b783da ](https://github.com/react-native-community/react-native-webview/commit/ 0b783da ))
5 years ago
semantic-release-bot
9d42878704
chore(release): 7.4.1 [skip ci]
## [7.4.1](https://github.com/react-native-community/react-native-webview/compare/v7.4.0...v7.4.1 ) (2019-10-03)
### Bug Fixes
* **deps:** Fix RNCWebViewUIManager interface typescript error (#… ([#928 ](https://github.com/react-native-community/react-native-webview/issues/928 )) ([e529fa9 ](https://github.com/react-native-community/react-native-webview/commit/ e529fa9 )), closes [#901 ](https://github.com/react-native-community/react-native-webview/issues/901 )
5 years ago
semantic-release-bot
1302a37408
chore(release): 7.4.0 [skip ci]
# [7.4.0](https://github.com/react-native-community/react-native-webview/compare/v7.3.0...v7.4.0 ) (2019-09-29)
### Features
* **android:** allowFileAccessFromFileURLs prop added ([#831 ](https://github.com/react-native-community/react-native-webview/issues/831 )) ([4db3d84 ](https://github.com/react-native-community/react-native-webview/commit/ 4db3d84 ))
5 years ago
semantic-release-bot
089ca67c6e
chore(release): 7.3.0 [skip ci]
# [7.3.0](https://github.com/react-native-community/react-native-webview/compare/v7.2.8...v7.3.0 ) (2019-09-29)
### Features
* **android:** Expose cacheMode property ([#895 ](https://github.com/react-native-community/react-native-webview/issues/895 )) ([5da5925 ](https://github.com/react-native-community/react-native-webview/commit/ 5da5925 ))
* **new prop:** containerStyle ([#912 ](https://github.com/react-native-community/react-native-webview/issues/912 )) ([902d3d1 ](https://github.com/react-native-community/react-native-webview/commit/ 902d3d1 ))
5 years ago
semantic-release-bot
7f41de1bcb
chore(release): 7.2.8 [skip ci]
## [7.2.8](https://github.com/react-native-community/react-native-webview/compare/v7.2.7...v7.2.8 ) (2019-09-29)
### Bug Fixes
* **android:** renderError - the error status might be overwritte… ([#915 ](https://github.com/react-native-community/react-native-webview/issues/915 )) ([01de9e5 ](https://github.com/react-native-community/react-native-webview/commit/ 01de9e5 ))
5 years ago
semantic-release-bot
f958f8a493
chore(release): 7.2.7 [skip ci]
## [7.2.7](https://github.com/react-native-community/react-native-webview/compare/v7.2.6...v7.2.7 ) (2019-09-26)
### Bug Fixes
* **iOS:** hideKeyboardAccessoryView on iPads ([#661 ](https://github.com/react-native-community/react-native-webview/issues/661 )) ([09372c9 ](https://github.com/react-native-community/react-native-webview/commit/ 09372c9 ))
5 years ago
semantic-release-bot
fd836551bc
chore(release): 7.2.6 [skip ci]
## [7.2.6](https://github.com/react-native-community/react-native-webview/compare/v7.2.5...v7.2.6 ) (2019-09-26)
### Bug Fixes
* **iOS:** Fix changing notification bars [#735 ](https://github.com/react-native-community/react-native-webview/issues/735 ) ([#898 ](https://github.com/react-native-community/react-native-webview/issues/898 )) ([05e2d27 ](https://github.com/react-native-community/react-native-webview/commit/ 05e2d27 ))
5 years ago
Kesha Antonov
47593f24c5
7.2.6
5 years ago
semantic-release-bot
401277fd17
chore(release): 7.2.5 [skip ci]
## [7.2.5](https://github.com/react-native-community/react-native-webview/compare/v7.2.4...v7.2.5 ) (2019-09-23)
### Bug Fixes
* **types:** Make onContentProcessDidTerminate optional ([#890 ](https://github.com/react-native-community/react-native-webview/issues/890 )) ([b010e0e ](https://github.com/react-native-community/react-native-webview/commit/ b010e0e ))
5 years ago
semantic-release-bot
f9e32921e0
chore(release): 7.2.4 [skip ci]
## [7.2.4](https://github.com/react-native-community/react-native-webview/compare/v7.2.3...v7.2.4 ) (2019-09-23)
### Bug Fixes
* **android:** Revert scroll update from [#281 ](https://github.com/react-native-community/react-native-webview/issues/281 ) ([#889 ](https://github.com/react-native-community/react-native-webview/issues/889 )) ([8f2ddf4 ](https://github.com/react-native-community/react-native-webview/commit/ 8f2ddf4 )), closes [#878 ](https://github.com/react-native-community/react-native-webview/issues/878 )
5 years ago
semantic-release-bot
ada2e1edca
chore(release): 7.2.3 [skip ci]
## [7.2.3](https://github.com/react-native-community/react-native-webview/compare/v7.2.2...v7.2.3 ) (2019-09-23)
### Bug Fixes
* **iOS:** Xcode issues and warnings (no functionality changes) ([#860 ](https://github.com/react-native-community/react-native-webview/issues/860 )) ([6cfdd4b ](https://github.com/react-native-community/react-native-webview/commit/ 6cfdd4b ))
5 years ago
semantic-release-bot
ac500b391b
chore(release): 7.2.2 [skip ci]
## [7.2.2](https://github.com/react-native-community/react-native-webview/compare/v7.2.1...v7.2.2 ) (2019-09-23)
### Bug Fixes
* **android:** redirect and renderLoading issues ([#548 ](https://github.com/react-native-community/react-native-webview/issues/548 )) ([b296f24 ](https://github.com/react-native-community/react-native-webview/commit/ b296f24 ))
5 years ago
semantic-release-bot
ef4c2d57ea
chore(release): 7.2.1 [skip ci]
## [7.2.1](https://github.com/react-native-community/react-native-webview/compare/v7.2.0...v7.2.1 ) (2019-09-23)
### Bug Fixes
* **android:** Filter extra onLoadProgress & add url event ([#643 ](https://github.com/react-native-community/react-native-webview/issues/643 )) ([fc59cae ](https://github.com/react-native-community/react-native-webview/commit/ fc59cae ))
5 years ago
semantic-release-bot
e6125e4acc
chore(release): 7.2.0 [skip ci]
# [7.2.0](https://github.com/react-native-community/react-native-webview/compare/v7.1.1...v7.2.0 ) (2019-09-23)
### Features
* **iOS:** Add callback for webViewWebContentProcessDidTerminate ([#774 ](https://github.com/react-native-community/react-native-webview/issues/774 )) ([a76811d ](https://github.com/react-native-community/react-native-webview/commit/ a76811d ))
5 years ago
semantic-release-bot
9c7bf57a9b
chore(release): 7.1.1 [skip ci]
## [7.1.1](https://github.com/react-native-community/react-native-webview/compare/v7.1.0...v7.1.1 ) (2019-09-22)
### Bug Fixes
* **Android:** hardware acceleration issue ([#854 ](https://github.com/react-native-community/react-native-webview/issues/854 )) ([9e25e42 ](https://github.com/react-native-community/react-native-webview/commit/ 9e25e42 ))
5 years ago
semantic-release-bot
a2440f0491
chore(release): 7.1.0 [skip ci]
# [7.1.0](https://github.com/react-native-community/react-native-webview/compare/v7.0.7...v7.1.0 ) (2019-09-21)
### Bug Fixes
* **iOS:** Call dispatchViewManagerCommand with correct number of arguments ([#886 ](https://github.com/react-native-community/react-native-webview/issues/886 )) ([33f1ee3 ](https://github.com/react-native-community/react-native-webview/commit/ 33f1ee3 ))
* **iOS:** inconsistent backgroundColor ([#868 ](https://github.com/react-native-community/react-native-webview/issues/868 )) ([d25b20a ](https://github.com/react-native-community/react-native-webview/commit/ d25b20a ))
### Features
* **iOS:** Allow custom CA to be used on webview requests ([#865 ](https://github.com/react-native-community/react-native-webview/issues/865 )) ([136fbd8 ](https://github.com/react-native-community/react-native-webview/commit/ 136fbd8 ))
* **new prop:** onHttpError callback ([#885 ](https://github.com/react-native-community/react-native-webview/issues/885 )) ([552472c ](https://github.com/react-native-community/react-native-webview/commit/ 552472c ))
5 years ago
semantic-release-bot
48ba8d3a9e
chore(release): 7.0.7 [skip ci]
## [7.0.7](https://github.com/react-native-community/react-native-webview/compare/v7.0.6...v7.0.7 ) (2019-09-19)
### Bug Fixes
* **deps:** updated dependancies and types ([#847 ](https://github.com/react-native-community/react-native-webview/issues/847 )) ([85b921c ](https://github.com/react-native-community/react-native-webview/commit/ 85b921c ))
5 years ago
Thibault Malbranche
85b921ce64
fix(deps): updated dependancies and types (#847 )
* wip
* Update WebViewShared.tsx
* Update config.yml
5 years ago
semantic-release-bot
2256e4edad
chore(release): 7.0.6 [skip ci]
## [7.0.6](https://github.com/react-native-community/react-native-webview/compare/v7.0.5...v7.0.6 ) (2019-09-18)
### Bug Fixes
* **android:** Allow scrolling inside ScrollView ([#281 ](https://github.com/react-native-community/react-native-webview/issues/281 )) ([a5cb7ba ](https://github.com/react-native-community/react-native-webview/commit/ a5cb7ba ))
5 years ago
semantic-release-bot
7d0c4a798e
chore(release): 7.0.5 [skip ci]
## [7.0.5](https://github.com/react-native-community/react-native-webview/compare/v7.0.4...v7.0.5 ) (2019-09-09)
### Bug Fixes
* **types:** Export WebViewMessageEvent, WebViewNavigation for external use ([#855 ](https://github.com/react-native-community/react-native-webview/issues/855 )) ([be027da ](https://github.com/react-native-community/react-native-webview/commit/ be027da ))
5 years ago
semantic-release-bot
0466dfff17
chore(release): 7.0.4 [skip ci]
## [7.0.4](https://github.com/react-native-community/react-native-webview/compare/v7.0.3...v7.0.4 ) (2019-09-05)
### Bug Fixes
* **iOS:** use RCTConvert to convert allowingReadAccessToURL. ([#845 ](https://github.com/react-native-community/react-native-webview/issues/845 )) ([c366fdf ](https://github.com/react-native-community/react-native-webview/commit/ c366fdf ))
5 years ago
Bartol Karuza
9ed05b2d1d
chore(docs): add documentation meta data (#848 )
5 years ago