Commit Graph

724 Commits

Author SHA1 Message Date
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))
2019-09-21 00:46:32 +00:00
Ezequiel Aceto 136fbd8491 feat(iOS): Allow custom CA to be used on webview requests (#865)
* Allow custom CA to be used on webview requests

* Add documentation and an example for Custom CA / SSL Pinning
2019-09-21 02:44:53 +02:00
Jason Chia-Hsien Ho 552472c414 feat(new prop): onHttpError callback (#885) 2019-09-21 02:43:28 +02:00
Cosmo Wolfe 33f1ee384f fix(iOS): Call dispatchViewManagerCommand with correct number of arguments (#886) 2019-09-21 02:40:53 +02:00
Wilson d25b20ac03 fix(iOS): inconsistent backgroundColor (#868)
* fix inconsistent backgroundColor

* remove redundant setBackgroundColor
2019-09-21 02:39:06 +02:00
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))
2019-09-19 09:43:18 +00:00
Thibault Malbranche 85b921ce64
fix(deps): updated dependancies and types (#847)
* wip

* Update WebViewShared.tsx

* Update config.yml
2019-09-19 11:40:51 +02:00
George Montana Harkin 36ffbe0700 chore(docs): Update "source" doc, baseUrl comments about CORS (#881)
After needing to see what the origin of a "html" source'd WebView would be, I found the documentation that baseUrl would be utilized for the "origin" header when CORS requests are made.
2019-09-19 11:18:59 +02:00
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))
2019-09-18 09:35:31 +00:00
masako-yamada a5cb7ba65c fix(android): Allow scrolling inside ScrollView (#281) 2019-09-18 11:33:08 +02:00
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))
2019-09-09 14:56:01 +00:00
Tommy Nguyen be027dad1f fix(types): Export WebViewMessageEvent, WebViewNavigation for external use (#855) 2019-09-09 16:53:35 +02:00
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))
2019-09-05 13:17:35 +00:00
hank121314 c366fdf2e7 fix(iOS): use RCTConvert to convert allowingReadAccessToURL. (#845)
* fix(ios):use RCTConvert to convert url instead of using URLWithStringg

* fix(iOS):remove stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding, because it's deprecated in iOS 9
2019-09-05 15:13:33 +02:00
Bartol Karuza 9ed05b2d1d chore(docs): add documentation meta data (#848) 2019-09-04 16:30:45 +02:00
Jamon Holmgren f5c701a062 chore(Github Actions): Added detox.yml workflow Github Action (#843)
* Added detox.yml workflow Github Action

* Fix yml format

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* Update detox.yml

* ffs

* okay

* pay attention

* try this?

* Update detox.yml

* Wait really?

* Update detox.yml

* Better yarn install
2019-09-04 13:45:27 +02:00
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))
2019-09-04 07:24:41 +00:00
Greg Price b2cd6b54fa fix(android): Move noisy debug logging out of "quiet" log level. (#844)
Each time building our app, this library causes a message like this
one to be printed, sometimes twice:

  > Configure project :react-native-webview
  :react-native-webview:reactNativeAndroidRoot /home/greg/z/mobile/node_modules/react-native/android

Worse, the message comes through even if I silence all normal
progress messages and warnings, with `./gradlew --quiet`.

It turns out that the `logger.quiet` method which these log lines are
using has a confusing name.  It doesn't mean "log quietly", but more
like the opposite: "log even when asked to keep things quiet".  See
documentation on Gradle log levels:
  https://docs.gradle.org/current/userguide/logging.html

So, remove the noise by switching to `logger.info`.  This avoids
bothering the user by default, and keeps the information readily
available if desired by passing `--info` to Gradle.
2019-09-04 09:22:23 +02:00
Thibault Malbranche f24805d091
chore(Github Actions): all stales done 2019-09-03 01:19:58 +02:00
Thibault Malbranche 8e49766d94
chore(Github Actions): stale it all 2019-09-03 01:06:08 +02:00
Thibault Malbranche 5b66f8da01
chore(Github Actions): test action 2019-09-03 00:46:40 +02:00
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))
2019-09-02 22:45:23 +00:00
dependabot[bot] 0411345f00 fix(deps): update dependencies to address security issues (#837) 2019-09-03 00:43:37 +02:00
dependabot[bot] 006f82a4d5 chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 (#839)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-03 00:22:55 +02:00
dependabot[bot] 9e31d266bc chore(deps): bump js-yaml from 3.12.2 to 3.13.1 (#836)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.2 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.2...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-03 00:19:41 +02:00
dependabot[bot] 18170f1219 chore(deps): bump lodash from 4.17.11 to 4.17.15 (#838)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-03 00:13:41 +02:00
dependabot[bot] ddaaf94a2c chore(deps): bump eslint-utils from 1.3.1 to 1.4.2 (#835)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-03 00:09:51 +02:00
dependabot[bot] aff6c4c7ce chore(deps): bump fstream from 1.0.11 to 1.0.12 (#834)
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot[bot] <support@github.com>
2019-09-03 00:06:58 +02:00
Thibault Malbranche 43a95581ab
chore(Github Actions): updated text 2019-09-02 23:58:11 +02:00
Thibault Malbranche 84235d73ff
chore(Github Actions Stale): Initial Setup 2019-09-02 23:48:48 +02:00
Thibault Malbranche 12e676f5d1
chore(Readme): updated DOCS 2019-09-02 23:30:46 +02:00
Thibault Malbranche 478a92c4a3
chore(README): updated readme.md 2019-08-30 12:18:44 +02:00
Thibault Malbranche a328909bdd
chore(README): updated 7.0.1 version 2019-08-30 12:18:07 +02:00
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
2019-08-30 10:06:26 +00:00
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))
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))
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))
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))
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))
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