Commit Graph

616 Commits

Author SHA1 Message Date
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
semantic-release-bot 9250c054c6 chore(release): 6.8.1 [skip ci]
## [6.8.1](https://github.com/react-native-community/react-native-webview/compare/v6.8.0...v6.8.1) (2019-08-08)

### Bug Fixes

* **iOS:** signature of the swizzled `elementDidFocus` method on iOS 13 ([68f3c08](https://github.com/react-native-community/react-native-webview/commit/68f3c08))
2019-08-08 08:34:39 +00:00
Evgeniy Yurtaev 68f3c08b54 fix(iOS): signature of the swizzled `elementDidFocus` method on iOS 13 2019-08-08 10:32:41 +02:00
semantic-release-bot 078b055948 chore(release): 6.8.0 [skip ci]
# [6.8.0](https://github.com/react-native-community/react-native-webview/compare/v6.7.0...v6.8.0) (2019-08-06)

### Features

* **focus:** Add functionality to imperatively focus webview ([#567](https://github.com/react-native-community/react-native-webview/issues/567)) ([6f053ba](https://github.com/react-native-community/react-native-webview/commit/6f053ba))
2019-08-06 08:59:12 +00:00
DemMarcupan 6f053bad7b feat(focus): Add functionality to imperatively focus webview (#567)
*  - add focus functionality for devices without touch screen
 (faced problem while developing for android TV, cause there only remote controller for device)

* Reimplement as a ref method.

*  - remove redundant requestFocus
2019-08-06 10:56:59 +02:00
semantic-release-bot 9db55a5769 chore(release): 6.7.0 [skip ci]
# [6.7.0](https://github.com/react-native-community/react-native-webview/compare/v6.6.0...v6.7.0) (2019-08-04)

### Features

* **injectedJavaScript:** Error replaced by warnings, and callback runs ([3baebf8](https://github.com/react-native-community/react-native-webview/commit/3baebf8))
2019-08-04 08:47:20 +00:00
Gary Fung 3baebf84db feat(injectedJavaScript): Error replaced by warnings, and callback runs
* Changes error/redbox into warning/yellowbox. So wouldn't crash production releases
* Warning added actual error, useful for debugging bad JS injected into webview
* callback runs, whether there's error or not. As used in my app (https://medium.com/wonderswipe/rethink-mobile-search-10-100x-faster-introducing-wonderswipe-6f2ff0d0e667) which injects JS into sanitized html from the wild, small error in injected JS doesn't warrant the whole JS payload from being injected/run
2019-08-04 10:43:04 +02:00
semantic-release-bot 9e41a2b451 chore(release): 6.6.0 [skip ci]
# [6.6.0](https://github.com/react-native-community/react-native-webview/compare/v6.5.1...v6.6.0) (2019-08-02)

### Features

* **Android:** webrtc permission request - conflicts fixed ([#719](https://github.com/react-native-community/react-native-webview/issues/719)) ([bb79ae8](https://github.com/react-native-community/react-native-webview/commit/bb79ae8)), closes [#231](https://github.com/react-native-community/react-native-webview/issues/231) [#231](https://github.com/react-native-community/react-native-webview/issues/231)
2019-08-02 15:26:16 +00:00
Eze bb79ae80ee feat(Android): webrtc permission request - conflicts fixed (#719)
* fix(Android): WebRTC permission request (#231)

* fix(Android):  Avoid unintentionally granting requests for new permissions (#231)

* ContextCompat import migrated to androidx new artifact

* RNCWebViewManager.java original format restored
2019-08-02 17:23:59 +02:00