Commit Graph

609 Commits

Author SHA1 Message Date
Rubensmp b92d6ae014 chore(docs): README.md translated into Brazilian portugues (#980)
I was using this solution a lot, so I decided to translate it into my language.
2019-11-12 09:48:24 +01:00
Jamon Holmgren 82af9559ef
chore(docs): Add in-page link to new guide
[skip ci]
2019-11-04 08:34:54 -08:00
Jamon Holmgren 8c9f986df0 chore(docs): Added guide for working with custom headers and cookies (#994)
* Added guide for working with custom headers and cookies

* Remove extraneous files
2019-11-04 17:30:51 +01:00
Jean Augusto de Caastro Costa c1b3696e01 chore(docs): Added missing word (#948) 2019-10-22 09:59:36 +02:00
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))
2019-10-22 07:58:43 +00:00
thanakij fab77dc82f fix(android): possible NullPointerException (#965) 2019-10-22 09:56:50 +02:00
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))
2019-10-11 08:47:46 +00:00
Tom Targosz 0b783da0a4 fix(lint android): Add TargetAPI to onPermissionRequest (#940) 2019-10-11 10:45:22 +02:00
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)
2019-10-03 08:12:40 +00:00
Jonathan Bones e529fa9006 fix(deps): Fix RNCWebViewUIManager interface typescript error (#… (#928)
* fix(deps): Fix RNCWebViewUIManager interface typescript error (#901)

* fix: Revert indentation changes
2019-10-03 10:10:20 +02:00
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