Commit Graph

713 Commits

Author SHA1 Message Date
semantic-release-bot cb1c3f459f chore(release): 11.13.0 [skip ci]
# [11.13.0](https://github.com/react-native-webview/react-native-webview/compare/v11.12.0...v11.13.0) (2021-08-09)

### Features

* **onError:** Add support for preventDefault when using onError method ([#1706](https://github.com/react-native-webview/react-native-webview/issues/1706)) ([404e3e6](404e3e69e2))
2021-08-09 21:40:48 +00:00
Sashka 404e3e69e2
feat(onError): Add support for preventDefault when using onError method (#1706)
* Add event.isDefaultPrevented() check within onError method

* Update onError in the reference regarding preventDefault

* Fix return values in the 'onError' method

* Minor update for Reference.md in "onError" section

* Update WebView.windows.tsx

* Update WebView.windows.tsx

* Update WebView.android.tsx

* Update WebView.ios.tsx

* Update WebView.macos.tsx

Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com>
Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu>
Co-authored-by: Thibault Malbranche <malbranche.thibault@gmail.com>
2021-08-09 23:39:15 +02:00
semantic-release-bot 038b11ccce chore(release): 11.12.0 [skip ci]
# [11.12.0](https://github.com/react-native-webview/react-native-webview/compare/v11.11.0...v11.12.0) (2021-08-09)

### Features

* **android:** force dark mode ([#2063](https://github.com/react-native-webview/react-native-webview/issues/2063)) ([19980d8](19980d888d))
2021-08-09 17:58:59 +00:00
Cloud Zhang 19980d888d
feat(android): force dark mode (#2063)
Co-authored-by: 张 云 <zhangyun@sidechef.com>
Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu>
2021-08-09 19:57:33 +02:00
semantic-release-bot 2c541131db chore(release): 11.11.0 [skip ci]
# [11.11.0](https://github.com/react-native-webview/react-native-webview/compare/v11.10.0...v11.11.0) (2021-08-09)

### Features

* **deps:** Remove upper bound on React Native peerdep ([#2054](https://github.com/react-native-webview/react-native-webview/issues/2054)) ([6cd000e](6cd000ec9d)), closes [#1935](https://github.com/react-native-webview/react-native-webview/issues/1935)
2021-08-09 17:45:57 +00:00
Asuki Kono 95da0aa8d2
chore(docs): Update explanation to open remote debug window (#2052) 2021-08-09 19:44:28 +02:00
Stefan Wrobel 6cd000ec9d
feat(deps): Remove upper bound on React Native peerdep (#2054)
Fixes #1935
2021-08-09 19:43:29 +02:00
semantic-release-bot ea67c37531 chore(release): 11.10.0 [skip ci]
# [11.10.0](https://github.com/react-native-webview/react-native-webview/compare/v11.9.0...v11.10.0) (2021-08-09)

### Features

* **android:** remove unnecessary buildToolsVersion ([#2023](https://github.com/react-native-webview/react-native-webview/issues/2023)) ([998b211](998b211b94))
2021-08-09 17:42:45 +00:00
Dulmandakh 998b211b94
feat(android): remove unnecessary buildToolsVersion (#2023)
buildToolsVersion is no longer necessary, it'll default to Android Gradle Plugin version specification
2021-08-09 19:41:18 +02:00
semantic-release-bot 7b9d50bed5 chore(release): 11.9.0 [skip ci]
# [11.9.0](https://github.com/react-native-webview/react-native-webview/compare/v11.8.0...v11.9.0) (2021-08-09)

### Features

* **android:** add props to control pinch to zoom and internal zoom controls ([#2113](https://github.com/react-native-webview/react-native-webview/issues/2113)) ([b92b986](b92b98637c))
2021-08-09 17:40:02 +00:00
Lucas Alves e0f22b7db0
chore(docs): Update content in readme pt-br (#2090) 2021-08-09 19:38:44 +02:00
Stanciu Bogdan Mircea b92b98637c
feat(android): add props to control pinch to zoom and internal zoom controls (#2113)
Co-authored-by: Mircea Bogdan Stanciu <mirceabogdanstanciu@gmail.com>
Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu>
2021-08-09 19:37:44 +02:00
semantic-release-bot 2ed1f247fe chore(release): 11.8.0 [skip ci]
# [11.8.0](https://github.com/react-native-webview/react-native-webview/compare/v11.7.0...v11.8.0) (2021-08-09)

### Features

* **apple:** userAgent can be changed at runtime ([#2116](https://github.com/react-native-webview/react-native-webview/issues/2116)) ([2fc86f9](2fc86f9d39))
2021-08-09 17:21:39 +00:00
Tyler Coffman 2fc86f9d39
feat(apple): userAgent can be changed at runtime (#2116)
Make it so that if you change the userAgent prop, this change is propagated to
the native webview on iOS/macOS. Android already has this functionality.

Sometimes it is useful for WebView apps to be able to change their user agent
dynamically to communicate custom things to the web app they are hosting.
Since we can't add custom headers to every single request made by the webview,
the user agent can be used to send things like feature flags to the web app, so
it can have the appropriate behavior depending on what state the mobile app is
in.
2021-08-09 19:20:04 +02:00
semantic-release-bot 9d82aec237 chore(release): 11.7.0 [skip ci]
# [11.7.0](https://github.com/react-native-webview/react-native-webview/compare/v11.6.6...v11.7.0) (2021-08-09)

### Features

* add prop to allow nested scroll on android ([#2056](https://github.com/react-native-webview/react-native-webview/issues/2056)) ([6bac272](6bac272a5f))
2021-08-09 17:15:53 +00:00
Rodolphe Lemasquerier 6bac272a5f
feat: add prop to allow nested scroll on android (#2056)
* feat: add prop to allow nested scroll on android

When set to true, this prop allow to scroll inside the webview when the webview is inside a scrollview on android

* docs: nestedScrollEnabled prop usage
2021-08-09 19:14:26 +02:00
semantic-release-bot c1152ca850 chore(release): 11.6.6 [skip ci]
## [11.6.6](https://github.com/react-native-webview/react-native-webview/compare/v11.6.5...v11.6.6) (2021-08-05)

### Bug Fixes

* **windows:** Navigation to ms-appdata and ms-appx-web local file request ([#2098](https://github.com/react-native-webview/react-native-webview/issues/2098)) ([4f89408](4f894083ca))
2021-08-05 08:11:00 +00:00
Tero Paananen 4f894083ca
fix(windows): Navigation to ms-appdata and ms-appx-web local file request (#2098) 2021-08-05 01:05:41 -07:00
semantic-release-bot ecd4cc63e6 chore(release): 11.6.5 [skip ci]
## [11.6.5](https://github.com/react-native-webview/react-native-webview/compare/v11.6.4...v11.6.5) (2021-07-01)

### Bug Fixes

* **logs:** remove warning logs for common/handled error events. ([#2043](https://github.com/react-native-webview/react-native-webview/issues/2043)) ([279d6ae](279d6ae98c))
2021-07-01 12:34:48 +00:00
Cristiano Coelho 279d6ae98c
fix(logs): remove warning logs for common/handled error events. (#2043)
* remove warning logs for common/handled error events.

* re-add warn logs, but only if not handled

Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com>
2021-07-01 14:29:44 +02:00
semantic-release-bot e33eea6dcf chore(release): 11.6.4 [skip ci]
## [11.6.4](https://github.com/react-native-webview/react-native-webview/compare/v11.6.3...v11.6.4) (2021-06-11)

### Bug Fixes

* **windows:** Fix ARM/ARM64 support ([#2044](https://github.com/react-native-webview/react-native-webview/issues/2044)) ([e3e6e68](e3e6e6841a))
2021-06-11 15:35:35 +00:00
Alexander Sklar e3e6e6841a
fix(windows): Fix ARM/ARM64 support (#2044) 2021-06-11 08:33:56 -07:00
semantic-release-bot c3fdf5e4f0 chore(release): 11.6.3 [skip ci]
## [11.6.3](https://github.com/react-native-webview/react-native-webview/compare/v11.6.2...v11.6.3) (2021-06-11)

### Bug Fixes

* **windows:** react-native.config for non windows platforms ([#2046](https://github.com/react-native-webview/react-native-webview/issues/2046)) ([2eabfa3](2eabfa3d4a))
2021-06-11 04:20:28 +00:00
Adam Gorman 2eabfa3d4a
fix(windows): react-native.config for non windows platforms (#2046) 2021-06-10 21:17:57 -07:00
semantic-release-bot 72f37cdb7c chore(release): 11.6.2 [skip ci]
## [11.6.2](https://github.com/react-native-webview/react-native-webview/compare/v11.6.1...v11.6.2) (2021-05-24)

### Bug Fixes

* **android:** onPermissionRequest duplicate ([#2002](https://github.com/react-native-webview/react-native-webview/issues/2002)) ([bba5907](bba5907906))
2021-05-24 12:38:08 +00:00
Thibaud Michel bba5907906
fix(android): onPermissionRequest duplicate (#2002) 2021-05-24 14:36:07 +02:00
semantic-release-bot 4e07183a2d chore(release): 11.6.1 [skip ci]
## [11.6.1](https://github.com/react-native-webview/react-native-webview/compare/v11.6.0...v11.6.1) (2021-05-20)

### Bug Fixes

* **android:** revert change ThemedReactContext to ReactContext ([8a45fcf](8a45fcf7f9))
2021-05-20 23:28:21 +00:00
Thibault Malbranche 8a45fcf7f9 fix(android): revert change ThemedReactContext to ReactContext 2021-05-21 01:26:56 +02:00
semantic-release-bot 52b6639726 chore(release): 11.6.0 [skip ci]
# [11.6.0](https://github.com/react-native-webview/react-native-webview/compare/v11.5.0...v11.6.0) (2021-05-20)

### Features

* **ios:** Apple Pay support ([#1946](https://github.com/react-native-webview/react-native-webview/issues/1946)) ([30685ed](30685edda0))
2021-05-20 22:19:09 +00:00
Nizam Moidu 30685edda0
feat(ios): Apple Pay support (#1946)
* Apple Pay support in ios Webview

* Apple Pay example

* rename prop to enableApplePay

* disable js evaluation if enableApplePay set to true

* documentation update for apple pay support
2021-05-21 00:17:24 +02:00
semantic-release-bot 13b903acc0 chore(release): 11.5.0 [skip ci]
# [11.5.0](https://github.com/react-native-webview/react-native-webview/compare/v11.4.7...v11.5.0) (2021-05-20)

### Features

* **android:** Enhanced camera/audio and geolocation permissions ([#1239](https://github.com/react-native-webview/react-native-webview/issues/1239)) ([9f6037e](9f6037e4b2))
2021-05-20 22:17:00 +00:00
Thibaud Michel 9f6037e4b2
feat(android): Enhanced camera/audio and geolocation permissions (#1239) 2021-05-21 00:15:22 +02:00
semantic-release-bot 0419e32f3f chore(release): 11.4.7 [skip ci]
## [11.4.7](https://github.com/react-native-webview/react-native-webview/compare/v11.4.6...v11.4.7) (2021-05-20)

### Bug Fixes

* **types:** Remove references to nonexistent extraNativeComponentConfig prop ([#1958](https://github.com/react-native-webview/react-native-webview/issues/1958)) ([c1e91f7](c1e91f7d73))
2021-05-20 22:13:02 +00:00
Caleb Clarke c1e91f7d73
fix(types): Remove references to nonexistent extraNativeComponentConfig prop (#1958) 2021-05-21 00:11:12 +02:00
semantic-release-bot ca696b586f chore(release): 11.4.6 [skip ci]
## [11.4.6](https://github.com/react-native-webview/react-native-webview/compare/v11.4.5...v11.4.6) (2021-05-20)

### Bug Fixes

* **android:** Changing ThemedReactContext to ReactContext to allow custom stuff ([#1994](https://github.com/react-native-webview/react-native-webview/issues/1994)) ([7b71364](7b71364a9c))
2021-05-20 08:22:25 +00:00
Gaurav Gupta 7b71364a9c
fix(android): Changing ThemedReactContext to ReactContext to allow custom stuff (#1994)
* changing ThemedReactContext to ReactContext

* updating documentation

Co-authored-by: Gaurav Gupta <gaurkum@microsoft.com>
2021-05-20 10:20:42 +02:00
Chiara Mooney f27c28d934
Add Alex and Chiara as Maintainers (#1991)
* Add Alex and Chiara as maintainers

* Shorten Twitter Url
2021-05-18 15:08:55 -07:00
semantic-release-bot 0e32781bd7 chore(release): 11.4.5 [skip ci]
## [11.4.5](https://github.com/react-native-webview/react-native-webview/compare/v11.4.4...v11.4.5) (2021-05-17)

### Reverts

* Revert ""fix(add-react-native-config): add react-native.config to npm publish"" (#1988 by @chiaramooney) ([cedde61](cedde61e23)), closes [#1988](https://github.com/react-native-webview/react-native-webview/issues/1988)
2021-05-17 21:03:00 +00:00
Chiara Mooney 2f3a1a777b
chore(ci): Add react-native.config.js to publish (#1989 by @chiaramooney) 2021-05-17 14:01:30 -07:00
Chiara Mooney cedde61e23
Revert ""fix(add-react-native-config): add react-native.config to npm publish"" (#1988 by @chiaramooney)
This reverts commit 3b3628a582.

[skip ci]
2021-05-17 13:59:01 -07:00
Jamon Holmgren f84b5fdec8 Bump to deploy 2021-05-13 11:15:52 -07:00
Chiara Mooney 3b3628a582
"fix(add-react-native-config): add react-native.config to npm publish" 2021-05-12 15:56:51 -07:00
Jamon Holmgren 89fd2db39b
chore(docs): Adds some simple webview JS debugging tips (#1969 by @jamonholmgren)
[skip ci]
2021-05-07 17:16:07 -07:00
semantic-release-bot e6d6828645 chore(release): 11.4.4 [skip ci]
## [11.4.4](https://github.com/react-native-webview/react-native-webview/compare/v11.4.3...v11.4.4) (2021-05-08)

### Bug Fixes

* **deps:** Bump React Native version range to accept 0.64 ([#1967](https://github.com/react-native-webview/react-native-webview/issues/1967) by [@dulmandakh](https://github.com/dulmandakh)) ([863a0e2](863a0e2408))
2021-05-08 00:12:10 +00:00
Dulmandakh 863a0e2408
fix(deps): Bump React Native version range to accept 0.64 (#1967 by @dulmandakh) 2021-05-07 17:07:23 -07:00
semantic-release-bot 8022f9b129 chore(release): 11.4.3 [skip ci]
## [11.4.3](https://github.com/react-native-webview/react-native-webview/compare/v11.4.2...v11.4.3) (2021-04-26)

### Bug Fixes

* **autolink-windows:** enable autolinking on Windows ([9114b78](9114b78d41))
2021-04-26 15:42:07 +00:00
Chiara Mooney 9114b78d41
fix(autolink-windows): enable autolinking on Windows
* Reset Project to Single Package

* Update CI

* Resolve Conflicts

* Update Publisher Name
2021-04-26 08:40:20 -07:00
semantic-release-bot f36a5eb181 chore(release): 11.4.2 [skip ci]
## [11.4.2](https://github.com/react-native-webview/react-native-webview/compare/v11.4.1...v11.4.2) (2021-04-20)

### Bug Fixes

* **android:** read minSdkVersion from root project ([#1960](https://github.com/react-native-webview/react-native-webview/issues/1960)) ([768092b](768092bba7))
2021-04-20 23:05:08 +00:00
Sampo Juustila 768092bba7
fix(android): read minSdkVersion from root project (#1960) 2021-04-21 01:03:41 +02:00
semantic-release-bot 71ca0fb787 chore(release): 11.4.1 [skip ci]
## [11.4.1](https://github.com/react-native-webview/react-native-webview/compare/v11.4.0...v11.4.1) (2021-04-20)

### Bug Fixes

* **android:** Adding mavenCentral() as jcenter() is shutting down ([#1961](https://github.com/react-native-webview/react-native-webview/issues/1961)) ([015054c](015054c2f5))
2021-04-20 14:28:13 +00:00