4062d12db5
								
							 
						 
						
							Update README.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								55e14ee838
								
							 
						 
						
							Update yarn.lock 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								d8dcc0e813
								
							 
						 
						
							Use babel preset typescript through react-native instead of ts-jest 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								f6c821e9ea
								
							 
						 
						
							feat(android): fix overflow issues and match iOS default render error and loading behaviour 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								8deacdbbe8
								
							 
						 
						
							chore(release): 5.5.0 [skip ci] 
							
							
# [5.5.0](https://github.com/react-native-community/react-native-webview/compare/v5.4.6...v5.5.0 ) (2019-03-28)
### Features
* **android:** textZoom prop to limit scaling issues ([#414 ](https://github.com/react-native-community/react-native-webview/issues/414 )) ([82fe6e2 ](https://github.com/react-native-community/react-native-webview/commit/ 82fe6e2 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								82fe6e2c3d
								
							 
						 
						
							feat(android): textZoom prop to limit scaling issues (#414 ) 
							
							
When setting a custom font size in the Android system, an undesirable scale of the site interface in WebView occurs.
I researched that when setting the standard textZoom (100) parameter size, this undesirable effect disappears.
This can be very useful if you need to avoid the scale of content in WebView when changing the size of system fonts, or change textZoom property directly.
Example:
`
<WebView
  textZoom={100}
/>
` 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								07ce4fdc8f
								
							 
						 
						
							chore(release): 5.4.6 [skip ci] 
							
							
## [5.4.6](https://github.com/react-native-community/react-native-webview/compare/v5.4.5...v5.4.6 ) (2019-03-27)
### Bug Fixes
* **android:** Annotate RNCWebViewModule with @ReactModule  to comply with latest changes ([#459 ](https://github.com/react-native-community/react-native-webview/issues/459 )) ([f6e208b ](https://github.com/react-native-community/react-native-webview/commit/ f6e208b )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								f6e208be61
								
							 
						 
						
							fix(android): Annotate RNCWebViewModule with @ReactModule  to comply with latest changes (#459 ) 
							
							
The app was crashing with `"Could not find @ReactModule  annotation in class RNCWebViewModule"` exception. Searching for this message in RN's code I found [this commit](0cd3994f1a/),  introduced in React Native 0.58, which requires native modules to be annotated with @ReactModule  annotation. 🤔 
After adding the annotation to the module, tapping on a file input field no longer crashes the app (in fact it shows the file browser). 🎉 
I haven't had caught it previously, testing only against React Native 0.57, sorry! 😞 
For reference see similar fix in `react-native-gesture-handler` — https://github.com/kmagiera/react-native-gesture-handler/pull/295. 
Fixes https://github.com/react-native-community/react-native-webview/issues/458.  
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								30dc8b49a9
								
							 
						 
						
							chore(release): 5.4.5 [skip ci] 
							
							
## [5.4.5](https://github.com/react-native-community/react-native-webview/compare/v5.4.4...v5.4.5 ) (2019-03-27)
### Bug Fixes
* **types:** export WebViewProps for external use ([#457 ](https://github.com/react-native-community/react-native-webview/issues/457 )) ([ef709aa ](https://github.com/react-native-community/react-native-webview/commit/ ef709aa )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								ef709aa82b
								
							 
						 
						
							fix(types): export WebViewProps for external use (#457 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								59443a1093
								
							 
						 
						
							chore(release): 5.4.4 [skip ci] 
							
							
## [5.4.4](https://github.com/react-native-community/react-native-webview/compare/v5.4.3...v5.4.4 ) (2019-03-26)
### Bug Fixes
* **types:** make source html base URL optional ([a1e2368 ](https://github.com/react-native-community/react-native-webview/commit/ a1e2368 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								a1e23689d2
								
							 
						 
						
							fix(types): make source html base URL optional 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								0f9b770186
								
							 
						 
						
							Make WebViewSourceHtml.baseUrl optional (#454 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								f01618e11a
								
							 
						 
						
							chore(release): 5.4.3 [skip ci] 
							
							
## [5.4.3](https://github.com/react-native-community/react-native-webview/compare/v5.4.2...v5.4.3 ) (2019-03-26)
### Bug Fixes
* **typings:** incorrect package.json + fix d.ts([#453 ](https://github.com/react-native-community/react-native-webview/issues/453 )) ([e2adacc ](https://github.com/react-native-community/react-native-webview/commit/ e2adacc )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								e2adacc977
								
							 
						 
						
							fix(typings): incorrect package.json + fix d.ts(#453 ) 
							
							
* fix(typings): fix syntax of main d.ts file
* fix(typings): point typings field in package.json to actual d.ts file 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								dcc9d3f271
								
							 
						 
						
							chore(release): 5.4.2 [skip ci] 
							
							
## [5.4.2](https://github.com/react-native-community/react-native-webview/compare/v5.4.1...v5.4.2 ) (2019-03-21)
### Bug Fixes
* **types:** Add missing type definitions of the methods ([#442 ](https://github.com/react-native-community/react-native-webview/issues/442 )) ([54268ff ](https://github.com/react-native-community/react-native-webview/commit/ 54268ff )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								94bc15a06a
								
							 
						 
						
							chore(docs): add svbutko as a contributor (#443 ) 
							
							
Adds @svbutko  as a contributor for doc.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/442#issuecomment -475252579 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								54268ff469
								
							 
						 
						
							fix(types): Add missing type definitions of the methods (#442 ) 
							
							
Also made the exported component a class (to add methods) and made him extend Component instead of ComponentType. 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								c32f947362
								
							 
						 
						
							chore(release): 5.4.1 [skip ci] 
							
							
## [5.4.1](https://github.com/react-native-community/react-native-webview/compare/v5.4.0...v5.4.1 ) (2019-03-20)
### Bug Fixes
* **android:** Do not hold a strong reference to native module in the package ([#434 ](https://github.com/react-native-community/react-native-webview/issues/434 )) ([566a629 ](https://github.com/react-native-community/react-native-webview/commit/ 566a629 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								566a6292b4
								
							 
						 
						
							fix(android): Do not hold a strong reference to native module in the package (#434 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								15ae93428f
								
									
										
											
								
							 
						 
						
							Update Contributing.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								89865f2de3
								
									
										
											
								
							 
						 
						
							chore(docs): update readme 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								5166c612c8
								
							 
						 
						
							chore(release): 5.4.0 [skip ci] 
							
							
# [5.4.0](https://github.com/react-native-community/react-native-webview/compare/v5.3.1...v5.4.0 ) (2019-03-20)
### Features
* **typescript:** Source code rewrite using typescript ([#425 ](https://github.com/react-native-community/react-native-webview/issues/425 )) ([453b7dd ](https://github.com/react-native-community/react-native-webview/commit/ 453b7dd )), closes [#384 ](https://github.com/react-native-community/react-native-webview/issues/384 ) [#435 ](https://github.com/react-native-community/react-native-webview/issues/435 ) [#206 ](https://github.com/react-native-community/react-native-webview/issues/206 ) [#171 ](https://github.com/react-native-community/react-native-webview/issues/171 ) [#168 ](https://github.com/react-native-community/react-native-webview/issues/168 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								453b7dd3a0
								
									
										
											
								
							 
						 
						
							feat(typescript): Source code rewrite using typescript (#425 ) 
							
							
Rewrote the whole repository into typescript. This will provide way better and up to date documentation. This should also add some safety for people contributing 😄 .
Flow types were not working until now which is why this PR doesn't have them but feel free to PR.
This also fixes #384  #435  #206  #171  #168 . 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								e697dff1d0
								
							 
						 
						
							chore(format): Android project formatting (#433 ) 
							
							
Added an extremely simple `.editorconfig` I inferred from the main part of the project, then reformatted the codebase according to it. 🙂 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								0d3b1df2e3
								
							 
						 
						
							chore(release): 5.3.1 [skip ci] 
							
							
## [5.3.1](https://github.com/react-native-community/react-native-webview/compare/v5.3.0...v5.3.1 ) (2019-03-13)
### Bug Fixes
* **onShouldStartLoadWithRequest:** android event was missing fields ([#385 ](https://github.com/react-native-community/react-native-webview/issues/385 )) ([a25997b ](https://github.com/react-native-community/react-native-webview/commit/ a25997b )), closes [/github.com/react-native-community/react-native-webview/blob/master/js/WebViewTypes.js#L34](https://github.com//github.com/react-native-community/react-native-webview/blob/master/js/WebViewTypes.js/issues/L34 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								a25997bf65
								
							 
						 
						
							fix(onShouldStartLoadWithRequest): android event was missing fields (#385 ) 
							
							
`onShouldStartLoadWithRequest` event had only `url` in payload on android.
I've fixed it according to js event definition. 
https://github.com/react-native-community/react-native-webview/blob/master/js/WebViewTypes.js#L34  
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								455e22e3b3
								
							 
						 
						
							chore(release): 5.3.0 [skip ci] 
							
							
# [5.3.0](https://github.com/react-native-community/react-native-webview/compare/v5.2.5...v5.3.0 ) (2019-03-07)
### Features
* **WKWebView:** add prop `directionalLockEnabled` for iOS ([#389 ](https://github.com/react-native-community/react-native-webview/issues/389 )) ([08cc600 ](https://github.com/react-native-community/react-native-webview/commit/ 08cc600 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								4cbfc81195
								
							 
						 
						
							chore(docs): add CubeSugar as a contributor (#400 ) 
							
							
* docs: update README.md
* docs: update .all-contributorsrc 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								08cc600eb8
								
							 
						 
						
							feat(WKWebView): add prop `directionalLockEnabled` for iOS (#389 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								83f13c4ba3
								
							 
						 
						
							chore(release): 5.2.5 [skip ci] 
							
							
## [5.2.5](https://github.com/react-native-community/react-native-webview/compare/v5.2.4...v5.2.5 ) (2019-03-07)
### Bug Fixes
* **types:** add showScrollIndicator prop to type file ([#388 ](https://github.com/react-native-community/react-native-webview/issues/388 )) ([a364d3e ](https://github.com/react-native-community/react-native-webview/commit/ a364d3e ))
* **vulnerability:** merge issue ([#399 ](https://github.com/react-native-community/react-native-webview/issues/399 )) ([74a2086 ](https://github.com/react-native-community/react-native-webview/commit/ 74a2086 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								a364d3ed67
								
							 
						 
						
							fix(types): add showScrollIndicator prop to type file (#388 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								51cced8c65
								
							 
						 
						
							chore(docs): Add typescript definition for isFileUploadSupported (#393 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								ff32e34eb5
								
							 
						 
						
							chore(docs): Add multiple file upload selection in the docs (#382 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								74a20865b0
								
									
										
											
								
							 
						 
						
							fix(vulnerability): merge issue (#399 ) 
							
							
https://nvd.nist.gov/vuln/detail/CVE-2018-16469  
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								67eacd549e
								
							 
						 
						
							chore(ci): fix flow error and update TS type (#395 ) 
							
							
set related versions of react and react-native in devDependencies 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								2260690810
								
							 
						 
						
							chore(docs): Added guides for communication between React Native and web pages (#377 ) 
							
							
* Added guides for communication between React Native and web pages
* Updated Guide a bit 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								5e31885653
								
							 
						 
						
							chore(release): 5.2.4 [skip ci] 
							
							
## [5.2.4](https://github.com/react-native-community/react-native-webview/compare/v5.2.3...v5.2.4 ) (2019-03-01)
### Bug Fixes
* **WKWebView Scrolling:** fixed broken scroll ([#372 ](https://github.com/react-native-community/react-native-webview/issues/372 )) ([2cef5cb ](https://github.com/react-native-community/react-native-webview/commit/ 2cef5cb )), closes [#371 ](https://github.com/react-native-community/react-native-webview/issues/371 ) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								2cef5cbb3f
								
									
										
											
								
							 
						 
						
							fix(WKWebView Scrolling): fixed broken scroll (#372 ) 
							
							
fixes #371  
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								211ae18971
								
							 
						 
						
							chore(readme): Add getting started doc link (#370 ) 
							
							
The link was missing in the README for the getting started page, the square brackets were there though so looks like whoever wrote it just forgot to put the link there. 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								34b98de0bd
								
							 
						 
						
							chore(docs): Add API Examples in reference documentation (#329 ) 
							
							
* Add reference examples for:
- onError
- onNavigationStateChange
- originWhiteList
- renderError
- renderLoading
- onShouldStartLoadWithRequest
* Update to use jsx as code
Add properties of objects passed into methods
* Add examples for:
- onLoad
- onLoadEnd
- onLoadStart
- onLoadProgress
- style
* Add object descriptions, fix style issues, and remove onShouldStartLoad example
Object Descriptions for:
- onLoad
- onLoadEnd
- onLoadStart
- onLoadProgress
* Update Reference.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								d28071cf52
								
							 
						 
						
							chore(docs): Adds example for onShouldStartLoadWithRequest (#321 ) 
							
							
Per #320 , this adds an example for onShouldStartLoadWithRequest. 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								4ad7036733
								
							 
						 
						
							chore(docs): Adds guide for handling navigation state changes (#144 ) 
							
							
* Adds guide for handling navigation state changes
* Update Guide.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								2843237e07
								
									
										
											
								
							 
						 
						
							chore(docs): Updated readme.md (#368 ) 
							
							
* chore(docs): Updated readme.md
* Update README.md
* Update README.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								b150f987ea
								
									
										
											
								
							 
						 
						
							Update Getting-Started.md 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								440e7c8527
								
							 
						 
						
							chore(release): 5.2.3 [skip ci] 
							
							
## [5.2.3](https://github.com/react-native-community/react-native-webview/compare/v5.2.2...v5.2.3 ) (2019-02-28)
### Bug Fixes
* **Android <input />:** Support file extensions in file input accept attributes ([#357 ](https://github.com/react-native-community/react-native-webview/issues/357 )) ([803a3b0 ](https://github.com/react-native-community/react-native-webview/commit/ 803a3b0 )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								803a3b095b
								
							 
						 
						
							fix(Android <input />): Support file extensions in file input accept attributes (#357 ) 
							
							
The current implementation doesn't support a list of file extensions in the accept attribute (e.g. `<input type="file" accept=".jpg, .png">`) while that is a valid value per the HTML spec. I've updated the implementation to convert any file extensions to mime types before we set the type(s) on the intent to rectify the issue. In addition I've updated the `acceptsImages` and `acceptsVideo` methods to handle file extensions as well. 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								8217cb5503
								
							 
						 
						
							chore(docs): Update Reference.md (#359 ) 
							
							
I was able to fix a bug with videos loaded from Azure that wouldn't start unless I set that prop to `false` 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								7dc875e056
								
							 
						 
						
							chore(release): 5.2.2 [skip ci] 
							
							
## [5.2.2](https://github.com/react-native-community/react-native-webview/compare/v5.2.1...v5.2.2 ) (2019-02-28)
### Bug Fixes
* **android:scalesPageToFit:** scalesPageToFit does not work as intended , especially for large jpg and png images. ([#275 ](https://github.com/react-native-community/react-native-webview/issues/275 )) ([a661df1 ](https://github.com/react-native-community/react-native-webview/commit/ a661df1 )), closes [#113 ](https://github.com/react-native-community/react-native-webview/issues/113 )
* **WKWebview Scroll:** Don't allow the scrollView to scroll when `scrollEnabled={false}`. ([#158 ](https://github.com/react-native-community/react-native-webview/issues/158 )) ([0e6e92a ](https://github.com/react-native-community/react-native-webview/commit/ 0e6e92a )) 
							
							
						 
						6 vuotta sitten  
				
					
						
							
								 
						
							
								a661df1ffc
								
							 
						 
						
							fix(android:scalesPageToFit): scalesPageToFit does not work as intended , especially for large jpg and png images. (#275 ) 
							
							
fixes #113 
- One can verify that this for jpg images loaded on the webview (eg: https://www.ecda.gov.sg/growatbeanstalk/PublishingImages/READ%20Publications%20and%20Research/Parent%20Infographic%20Series/Infographic%204.jpg )
- This is a replication of the pull request that was originally made in the react-native repo (https://github.com/facebook/react-native/pull/17195 ), but was not merged in due to no reviews. 
							
							
						 
						6 vuotta sitten