semantic-release-bot
832356678c
chore(release): 2.14.2 [skip ci]
...
## [2.14.2](https://github.com/react-native-community/react-native-webview/compare/v2.14.1...v2.14.2 ) (2018-12-14)
### Bug Fixes
* **WKWebview:** Surface evaluateJavaScript errors ([#179 ](https://github.com/react-native-community/react-native-webview/issues/179 )) ([ec469cf
](https://github.com/react-native-community/react-native-webview/commit/ec469cf ))
2018-12-14 10:26:30 +00:00
Ryan Linton
ec469cf00d
fix(WKWebview): Surface evaluateJavaScript errors ( #179 )
...
In the current code using `startInLoadingState` and `injectedJavaScript` will result in an infinite loading state if `injectedJavaScript` fails to evaluate for some reason. This adds a red box error explaining there was a failure to evaluate javascript. In my case this was do to the JS string not returning a valid type so I've added a that as a potential solution in the error message and added some documentation to the API Reference with some additional warnings.
To reproduce the existing behavior setup a webview with `startInLoadingState` and `injectedJavaScript` that returns an invalid type (in my case it returned a function). You should see an infinite loading state as `onLoadEnd` is never called.
Try the same with this branch and you'll get a nice red box error suggesting one potential solution to the problem.
![simulator screen shot - iphone 8 plus - 2018-11-28 at 15 09 25](https://user-images.githubusercontent.com/1944151/49193714-fccde100-f334-11e8-89dc-bf220e0adf23.png )
2018-12-14 11:24:52 +01:00
semantic-release-bot
6eaca5f005
chore(release): 2.14.1 [skip ci]
...
## [2.14.1](https://github.com/react-native-community/react-native-webview/compare/v2.14.0...v2.14.1 ) (2018-12-14)
### Bug Fixes
* **WKWebview:** Fixed non-working iOS alert. ([#188 ](https://github.com/react-native-community/react-native-webview/issues/188 )) ([41d9bdc
](https://github.com/react-native-community/react-native-webview/commit/41d9bdc ))
2018-12-14 10:20:18 +00:00
npm-ued
41d9bdcce4
fix(WKWebview): Fixed non-working iOS alert. ( #188 )
2018-12-14 11:18:48 +01:00
semantic-release-bot
42706fc733
chore(release): 2.14.0 [skip ci]
...
# [2.14.0](https://github.com/react-native-community/react-native-webview/compare/v2.13.0...v2.14.0 ) (2018-11-30)
### Features
* **Android Webview:** Support onShouldStartLoadWithRequest on Android ([#107 ](https://github.com/react-native-community/react-native-webview/issues/107 )) ([b1b6626
](https://github.com/react-native-community/react-native-webview/commit/b1b6626 )), closes [#59 ](https://github.com/react-native-community/react-native-webview/issues/59 ) [#106 ](https://github.com/react-native-community/react-native-webview/issues/106 ) [#106 ](https://github.com/react-native-community/react-native-webview/issues/106 )
2018-11-30 02:12:14 +00:00
Thibault Malbranche
b1b662628e
feat(Android Webview): Support onShouldStartLoadWithRequest on Android ( #107 )
...
This PR adds support for `onShouldStartLoadWithRequest` on android.
The initial PR was #59
The issue for this PR is: #106
fixes #106
2018-11-30 02:59:12 +01:00
semantic-release-bot
48230e4dcf
chore(release): 2.13.0 [skip ci]
...
# [2.13.0](https://github.com/react-native-community/react-native-webview/compare/v2.12.1...v2.13.0 ) (2018-11-25)
### Features
* **WKWebView:** [ios] Add allowsLinkPreview property to WKWebView ([#170 ](https://github.com/react-native-community/react-native-webview/issues/170 )) ([731dd03
](https://github.com/react-native-community/react-native-webview/commit/731dd03 ))
2018-11-25 10:18:20 +00:00
Jermaine Oosterling
731dd03fc6
feat(WKWebView): [ios] Add allowsLinkPreview property to WKWebView ( #170 )
...
* [ios] Add ‘allowsLinkPreview’ property to iOS WKWebView.
* Add divider in docs
* Typo: add hyphen -> _allowsLinkPreview
2018-11-25 11:17:28 +01:00
semantic-release-bot
7918b360d0
chore(release): 2.12.1 [skip ci]
...
## [2.12.1](https://github.com/react-native-community/react-native-webview/compare/v2.12.0...v2.12.1 ) (2018-11-22)
### Bug Fixes
* **types:** Fixing typing. ([#167 ](https://github.com/react-native-community/react-native-webview/issues/167 )) ([65bd972
](https://github.com/react-native-community/react-native-webview/commit/65bd972 ))
2018-11-22 14:20:58 +00:00
KaFai
65bd97219a
fix(types): Fixing typing. ( #167 )
...
so happy to see there is typing in the newest release.
I added back WebViewIOSLoadRequestEvent which also exist in react-native typing and fix startInLoadingState which should be boolean.
2018-11-22 15:19:16 +01:00
semantic-release-bot
9ffb6711cc
chore(release): 2.12.0 [skip ci]
...
# [2.12.0](https://github.com/react-native-community/react-native-webview/compare/v2.11.0...v2.12.0 ) (2018-11-22)
### Features
* **types:** Post message types ([#166 ](https://github.com/react-native-community/react-native-webview/issues/166 )) ([0ff0fd3
](https://github.com/react-native-community/react-native-webview/commit/0ff0fd3 ))
2018-11-22 14:11:22 +00:00
Chet Corcos
0ff0fd3ed6
feat(types): Post message types ( #166 )
2018-11-22 15:10:10 +01:00
semantic-release-bot
3b247e3f1a
chore(release): 2.11.0 [skip ci]
...
# [2.11.0](https://github.com/react-native-community/react-native-webview/compare/v2.10.0...v2.11.0 ) (2018-11-22)
### Features
* **WKWebview:** [ios] Add 'pagingEnabled' property to the iOS WKWebview ([#165 ](https://github.com/react-native-community/react-native-webview/issues/165 )) ([4870e1f
](https://github.com/react-native-community/react-native-webview/commit/4870e1f ))
2018-11-22 12:59:10 +00:00
wiscat
4870e1f06a
feat(WKWebview): [ios] Add 'pagingEnabled' property to the iOS WKWebview ( #165 )
2018-11-22 13:58:07 +01:00
semantic-release-bot
f79b7133c1
chore(release): 2.10.0 [skip ci]
...
# [2.10.0](https://github.com/react-native-community/react-native-webview/compare/v2.9.0...v2.10.0 ) (2018-11-21)
### Features
* **Android:** Support Android file upload ([#60 ](https://github.com/react-native-community/react-native-webview/issues/60 )) ([752a5b2
](https://github.com/react-native-community/react-native-webview/commit/752a5b2 )), closes [#33 ](https://github.com/react-native-community/react-native-webview/issues/33 )
2018-11-21 10:47:40 +00:00
Andrei Pfeiffer
752a5b295a
feat(Android): Support Android file upload ( #60 )
...
Fixes #33
I could really use some help from an Android developer on this one, because I just "made it work", don't know how to "make it work good".
Some things that should be reviewed:
- [ ] validate Android 5.0 devices (my emulator work, but outputs some weird sounds; a Galaxy 4 I tested on crashes)
- [ ] validate Android 5.1 devices (emulator works, couldn't find a real device)
- [ ] how to handle File Extensions? (https://www.w3schools.com/tags/att_input_accept.asp )
I'm sure that there's more refactoring to be done, so any help and advice would be appreciated.
2018-11-21 11:46:43 +01:00
semantic-release-bot
f69942d70a
chore(release): 2.9.0 [skip ci]
...
# [2.9.0](https://github.com/react-native-community/react-native-webview/compare/v2.8.1...v2.9.0 ) (2018-11-21)
### Features
* **types:** added missing types ([#157 ](https://github.com/react-native-community/react-native-webview/issues/157 )) ([f70700d
](https://github.com/react-native-community/react-native-webview/commit/f70700d ))
2018-11-21 08:46:49 +00:00
Chet Corcos
f70700df24
feat(types): added missing types ( #157 )
2018-11-21 09:45:46 +01:00
semantic-release-bot
9b70012435
chore(release): 2.8.1 [skip ci]
...
## [2.8.1](https://github.com/react-native-community/react-native-webview/compare/v2.8.0...v2.8.1 ) (2018-11-20)
### Bug Fixes
* **WKWebView:** Fix the message handle bug. ([#143 ](https://github.com/react-native-community/react-native-webview/issues/143 )) ([2b9292e
](https://github.com/react-native-community/react-native-webview/commit/2b9292e ))
2018-11-20 00:49:35 +00:00
Neil
2b9292ed1c
fix(WKWebView): Fix the message handle bug. ( #143 )
...
* fix webview always recreate
* fix webview always recreate
* code format
* Update RNCWKWebView.m
* @bugfix fix the message handle problem
2018-11-20 01:48:26 +01:00
Jamon Holmgren
692961bfca
chore(readme): Added contributing guide and empyrical link ( #146 )
...
Added a Contributing.md file and moved contributor notes there. Also added @empyrical. 🎉
2018-11-19 11:32:22 +01:00
Jamon Holmgren
8064f66e03
docs(Documentation): Expo and Troubleshooting ( #145 )
...
* Add fix for keyboard dismiss leaving viewport shifted in iOS 12
* Readme - added note about Expo and added troubleshooting section
2018-11-19 11:28:55 +01:00
Thibault Malbranche
fd736cf26b
refactor(Android): New project setup + kotlin events ( #121 )
2018-11-19 11:25:28 +01:00
semantic-release-bot
624ed340f4
chore(release): 2.8.0 [skip ci]
...
# [2.8.0](https://github.com/react-native-community/react-native-webview/compare/v2.7.1...v2.8.0 ) (2018-11-19)
### Features
* **WKWebview:** Add fix for keyboard dismiss leaving viewport shifted in iOS 12 ([#134 ](https://github.com/react-native-community/react-native-webview/issues/134 )) ([5425039
](https://github.com/react-native-community/react-native-webview/commit/5425039 ))
2018-11-19 10:23:08 +00:00
Tom
5425039ff4
feat(WKWebview): Add fix for keyboard dismiss leaving viewport shifted in iOS 12 ( #134 )
2018-11-19 11:21:36 +01:00
semantic-release-bot
d398323b5b
chore(release): 2.7.1 [skip ci]
...
## [2.7.1](https://github.com/react-native-community/react-native-webview/compare/v2.7.0...v2.7.1 ) (2018-11-19)
### Bug Fixes
* **WKWebview:** Fixed for supporting mediaPlaybackRequiresUserAction option under iOS 10. ([#129 ](https://github.com/react-native-community/react-native-webview/issues/129 )) ([c0c0116
](https://github.com/react-native-community/react-native-webview/commit/c0c0116 ))
2018-11-19 10:20:22 +00:00
Lewis Nelson
e83818b08c
chore(docs):Add docs for missing props which do something ( #132 )
2018-11-19 11:18:49 +01:00
ifsnow
c0c0116c80
fix(WKWebview): Fixed for supporting mediaPlaybackRequiresUserAction option under iOS 10. ( #129 )
2018-11-19 11:17:57 +01:00
semantic-release-bot
57e6134e67
chore(release): 2.7.0 [skip ci]
...
# [2.7.0](https://github.com/react-native-community/react-native-webview/compare/v2.6.0...v2.7.0 ) (2018-11-19)
### Features
* **WKWebview:** Add 'userAgent' property to the iOS WKWebView. ([#112 ](https://github.com/react-native-community/react-native-webview/issues/112 )) ([2ec5fa5
](https://github.com/react-native-community/react-native-webview/commit/2ec5fa5 ))
2018-11-19 10:15:16 +00:00
Bae Hyeonseung
2ec5fa514e
feat(WKWebview): Add 'userAgent' property to the iOS WKWebView. ( #112 )
...
* Add 'userAgent' property to the iOS WKWebView
* Update 'userAgent' reference docs.
2018-11-19 11:13:31 +01:00
semantic-release-bot
24572d01a3
chore(release): 2.6.0 [skip ci]
...
# [2.6.0](https://github.com/react-native-community/react-native-webview/compare/v2.5.0...v2.6.0 ) (2018-11-19)
### Features
* **typings:** Add typescript definitions ([#95 ](https://github.com/react-native-community/react-native-webview/issues/95 )) ([715fe61
](https://github.com/react-native-community/react-native-webview/commit/715fe61 ))
2018-11-19 10:01:16 +00:00
doomsower
715fe61cc5
feat(typings): Add typescript definitions ( #95 )
...
Typescript definitions are based on flow
Tested them a bit in my project
I think couple of event types are screwed in flow definitions (synthetic/non-synthetic are mixed), tried my best to test which events are really received.
2018-11-19 10:59:21 +01:00
Jamon Holmgren
b284bf959b
chore(documentation): Update Debugging.md ( #96 )
2018-10-30 15:47:05 +01:00
ifsnow
6da6b417ba
chore(documentation): Updated the documentation for `injectJavaScript` ( #114 )
2018-10-30 14:48:10 +01:00
semantic-release-bot
30237f39ba
chore(release): 2.5.0 [skip ci]
...
# [2.5.0](https://github.com/react-native-community/react-native-webview/compare/v2.4.3...v2.5.0 ) (2018-10-21)
### Features
* **WKWebview:** [iOS] Add 'allowsBackForwardNavigationGestures' property ([#97 ](https://github.com/react-native-community/react-native-webview/issues/97 )) ([7f35344
](https://github.com/react-native-community/react-native-webview/commit/7f35344 ))
2018-10-21 21:14:29 +00:00
Bae Hyeonseung
7f35344632
feat(WKWebview): [iOS] Add 'allowsBackForwardNavigationGestures' property ( #97 )
2018-10-21 23:12:59 +02:00
semantic-release-bot
d55ce2b7bf
chore(release): 2.4.3 [skip ci]
...
## [2.4.3](https://github.com/react-native-community/react-native-webview/compare/v2.4.2...v2.4.3 ) (2018-10-18)
### Bug Fixes
* **semantic-release:** Added Missong devDeps for CI ([1394c7d
](https://github.com/react-native-community/react-native-webview/commit/1394c7d ))
* **semantic-release:** Use git plugin to auto commit ([c727dd9
](https://github.com/react-native-community/react-native-webview/commit/c727dd9 ))
2018-10-18 09:44:14 +00:00
Thibault Malbranche
1394c7de06
fix(semantic-release): Added Missong devDeps for CI
2018-10-18 11:42:21 +02:00
Thibault Malbranche
c727dd9848
fix(semantic-release): Use git plugin to auto commit
2018-10-18 11:37:43 +02:00
Thibault Malbranche
171f778134
fix(semantic-release): Auto increment package.json
...
Bumped deps version to use new format
2018-10-18 11:31:19 +02:00
Bae Hyeonseung
59b513b754
fix(package.json): Add license to podspec and update package.json version dynamically. ( #98 )
...
Fix cocoapods install error and warning.
```
Fetching podspec for `react-native-webview` from `../node_modules/react-native-webview`
[!] The `react-native-webview` pod failed to validate due to 1 error:
- WARN | attributes: Missing required attribute `license`.
- ERROR | version: The version of the spec should be higher than 0.
- WARN | license: Missing license type.
- WARN | source: Git sources should specify a tag.
```
2018-10-18 11:08:49 +02:00
Neil
3c4f78df2e
feat(WKWebView): Fix recreate bug when moving to window ( #84 )
...
* Fixes #81
* Fixes #72
2018-10-18 08:34:00 +02:00
Ryan Linton
72f39885c0
Add debugging guide to docs ( #94 )
2018-10-17 18:19:56 -07:00
Thibault Malbranche
5491a57184
chore(readme): Update README.md to reflect latest changes ( #93 )
2018-10-17 17:58:32 +02:00
marcelkalveram
34512f3c38
feat(New WebView Prop): [iOS] add hideKeyboardAccessoryView option ( #67 )
...
* add hideKeyboardAccessoryView option
* add hideKeyboardAccessoryView prop to reference
2018-10-17 16:59:19 +02:00
Thibault Malbranche
2c0059ff61
feat(New Webview Prop): Added Android overscroll property ( #54 )
2018-10-17 16:48:19 +02:00
Thibault Malbranche
cd00bdc96b
feat(Bump to 2.1.0): trigger ci ( #92 )
...
- Versions are back to normal and will now be powered by semantic-release
- I used the release of onLoadProgress feature to setup all the so I'll link it here to make sure it does not get lost 🎉 https://github.com/react-native-community/react-native-webview/pull/53
2018-10-17 16:28:10 +02:00
Thibault Malbranche
c2d6989969
feat(trigger ci): trigger Breaking CI ( #91 )
...
- This should trigger breaking and update to 2.0.0
BREAKING CHANGE: this is meant to break to update the version
2018-10-17 16:21:10 +02:00
Thibault Malbranche
dc05d719b0
feat(New Webview Props): onLoadProgress ( #90 )
...
* Added the onLoadProgress property to the iOS wkwebview and Android webview
* releases are now using semantic release and start at 2.1.0
2018-10-17 16:14:52 +02:00
Thibault Malbranche
f9cc4276f4
feat(bump version): Bump to 2.0.0 ( #89 )
...
This is just here to bump the release to match our current version.
I will cancel the release to NPM
BREAKING CHANGES
This will trigger a 2.0.0
2018-10-17 16:09:17 +02:00