Commit Graph

431 Commits

Author SHA1 Message Date
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))
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))
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))
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))
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))
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)
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))
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))
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))
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))
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))
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))
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))
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))
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
semantic-release-bot 1a0f2498d5 chore(release): 6.2.1 [skip ci]
## [6.2.1](https://github.com/react-native-community/react-native-webview/compare/v6.2.0...v6.2.1) (2019-06-02)

### Bug Fixes

* **iOS WKWebView:** contentInset not properly applied ([#603](https://github.com/react-native-community/react-native-webview/issues/603)) ([6e79f2a](https://github.com/react-native-community/react-native-webview/commit/6e79f2a))
2019-06-02 18:56:41 +00:00
ptrocki 6e79f2a26f fix(iOS WKWebView): contentInset not properly applied (#603) 2019-06-02 20:54:17 +02:00
Jamon Holmgren 697e05163f chore(docs): Add CODEOWNERS file (#606)
Per https://github.com/react-native-community/.github/issues/1\#issuecomment-496203158
2019-06-02 20:42:56 +02:00
semantic-release-bot 17b155be8d chore(release): 6.2.0 [skip ci]
# [6.2.0](https://github.com/react-native-community/react-native-webview/compare/v6.1.1...v6.2.0) (2019-06-02)

### Features

* **loading:** Changed loading/error rendering ([#612](https://github.com/react-native-community/react-native-webview/issues/612)) ([d429e82](https://github.com/react-native-community/react-native-webview/commit/d429e82))
2019-06-02 18:34:17 +00:00
Penar Musaraj d429e82c3a feat(loading): Changed loading/error rendering (#612) 2019-06-02 20:32:22 +02:00
semantic-release-bot 3f3bcfc0ba chore(release): 6.1.1 [skip ci]
## [6.1.1](https://github.com/react-native-community/react-native-webview/compare/v6.1.0...v6.1.1) (2019-06-02)

### Bug Fixes

* **performance:** Improved `onScroll` to work efficiently on Android ([#609](https://github.com/react-native-community/react-native-webview/issues/609)) ([d8743ee](https://github.com/react-native-community/react-native-webview/commit/d8743ee))
2019-06-02 18:21:36 +00:00
ifsnow d8743eeed2 fix(performance): Improved `onScroll` to work efficiently on Android (#609) 2019-06-02 20:19:39 +02:00
A C SREEDHAR REDDY fab6008dd1 chore(docs): npm install instructions to docs (#616 by @a-c-sreedhar-reddy)
[skip ci]
2019-06-01 21:06:31 -07:00
semantic-release-bot db82ba3146 chore(release): 6.1.0 [skip ci]
# [6.1.0](https://github.com/react-native-community/react-native-webview/compare/v6.0.2...v6.1.0) (2019-05-20)

### Features

* **iOS WkWebview:** Add applicationNameForUserAgent support ([#506](https://github.com/react-native-community/react-native-webview/issues/506)) ([4dc4b89](https://github.com/react-native-community/react-native-webview/commit/4dc4b89))
2019-05-20 22:03:34 +00:00