Commit Graph

549 Commits

Author SHA1 Message Date
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))
2019-09-29 13:52:10 +00:00
Borut Balazek 4db3d84dda feat(android): allowFileAccessFromFileURLs prop added (#831)
* add allowFileAccessFromFileURLs propery to do the expected on android

* Added types

* Update WebViewTypes.ts
2019-09-29 15:50:39 +02:00
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))
2019-09-29 13:47:21 +00:00
Andres Castano 5da59251ce feat(android): Expose cacheMode property (#895) 2019-09-29 15:45:20 +02:00
Marco Marinangeli 902d3d1e7f feat(new prop): containerStyle (#912)
* feat(new prop): containerStyle

* chore(docs): Add documentation for `containerStyle`
2019-09-29 15:43:48 +02:00
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))
2019-09-29 13:41:55 +00:00
Roc 01de9e5fa0 fix(android): renderError - the error status might be overwritte… (#915) 2019-09-29 15:40:12 +02:00
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))
2019-09-26 23:29:29 +00:00
Dima Paloskin 09372c9d95 fix(iOS): hideKeyboardAccessoryView on iPads (#661) 2019-09-27 01:27:42 +02:00
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))
2019-09-26 23:24:47 +00:00
Abraham Przewodnik 05e2d27662 fix(iOS): Fix changing notification bars #735 (#898)
UIWindowDidBecomeVisibleNotification and UIWindowDidBecomeHiddenNotification seem far more reliable at detecting fullscreen video.

Tested on iOS 11, 12 and 13
2019-09-27 01:22:07 +02:00
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))
2019-09-23 16:36:18 +00:00
Silver Chen b010e0e04f fix(types): Make onContentProcessDidTerminate optional (#890) 2019-09-23 18:34:02 +02:00
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)
2019-09-23 13:42:45 +00:00
Thibault Malbranche 8f2ddf4542
fix(android): Revert scroll update from #281 (#889)
fixes #878
2019-09-23 15:40:40 +02:00
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))
2019-09-23 08:51:27 +00:00
jnpdx 6cfdd4b88c fix(iOS): Xcode issues and warnings (no functionality changes) (#860)
* Fix Xcode warnings (enums, whitespace, string literals)

* Add nullability notations
2019-09-23 10:49:06 +02:00
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))
2019-09-23 08:46:00 +00:00
Tyler Alves b296f24dd2 fix(android): redirect and renderLoading issues (#548)
* Filter out extra onLoadProgress calls; add url to onLoadProgress

* remove note about onLoadProgress not having the url property in docs

* fix redirect renderLoading on android by checking that onLoadingFinish and onLoadingStart urls are equal

* add fallback to set viewState to idle when progress is 1
2019-09-23 10:44:26 +02:00
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))
2019-09-23 08:37:43 +00:00
Tyler Alves fc59cae4bf fix(android): Filter extra onLoadProgress & add url event (#643)
* Filter out extra onLoadProgress calls; add url to onLoadProgress

* remove note about onLoadProgress not having the url property in docs

* Update Reference.md
2019-09-23 10:35:49 +02:00
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))
2019-09-23 08:23:12 +00:00
Samuel Sieg a76811da93 feat(iOS): Add callback for webViewWebContentProcessDidTerminate (#774)
* Add callback for WKWebView's onContentProcessDidTerminate

* Add platform information to docs

* Add new WebViewTerminatedEvent type
2019-09-23 10:20:12 +02:00
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))
2019-09-22 22:06:04 +00:00
thanakij 9e25e42cee fix(Android): hardware acceleration issue (#854)
* Fix https://github.com/react-native-community/react-native-webview/issues/575

* Check if hardware acceleration is available also

* Alternative way to check isHarewareAccelerated
2019-09-23 00:03:42 +02:00
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