028e3f8512
								
							 
						 
						
							chore(release): 3.0.1 [skip ci] 
							
							
## [3.0.1](https://github.com/react-native-community/react-native-webview/compare/v3.0.0...v3.0.1 ) (2019-01-10)
### Bug Fixes
* **android:** cleanup `build.gradle` & fix [#218 ](https://github.com/react-native-community/react-native-webview/issues/218 ) ([#238 ](https://github.com/react-native-community/react-native-webview/issues/238 )) ([24ec4f7 ](https://github.com/react-native-community/react-native-webview/commit/ 24ec4f7 )) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								24ec4f752c
								
							 
						 
						
							fix(android): cleanup `build.gradle` & fix #218  (#238 ) 
							
							
This changes the following:
 - Fixes #218  
 - Removed unused Fabric Maven config
 - Versions now correctly checking `rootProject.ext.X` instead of `rootProject.X` to match behaviour from all other libs (RNFB needs changing as well 🙈)
 - Swapped `implementation` for `api` for react native sources - only used to build.


cc @terrytianliang  
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								f64f526376
								
							 
						 
						
							chore(release): 3.0.0 [skip ci] 
							
							
# [3.0.0](https://github.com/react-native-community/react-native-webview/compare/v2.15.0...v3.0.0 ) (2019-01-07)
### Features
* **WKWebview:** Add shared process pool so cookies and localStorage are shared across webviews in iOS ([#138 ](https://github.com/react-native-community/react-native-webview/issues/138 )) ([afadc62 ](https://github.com/react-native-community/react-native-webview/commit/ afadc62 )), closes [#68 ](https://github.com/react-native-community/react-native-webview/issues/68 )
### BREAKING CHANGES
* **WKWebview:** useSharedProcessPool prop is set to true by default. If you want the old behavior, please use useSharedProcessPool={false} 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								afadc62ada
								
							 
						 
						
							feat(WKWebview): Add shared process pool so cookies and localStorage are shared across webviews in iOS (#138 ) 
							
							
* fix(WKWebview): [iOS] Add shared process pool so cookies and localStorage are shared across webviews (#68 )
* Add optional shared process pool
BREAKING CHANGE: useSharedProcessPool prop is set to true by default. If you want the old behavior, please use useSharedProcessPool={false} 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								335792ce4c
								
							 
						 
						
							chore(release): 2.15.0 [skip ci] 
							
							
# [2.15.0](https://github.com/react-native-community/react-native-webview/compare/v2.14.3...v2.15.0 ) (2019-01-07)
### Features
* **Android Webview:** Add file download support for Android ([#203 ](https://github.com/react-native-community/react-native-webview/issues/203 )) ([2114a9b ](https://github.com/react-native-community/react-native-webview/commit/ 2114a9b )), closes [#80 ](https://github.com/react-native-community/react-native-webview/issues/80 ) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								2114a9b327
								
							 
						 
						
							feat(Android Webview): Add file download support for Android (#203 ) 
							
							
Addresses #80 .
Caveat: I am not an Android developer. This code comes from a fork of the original RN WebView that we have been using in production for some time, so all credit goes to @Oblongmana : https://github.com/Oblongmana/react-native-webview-file-upload-android. 
Setting up a DownloadManager for the WebView is pretty straightforward, as is adding any known cookies to the request. Most of the complication comes from the requirement after SDK 23 to ask the user for the WRITE_EXTERNAL_STORAGE permission. Unfortunately there is no mechanism to suspend the download request until permission is resolved so this code stores off the request and sets up a listener that enqueues the download once permissions are resolved so the user experience is really nice.
I didn't see anything in the way of tests or documentation that needs to be added for this change, so let me know if I missed anything. Thanks! 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								8427a8db69
								
							 
						 
						
							chore(docs): Add update style doc (#225 ) 
							
							
* add style doc in reference.md
* Update Reference.md 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								279147b39d
								
							 
						 
						
							chore(docs): Add testimonial to README (#217 ) 
							
							
Adds a testimonial from Garrett McCollough (with his permission) to the README. 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								ef2f7e1530
								
							 
						 
						
							chore(release): 2.14.3 [skip ci] 
							
							
## [2.14.3](https://github.com/react-native-community/react-native-webview/compare/v2.14.2...v2.14.3 ) (2018-12-14)
### Bug Fixes
* **WKWebview:** Reverts [#134 ](https://github.com/react-native-community/react-native-webview/issues/134 ), fixes issue where keyboard dismiss would scroll to top ([#210 ](https://github.com/react-native-community/react-native-webview/issues/210 )) ([9f37dde ](https://github.com/react-native-community/react-native-webview/commit/ 9f37dde )) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								9f37ddea61
								
							 
						 
						
							fix(WKWebview): Reverts #134 , fixes issue where keyboard dismiss would scroll to top (#210 ) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								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.
 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								41d9bdcce4
								
							 
						 
						
							fix(WKWebview): Fixed non-working iOS alert. (#188 ) 
							
							
						 
						6 anni fa  
				
					
						
							
								 
						
							
								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 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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  
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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. 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								0ff0fd3ed6
								
							 
						 
						
							feat(types): Post message types (#166 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								4870e1f06a
								
							 
						 
						
							feat(WKWebview): [ios] Add 'pagingEnabled' property to the iOS WKWebview (#165 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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. 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								f70700df24
								
							 
						 
						
							feat(types): added missing types (#157 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								692961bfca
								
							 
						 
						
							chore(readme): Added contributing guide and empyrical link (#146 ) 
							
							
Added a Contributing.md file and moved contributor notes there. Also added @empyrical.  :tada: 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								fd736cf26b
								
									
										
											
								
							 
						 
						
							refactor(Android): New project setup + kotlin events (#121 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								5425039ff4
								
							 
						 
						
							feat(WKWebview): Add fix for keyboard dismiss leaving viewport shifted in iOS 12 (#134 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								e83818b08c
								
							 
						 
						
							chore(docs):Add docs for missing props which do something (#132 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								c0c0116c80
								
							 
						 
						
							fix(WKWebview): Fixed for supporting mediaPlaybackRequiresUserAction option under iOS 10. (#129 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								2ec5fa514e
								
							 
						 
						
							feat(WKWebview): Add 'userAgent' property to the iOS WKWebView. (#112 ) 
							
							
* Add 'userAgent' property to the iOS WKWebView
* Update 'userAgent' reference docs. 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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. 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								b284bf959b
								
							 
						 
						
							chore(documentation): Update Debugging.md (#96 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								6da6b417ba
								
							 
						 
						
							chore(documentation): Updated the documentation for `injectJavaScript` (#114 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								7f35344632
								
							 
						 
						
							feat(WKWebview): [iOS] Add 'allowsBackForwardNavigationGestures' property (#97 ) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								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 )) 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								1394c7de06
								
							 
						 
						
							fix(semantic-release): Added Missong devDeps for CI 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								c727dd9848
								
							 
						 
						
							fix(semantic-release): Use git plugin to auto commit 
							
							
						 
						7 anni fa  
				
					
						
							
								 
						
							
								171f778134
								
							 
						 
						
							fix(semantic-release): Auto increment package.json 
							
							
Bumped deps version to use new format 
							
							
						 
						7 anni fa