390 Commits

Author SHA1 Message Date
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
2019-08-30 12:04:32 +02:00
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))
v6.11.1
2019-08-30 08:55:33 +00:00
Arjan Zuidema
d87bb58208 fix(iOS): javaScriptEnabled property (#826) 2019-08-30 10:53:48 +02:00
Harry Yu
5cc3c965ed chore(docs): Fixed broken link in Custom-Android.md (#676)
"Native UI Components" needs to link to the main React Native site, not within this repo.
2019-08-29 17:18:11 +02:00
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))
v6.11.0
2019-08-29 15:11:19 +00:00
aksmfosef11
a28096bfe7 feat(iOS): add-javaScriptEnabled prop (#592)
* add-javaScriptEnabled-in-IOS

* Update WebViewTypes.ts
2019-08-29 17:09:42 +02:00
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))
v6.10.0
2019-08-29 14:55:09 +00:00
Harry Yu
0424dd0801 feat(iOS): Add prop for allowingReadAccessToURL (#771) 2019-08-29 16:53:09 +02:00
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))
v6.9.1
2019-08-29 14:51:47 +00:00
tekmin
47e9a0b97d fix(android): webview crash with incognito in Android Lollipop (#799) 2019-08-29 16:47:48 +02:00
MAHAVIR VATALIYA
39e5373d3e Update RNCWebViewModule.java (#509)
In Devices moto e5 play and Samsung Galaxy Note 9 Video Capture via camera return data as null.
2019-08-29 16:46:42 +02:00
Akeem McLennon
1ea05d3115 fix(android): Allow user to rotate fullscreen video (Android X) (#816)
* Allow user to rotate fullscreen video on Android

* Update RNCWebViewManager.java

* Update RNCWebViewManager.java
2019-08-29 16:38:25 +02:00
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))
v6.9.0
2019-08-09 08:57:30 +00:00
aarondail
493b65de21 feat(iOS): added contentInsetAdjustmentBehavior prop
* Adding a `contentInsetAdjustmentBehavior` prop to the WebView for iOS.
This controls the way iOS will automatically adjust the insets when the
webview is behind things like the iPhone X notch.

* Removing the code to explicitly pass contentInsetAdjustmentBehavior to the WebView since it is already passed in otherProps.
2019-08-09 10:55:35 +02:00
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))
v6.8.2
2019-08-09 08:54:51 +00:00
Roc
12db6956a9 fix(android): add null reference check for onMessage on android (#770) 2019-08-09 10:53:00 +02:00
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))
v6.8.1
2019-08-08 08:34:39 +00:00
Evgeniy Yurtaev
68f3c08b54 fix(iOS): signature of the swizzled elementDidFocus method on iOS 13 2019-08-08 10:32:41 +02:00
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))
v6.8.0
2019-08-06 08:59:12 +00:00
DemMarcupan
6f053bad7b feat(focus): Add functionality to imperatively focus webview (#567)
*  - add focus functionality for devices without touch screen
 (faced problem while developing for android TV, cause there only remote controller for device)

* Reimplement as a ref method.

*  - remove redundant requestFocus
2019-08-06 10:56:59 +02:00
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))
v6.7.0
2019-08-04 08:47:20 +00:00
Gary Fung
3baebf84db feat(injectedJavaScript): Error replaced by warnings, and callback runs
* Changes error/redbox into warning/yellowbox. So wouldn't crash production releases
* Warning added actual error, useful for debugging bad JS injected into webview
* callback runs, whether there's error or not. As used in my app (https://medium.com/wonderswipe/rethink-mobile-search-10-100x-faster-introducing-wonderswipe-6f2ff0d0e667) which injects JS into sanitized html from the wild, small error in injected JS doesn't warrant the whole JS payload from being injected/run
2019-08-04 10:43:04 +02:00
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)
v6.6.0
2019-08-02 15:26:16 +00:00
Eze
bb79ae80ee feat(Android): webrtc permission request - conflicts fixed (#719)
* fix(Android): WebRTC permission request (#231)

* fix(Android):  Avoid unintentionally granting requests for new permissions (#231)

* ContextCompat import migrated to androidx new artifact

* RNCWebViewManager.java original format restored
2019-08-02 17:23:59 +02:00
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))
v6.5.1
2019-08-02 09:02:09 +00:00
Peter Ho
231100dc3c fix(iOS): Align look and feel of Window.prompt() to Mobile Safari (#677) 2019-08-02 11:00:05 +02:00
semantic-release-bot
234075c524 chore(release): 6.5.0 [skip ci]
# [6.5.0](https://github.com/react-native-community/react-native-webview/compare/v6.4.1...v6.5.0) (2019-08-02)

### Features

* **android:** polyfill applicationNameForUserAgent on Android ([#707](https://github.com/react-native-community/react-native-webview/issues/707)) ([9c592d6](https://github.com/react-native-community/react-native-webview/commit/9c592d6))
v6.5.0
2019-08-02 08:47:46 +00:00
Raphael Eidus
9c592d621c feat(android): polyfill applicationNameForUserAgent on Android (#707) 2019-08-02 10:46:03 +02:00
Thibault Malbranche
2333e45208
chore(docs): clarify install steps 2019-08-02 10:45:00 +02:00
semantic-release-bot
59e5e71e4e chore(release): 6.4.1 [skip ci]
## [6.4.1](https://github.com/react-native-community/react-native-webview/compare/v6.4.0...v6.4.1) (2019-08-02)

### Bug Fixes

* **android:** onMessage on android to return baseEvent([#755](https://github.com/react-native-community/react-native-webview/issues/755)) ([282f81d](https://github.com/react-native-community/react-native-webview/commit/282f81d))
v6.4.1
2019-08-02 08:07:49 +00:00
SiDevesh
282f81dcdd fix(android): onMessage on android to return baseEvent(#755) 2019-08-02 10:06:11 +02:00
semantic-release-bot
cc17e65904 chore(release): 6.4.0 [skip ci]
# [6.4.0](https://github.com/react-native-community/react-native-webview/compare/v6.3.1...v6.4.0) (2019-08-02)

### Features

* **android props:** Add incognito to Android ([#524](https://github.com/react-native-community/react-native-webview/issues/524)) ([25bc5a5](https://github.com/react-native-community/react-native-webview/commit/25bc5a5))
v6.4.0
2019-08-02 07:50:55 +00:00
José Luis Pereira
25bc5a55c6 feat(android props): Add incognito to Android (#524) 2019-08-02 09:48:54 +02:00
Erik Engervall
1d649a81c8 chore: Update WebView.tsx (#751 by @erikengervall)
[skip ci]
2019-07-31 15:09:24 -07:00
semantic-release-bot
fd145cbd3c chore(release): 6.3.1 [skip ci]
## [6.3.1](https://github.com/react-native-community/react-native-webview/compare/v6.3.0...v6.3.1) (2019-07-02)

### Bug Fixes

* **install guide:** Add pod install step to getting started guide ([#678](https://github.com/react-native-community/react-native-webview/issues/678)) ([d6044c2](https://github.com/react-native-community/react-native-webview/commit/d6044c2))
v6.3.1
2019-07-02 15:47:38 +00:00
Ian Ownbey
d6044c2b5d fix(install guide): Add pod install step to getting started guide (#678) 2019-07-02 17:45:34 +02:00
BettyJJ
1e809932ff chore(types): Update Reference.md (#687)
added doc for the `textZoom` property
2019-07-02 17:38:00 +02:00
Thorny
38110327ed chore(podspec): Podspec source format fix (#681) 2019-07-02 16:58:50 +02:00
道玄
fc04c51c31 chore(podspec): fix quotes (#691)
add missing quote
2019-07-02 16:55:54 +02:00
Vitor Reis
d61d335f80 chore(readme): Fix npmjs hyperlink in readme (#638) 2019-06-22 00:24:19 +02:00
Hyo Chan Jang
73c630c5bb chore(podspec): Add version to podspec (#646) 2019-06-22 00:12:49 +02:00
William Swanson
167431941b chore(tooling): Switch from prepublish to prepare (#649)
As described in the [NPM documentation](https://docs.npmjs.com/misc/scripts#prepublish-and-prepare), the `prepublish` script is deprecated for this use-case. Instead, `prepare` should be used for essential build tasks.

In practice, this makes it possible to depend on `react-native-webview` via git. If I contribute a new feature, I can use the feature right away by depending on its git branch, without waiting for upstream to publish, or even approve my pull request. This is great for experimentation.
2019-06-22 00:11:20 +02:00
gasolin
0c458651f3 chore(readme): Update Expo support state in README (#665)
* Update Expo support state in README

* Update README.md
2019-06-22 00:04:17 +02:00
semantic-release-bot
d24595cd3b chore(release): 6.3.0 [skip ci]
# [6.3.0](https://github.com/react-native-community/react-native-webview/compare/v6.2.3...v6.3.0) (2019-06-13)

### Features

* **iOS WKWebView:** Add mainDocumentURL to onShouldStartLoadWithRequest([#493](https://github.com/react-native-community/react-native-webview/issues/493)) ([71d1fcc](https://github.com/react-native-community/react-native-webview/commit/71d1fcc))
v6.3.0
2019-06-13 07:01:25 +00:00
Penar Musaraj
71d1fcc675 feat(iOS WKWebView): Add mainDocumentURL to onShouldStartLoadWithRequest(#493)
* Pass mainDocumentURL to onShouldStartLoadWithRequest

* Update reference

* Update typescript types

* Update WebViewTypes.ts
2019-06-13 08:59:52 +02:00
semantic-release-bot
178b416d1c chore(release): 6.2.3 [skip ci]
## [6.2.3](https://github.com/react-native-community/react-native-webview/compare/v6.2.2...v6.2.3) (2019-06-13)

### Bug Fixes

* **types:** android/allowsFullscreenVideo ([#590](https://github.com/react-native-community/react-native-webview/issues/590)) ([f8a560b](https://github.com/react-native-community/react-native-webview/commit/f8a560b))
v6.2.3
2019-06-13 06:54:12 +00:00
Dariusz Niemczyk
f8a560ba51 fix(types): android/allowsFullscreenVideo (#590)
Fix missing `allowsFullscreenVideo` prop after https://github.com/react-native-community/react-native-webview/pull/325 got merged.
2019-06-13 08:52:04 +02:00
Tijs Teulings
a863c6557f chore(docs): Added additional note to source parameter (#621)
Added a note about the baseUrl usage since this has been the cause of some filed issues e.g. https://github.com/react-native-community/react-native-webview/issues/526#issuecomment-498067637
2019-06-04 16:46:27 +02:00
semantic-release-bot
66ae4e5d78 chore(release): 6.2.2 [skip ci]
## [6.2.2](https://github.com/react-native-community/react-native-webview/compare/v6.2.1...v6.2.2) (2019-06-02)

### Bug Fixes

* **types:** Add missing applicationNameForUserAgent type ([#589](https://github.com/react-native-community/react-native-webview/issues/589)) ([b06be7e](https://github.com/react-native-community/react-native-webview/commit/b06be7e))
v6.2.2
2019-06-02 19:14:00 +00:00
Penar Musaraj
b06be7e136 fix(types): Add missing applicationNameForUserAgent type (#589) 2019-06-02 21:11:51 +02:00