Tom Underhill
70e312ad8a
Slimmed down to one argument
4 年之前
Tom Underhill
4b3e3c3a7b
Consume react-native and react-native-macos simultaneously.
4 年之前
Tom Underhill
a1da2c9271
Added Android test app.
4 年之前
Tom Underhill
2aac53b504
Added macOS test app
4 年之前
Tom Underhill
ce7372e5f2
Test app working.
4 年之前
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 ))
4 年之前
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 ))
4 年之前
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.
4 年之前
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 ))
4 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
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 年之前
Thibault Malbranche
85b921ce64
fix(deps): updated dependancies and types (#847 )
* wip
* Update WebViewShared.tsx
* Update config.yml
5 年之前
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 年之前
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 年之前
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 年之前
Bartol Karuza
9ed05b2d1d
chore(docs): add documentation meta data (#848 )
5 年之前
semantic-release-bot
8a9d5ff4fb
chore(release): 7.0.3 [skip ci]
## [7.0.3](https://github.com/react-native-community/react-native-webview/compare/v7.0.2...v7.0.3 ) (2019-09-04)
### Bug Fixes
* **android:** Move noisy debug logging out of "quiet" log level. ([#844 ](https://github.com/react-native-community/react-native-webview/issues/844 )) ([b2cd6b5 ](https://github.com/react-native-community/react-native-webview/commit/ b2cd6b5 ))
5 年之前
semantic-release-bot
e6b4a5b6d7
chore(release): 7.0.2 [skip ci]
## [7.0.2](https://github.com/react-native-community/react-native-webview/compare/v7.0.1...v7.0.2 ) (2019-09-02)
### Bug Fixes
* **deps:** update dependencies to address security issues ([#837 ](https://github.com/react-native-community/react-native-webview/issues/837 )) ([0411345 ](https://github.com/react-native-community/react-native-webview/commit/ 0411345 ))
5 年之前
semantic-release-bot
67760c7639
chore(release): 7.0.0 [skip ci]
# [7.0.0](https://github.com/react-native-community/react-native-webview/compare/v6.11.1...v7.0.0 ) (2019-08-30)
### Bug Fixes
* **iOS:** UIWebView Removal ([#828 ](https://github.com/react-native-community/react-native-webview/issues/828 )) ([8549be5 ](https://github.com/react-native-community/react-native-webview/commit/ 8549be5 )), closes [#819 ](https://github.com/react-native-community/react-native-webview/issues/819 )
### BREAKING CHANGES
* **iOS:** UIWebView has been removed
* **iOS:** useWebkit prop removal
* **iOS:** scalesPageToFit prop removal on iOS (since it's not compatible with WKWebview)
* **iOS:** Renamed RNCWKWebView to RNCWebView on iOS
5 年之前
Thibault Malbranche
8549be5fd0
fix(iOS): UIWebView Removal (#828 )
Apple required us to remove this (see #819 )
BREAKING CHANGE: UIWebView has been removed
BREAKING CHANGE: useWebkit prop removal
BREAKING CHANGE: scalesPageToFit prop removal on iOS (since it's not compatible with WKWebview)
BREAKING CHANGE: Renamed RNCWKWebView to RNCWebView on iOS
5 年之前
semantic-release-bot
3517d2db81
chore(release): 6.11.1 [skip ci]
## [6.11.1](https://github.com/react-native-community/react-native-webview/compare/v6.11.0...v6.11.1 ) (2019-08-30)
### Bug Fixes
* **iOS:** javaScriptEnabled property ([#826 ](https://github.com/react-native-community/react-native-webview/issues/826 )) ([d87bb58 ](https://github.com/react-native-community/react-native-webview/commit/ d87bb58 ))
5 年之前
semantic-release-bot
e09761c5aa
chore(release): 6.11.0 [skip ci]
# [6.11.0](https://github.com/react-native-community/react-native-webview/compare/v6.10.0...v6.11.0 ) (2019-08-29)
### Features
* **iOS:** add-javaScriptEnabled prop ([#592 ](https://github.com/react-native-community/react-native-webview/issues/592 )) ([a28096b ](https://github.com/react-native-community/react-native-webview/commit/ a28096b ))
5 年之前
semantic-release-bot
5dbfe553ee
chore(release): 6.10.0 [skip ci]
# [6.10.0](https://github.com/react-native-community/react-native-webview/compare/v6.9.1...v6.10.0 ) (2019-08-29)
### Features
* **iOS:** Add prop for allowingReadAccessToURL ([#771 ](https://github.com/react-native-community/react-native-webview/issues/771 )) ([0424dd0 ](https://github.com/react-native-community/react-native-webview/commit/ 0424dd0 ))
5 年之前
semantic-release-bot
e515a31cf0
chore(release): 6.9.1 [skip ci]
## [6.9.1](https://github.com/react-native-community/react-native-webview/compare/v6.9.0...v6.9.1 ) (2019-08-29)
### Bug Fixes
* **android:** Allow user to rotate fullscreen video (Android X) ([#816 ](https://github.com/react-native-community/react-native-webview/issues/816 )) ([1ea05d3 ](https://github.com/react-native-community/react-native-webview/commit/ 1ea05d3 ))
* **android:** webview crash with incognito in Android Lollipop ([#799 ](https://github.com/react-native-community/react-native-webview/issues/799 )) ([47e9a0b ](https://github.com/react-native-community/react-native-webview/commit/ 47e9a0b ))
5 年之前
semantic-release-bot
4628611aec
chore(release): 6.9.0 [skip ci]
# [6.9.0](https://github.com/react-native-community/react-native-webview/compare/v6.8.2...v6.9.0 ) (2019-08-09)
### Features
* **iOS:** added `contentInsetAdjustmentBehavior` prop ([493b65d ](https://github.com/react-native-community/react-native-webview/commit/ 493b65d ))
5 年之前
semantic-release-bot
f0df15efc5
chore(release): 6.8.2 [skip ci]
## [6.8.2](https://github.com/react-native-community/react-native-webview/compare/v6.8.1...v6.8.2 ) (2019-08-09)
### Bug Fixes
* **android:** add null reference check for onMessage on android ([#770 ](https://github.com/react-native-community/react-native-webview/issues/770 )) ([12db695 ](https://github.com/react-native-community/react-native-webview/commit/ 12db695 ))
5 年之前
semantic-release-bot
9250c054c6
chore(release): 6.8.1 [skip ci]
## [6.8.1](https://github.com/react-native-community/react-native-webview/compare/v6.8.0...v6.8.1 ) (2019-08-08)
### Bug Fixes
* **iOS:** signature of the swizzled `elementDidFocus` method on iOS 13 ([68f3c08 ](https://github.com/react-native-community/react-native-webview/commit/ 68f3c08 ))
5 年之前
semantic-release-bot
078b055948
chore(release): 6.8.0 [skip ci]
# [6.8.0](https://github.com/react-native-community/react-native-webview/compare/v6.7.0...v6.8.0 ) (2019-08-06)
### Features
* **focus:** Add functionality to imperatively focus webview ([#567 ](https://github.com/react-native-community/react-native-webview/issues/567 )) ([6f053ba ](https://github.com/react-native-community/react-native-webview/commit/ 6f053ba ))
5 年之前
semantic-release-bot
9db55a5769
chore(release): 6.7.0 [skip ci]
# [6.7.0](https://github.com/react-native-community/react-native-webview/compare/v6.6.0...v6.7.0 ) (2019-08-04)
### Features
* **injectedJavaScript:** Error replaced by warnings, and callback runs ([3baebf8 ](https://github.com/react-native-community/react-native-webview/commit/ 3baebf8 ))
5 年之前
semantic-release-bot
9e41a2b451
chore(release): 6.6.0 [skip ci]
# [6.6.0](https://github.com/react-native-community/react-native-webview/compare/v6.5.1...v6.6.0 ) (2019-08-02)
### Features
* **Android:** webrtc permission request - conflicts fixed ([#719 ](https://github.com/react-native-community/react-native-webview/issues/719 )) ([bb79ae8 ](https://github.com/react-native-community/react-native-webview/commit/ bb79ae8 )), closes [#231 ](https://github.com/react-native-community/react-native-webview/issues/231 ) [#231 ](https://github.com/react-native-community/react-native-webview/issues/231 )
5 年之前
semantic-release-bot
86bfb68676
chore(release): 6.5.1 [skip ci]
## [6.5.1](https://github.com/react-native-community/react-native-webview/compare/v6.5.0...v6.5.1 ) (2019-08-02)
### Bug Fixes
* **iOS:** Align look and feel of Window.prompt() to Mobile Safari ([#677 ](https://github.com/react-native-community/react-native-webview/issues/677 )) ([231100d ](https://github.com/react-native-community/react-native-webview/commit/ 231100d ))
5 年之前