Commit Graph

724 Commits

Author SHA1 Message Date
Archie b9624264a3
chore(docs): Fixed typo (#2214) 2021-10-29 00:31:23 +02:00
Thibault Malbranche f8a1ba2ebc fix(dependencies): Simplify react-native version management
Let's just do the same as "react-navigation":
https://github.com/react-navigation/react-navigation/blob/main/packages/native/package.json#L56-L59
2021-10-29 00:26:47 +02:00
semantic-release-bot 4d32d1cbd1 chore(release): 11.14.1 [skip ci]
## [11.14.1](https://github.com/react-native-webview/react-native-webview/compare/v11.14.0...v11.14.1) (2021-10-15)

### Bug Fixes

* **iOS:** compilation error ([c036706](c03670685b))
2021-10-15 09:46:11 +00:00
Li Junjie c03670685b
fix(iOS): compilation error
Modification and compilation failed.
2021-10-15 11:38:29 +02:00
Scott Batson e1fc730eed
Allow custom menu items for selection menu (#2101)
remove unused vars

use gesture handler

change callback name, pass selected text back

do not use deprecate setTarget

do not call super on methodSignatureForSelector twice

add checks for custom menu items and callback

make custom params optional

add custom menu items outside of initWithFrame

require key and label for menuItems

fix typo
2021-10-08 08:38:43 +02:00
semantic-release-bot af418ecae4 chore(release): 11.14.0 [skip ci]
# [11.14.0](https://github.com/react-native-webview/react-native-webview/compare/v11.13.1...v11.14.0) (2021-09-30)

### Features

* **auth:** Basic Authentication Support ([#1467](https://github.com/react-native-webview/react-native-webview/issues/1467)) ([0c42a98](0c42a9812e))
2021-09-30 16:06:34 +00:00
iwashi1t 0c42a9812e
feat(auth): Basic Authentication Support (#1467)
Some people prefer using this new prop over the http://username:password@example.com syntax, now webview supports both
2021-09-30 18:03:34 +02:00
semantic-release-bot c74c1fd113 chore(release): 11.13.1 [skip ci]
## [11.13.1](https://github.com/react-native-webview/react-native-webview/compare/v11.13.0...v11.13.1) (2021-09-27)

### Bug Fixes

* **ci:** Upgrade to node 14 ([0b0a406](0b0a4069c8))
* **jcenter:** remove jcenter ([#2178](https://github.com/react-native-webview/react-native-webview/issues/2178)) ([283c18b](283c18b379))
2021-09-27 14:51:31 +00:00
Orkhan Alikhanov 854e26643b
Add missing ignoreSilentHardwareSwitch prop (#2154) 2021-09-27 16:47:56 +02:00
Thibault Malbranche 0b0a4069c8
fix(ci): Upgrade to node 14 2021-09-27 16:45:42 +02:00
Kirill 283c18b379
fix(jcenter): remove jcenter (#2178)
Builds will no longer be able to resolve artifacts from JCenter after February 1st, 2022 because jcenter servers shut down

so, i remove jcenter and update react-native (since 0.65.1 they don't use jcenter)

Co-authored-by: bibazavr <lebedevki@lad24.ru>
2021-09-27 13:50:52 +02:00
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