4c8024047b
								
									
										
											
								
							 
						 
						
							fix(UIWebview): Deprecate UIWebView and add link to issue (#313 ) 
							
							
* Update WebView.ios.js
* Update WebView.ios.js 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								0535c04c11
								
							 
						 
						
							chore(release): 5.0.3 [skip ci] 
							
							
## [5.0.3](https://github.com/react-native-community/react-native-webview/compare/v5.0.2...v5.0.3 ) (2019-02-04)
### Bug Fixes
* **android/iOS:** Fixed react-native 0.58 warnings ([#311 ](https://github.com/react-native-community/react-native-webview/issues/311 )) ([4a4ccd8 ](https://github.com/react-native-community/react-native-webview/commit/ 4a4ccd8 )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								4a4ccd8141
								
									
										
											
								
							 
						 
						
							fix(android/iOS): Fixed react-native 0.58 warnings (#311 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								305172764b
								
							 
						 
						
							chore(docs): add MalcolmScruggs as a contributor (#308 ) 
							
							
Adds @MalcolmScruggs  as a contributor for code, tool, test.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/293#issuecomment -460077647 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								49b44284ce
								
							 
						 
						
							chore(release): 5.0.2 [skip ci] 
							
							
## [5.0.2](https://github.com/react-native-community/react-native-webview/compare/v5.0.1...v5.0.2 ) (2019-02-03)
### Bug Fixes
* **webviewShared.js:** Support all valid URI schemes and add testing ([#293 ](https://github.com/react-native-community/react-native-webview/issues/293 )) ([fb78d13 ](https://github.com/react-native-community/react-native-webview/commit/ fb78d13 )), closes [/tools.ietf.org/html/rfc3986#section-3](https://github.com//tools.ietf.org/html/rfc3986/issues/section-3 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								fb78d13120
								
							 
						 
						
							fix(webviewShared.js): Support all valid URI schemes and add testing (#293 ) 
							
							
* Change origin whitelist to allow for all valid URIs
- Now supports +, -, and .
- Prevent whitelist from matching when preceded by unwanted characters
- URI must begin with letter
- URI Scheme syntax: https://tools.ietf.org/html/rfc3986#section -3.1
* Add jest testing framework and run it on CI
* Add tests for WebViewShared's createOnShouldStartLoadWithRequest 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								20d5cf06a8
								
							 
						 
						
							chore(docs): add jordansexton as a contributor (#305 ) 
							
							
* docs: update README.md
* docs: update .all-contributorsrc 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								b3a07b22b3
								
							 
						 
						
							chore(release): 5.0.1 [skip ci] 
							
							
## [5.0.1](https://github.com/react-native-community/react-native-webview/compare/v5.0.0...v5.0.1 ) (2019-02-01)
### Bug Fixes
* **PostMessage:** Renamed ReactNativeWebview to ReactNativeWebView ([d5fc028 ](https://github.com/react-native-community/react-native-webview/commit/ d5fc028 )), closes [#304 ](https://github.com/react-native-community/react-native-webview/issues/304 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								d5fc028383
								
							 
						 
						
							fix(PostMessage): Renamed ReactNativeWebview to ReactNativeWebView 
							
							
fixes #304  
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								e4b851e01a
								
									
										
											
								
							 
						 
						
							Update Reference.md 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								2d80402d9f
								
							 
						 
						
							chore(release): 5.0.0 [skip ci] 
							
							
# [5.0.0](https://github.com/react-native-community/react-native-webview/compare/v4.1.0...v5.0.0 ) (2019-02-01)
### Features
* **Android/iOS postMessage:** refactoring the old postMessage implementation ([#303 ](https://github.com/react-native-community/react-native-webview/issues/303 )) ([f3bdab5 ](https://github.com/react-native-community/react-native-webview/commit/ f3bdab5 )), closes [#29 ](https://github.com/react-native-community/react-native-webview/issues/29 ) [#272 ](https://github.com/react-native-community/react-native-webview/issues/272 ) [#221 ](https://github.com/react-native-community/react-native-webview/issues/221 ) [#105 ](https://github.com/react-native-community/react-native-webview/issues/105 ) [#66 ](https://github.com/react-native-community/react-native-webview/issues/66 )
### BREAKING CHANGES
* **Android/iOS postMessage:** Communication from webview to react-native has been completely rewritten. React-native-webview will not use or override window.postMessage anymore. Reasons behind these changes can be found throughout so many issues that it made sense to go that way.
Instead of using window.postMessage(data, *), please now use window.ReactNativeWebView.postMessage(data).
Side note: if you wish to keep compatibility with the old version when you upgrade, you can use the injectedJavascript prop to do that:
const injectedJavascript = `(function() {
  window.postMessage = function(data) {
    window.ReactNativeWebView.postMessage(data);
  };
})()`;
Huge thanks to @jordansexton  and @KoenLav ! 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								f3bdab5a22
								
									
										
											
								
							 
						 
						
							feat(Android/iOS postMessage): refactoring the old postMessage implementation (#303 ) 
							
							
fixes #29 
fixes #272 
fixes #221 
fixes #105 
fixes #66 
BREAKING CHANGE: Communication from webview to react-native has been completely rewritten. React-native-webview will not use or override window.postMessage anymore. Reasons behind these changes can be found throughout so many issues that it made sense to go that way.
Instead of using window.postMessage(data, *), please now use window.ReactNativeWebView.postMessage(data).
Side note: if you wish to keep compatibility with the old version when you upgrade, you can use the injectedJavascript prop to do that:
const injectedJavascript = `(function() {
  window.postMessage = function(data) {
    window.ReactNativeWebView.postMessage(data);
  };
})()`;
Huge thanks to @jordansexton  and @KoenLav ! 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								79afbd697d
								
							 
						 
						
							chore(release): 4.1.0 [skip ci] 
							
							
# [4.1.0](https://github.com/react-native-community/react-native-webview/compare/v4.0.0...v4.1.0 ) (2019-02-01)
### Features
* **WKwebview:** Allow _target links to be opened up in the same way as UIWebView. ([#270 ](https://github.com/react-native-community/react-native-webview/issues/270 )) ([6643a8e ](https://github.com/react-native-community/react-native-webview/commit/ 6643a8e )), closes [#139 ](https://github.com/react-native-community/react-native-webview/issues/139 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								6643a8e38d
								
							 
						 
						
							feat(WKwebview): Allow _target links to be opened up in the same way as UIWebView. (#270 ) 
							
							
Fixes #139  
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								bf3f790358
								
									
										
											
								
							 
						 
						
							chore(readme): Updated linking steps 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								27b6804ee7
								
							 
						 
						
							chore(release): 4.0.0 [skip ci] 
							
							
# [4.0.0](https://github.com/react-native-community/react-native-webview/compare/v3.2.2...v4.0.0 ) (2019-01-30)
### Features
* **iOS/Android:** Add `cacheEnabled` prop ([#152 ](https://github.com/react-native-community/react-native-webview/issues/152 )) ([83ce79f ](https://github.com/react-native-community/react-native-webview/commit/ 83ce79f ))
### BREAKING CHANGES
* **iOS/Android:** This change makes caching enabled by default when previously there was no caching behavior which may cause unexpected behaviour changes in your existing implementations. 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								83ce79ff89
								
							 
						 
						
							feat(iOS/Android): Add `cacheEnabled` prop (#152 ) 
							
							
Added a new cacheEnabled prop to toggle Android & iOS webview caching behavior.
BREAKING CHANGE:  This change makes caching enabled by default when previously there was no caching behavior which may cause unexpected behaviour changes in your existing implementations. 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								de4130c7d8
								
							 
						 
						
							chore(readme): Updated emoji key link in Readme.md 🧐 (#289 ) 
							
							
Just a minor correction of the anchor link in Readme file. 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								7e9592c08b
								
							 
						 
						
							chore(release): 3.2.2 [skip ci] 
							
							
## [3.2.2](https://github.com/react-native-community/react-native-webview/compare/v3.2.1...v3.2.2 ) (2019-01-29)
### Bug Fixes
* **android:** Fix Download on android P  ([#273 ](https://github.com/react-native-community/react-native-webview/issues/273 )) ([15d904f ](https://github.com/react-native-community/react-native-webview/commit/ 15d904f )), closes [#266 ](https://github.com/react-native-community/react-native-webview/issues/266 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								15d904f769
								
							 
						 
						
							fix(android): Fix Download on android P  (#273 ) 
							
							
Fixes #266 . 
Now downloading works on Motorola Moto One with Android 9. 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								c518f716c6
								
							 
						 
						
							chore(release): 3.2.1 [skip ci] 
							
							
## [3.2.1](https://github.com/react-native-community/react-native-webview/compare/v3.2.0...v3.2.1 ) (2019-01-23)
### Bug Fixes
* **Gradle:** Allow kotlinVersion override using ext with gradle.properties ([#267 ](https://github.com/react-native-community/react-native-webview/issues/267 )) ([2846e27 ](https://github.com/react-native-community/react-native-webview/commit/ 2846e27 )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								2846e27fcf
								
									
										
											
								
							 
						 
						
							fix(Gradle): Allow kotlinVersion override using ext with gradle.properties (#267 ) 
							
							
You can now override kotlin version by defining ext kotlinVersion 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								0fdd51de0e
								
							 
						 
						
							chore(readme): add YangXiaomei as a contributor (#268 ) 
							
							
Adds @YangXiaomei  as a contributor for code, doc.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/265#issuecomment -456327682 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								1f80927c38
								
							 
						 
						
							chore(release): 3.2.0 [skip ci] 
							
							
# [3.2.0](https://github.com/react-native-community/react-native-webview/compare/v3.1.3...v3.2.0 ) (2019-01-22)
### Features
* **android props:** Add `androidHardwareAccelerationDisabled` prop ([#265 ](https://github.com/react-native-community/react-native-webview/issues/265 )) ([d3fc5e6 ](https://github.com/react-native-community/react-native-webview/commit/ d3fc5e6 )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								d3fc5e6cde
								
							 
						 
						
							feat(android props): Add `androidHardwareAccelerationDisabled` prop (#265 ) 
							
							
* add test code for disable hardware acceleration
* add interface to disable android hardware acceleration
* Update index.d.ts 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								05f20862d6
								
									
										
											
								
							 
						 
						
							Update README.md 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								ac59610f55
								
							 
						 
						
							chore(readme): add smathson as a contributor (#258 ) 
							
							
Adds @smathson  as a contributor for code, doc.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/203#issuecomment -455618880 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								73ff31f0d9
								
							 
						 
						
							chore(readme): add Salakar as a contributor (#257 ) 
							
							
Adds @Salakar  as a contributor for code, review, ideas, tool.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/164#issuecomment -455618092 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								9a89a5dc4e
								
							 
						 
						
							chore(readme): add andreipfeiffer as a contributor (#256 ) 
							
							
* docs: update README.md
* docs: update .all-contributorsrc 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								c06e25b437
								
									
										
											
								
							 
						 
						
							Update .all-contributorsrc 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								44a63c29cb
								
							 
						 
						
							chore(readme): add jamonholmgren as a contributor (#255 ) 
							
							
* docs: update README.md
* docs: update .all-contributorsrc
* Update .all-contributorsrc 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								93a8928ce0
								
							 
						 
						
							chore(readme): Setup all-contributors (#254 ) 
							
							
Adds @titozzz  as a contributor for code, ideas, review, maintenance, test, doc, infra.
This was requested by Titozzz [in this comment](https://github.com/react-native-community/react-native-webview/pull/253#issuecomment -455609852 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								2e7960b19d
								
							 
						 
						
							chore(release): 3.1.3 [skip ci] 
							
							
## [3.1.3](https://github.com/react-native-community/react-native-webview/compare/v3.1.2...v3.1.3 ) (2019-01-18)
### Bug Fixes
* **gradle:** Add support library as a dependency ([#253 ](https://github.com/react-native-community/react-native-webview/issues/253 )) ([5180033 ](https://github.com/react-native-community/react-native-webview/commit/ 5180033 )), closes [#174 ](https://github.com/react-native-community/react-native-webview/issues/174 ) [#184 ](https://github.com/react-native-community/react-native-webview/issues/184 ) [#245 ](https://github.com/react-native-community/react-native-webview/issues/245 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								518003392a
								
									
										
											
								
							 
						 
						
							fix(gradle): Add support library as a dependency (#253 ) 
							
							
fixes #174  
fixes #184  
fixes #245  
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								245120df0c
								
							 
						 
						
							Fix typo in Reference.md (#252 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								cf039a550b
								
							 
						 
						
							chore(release): 3.1.2 [skip ci] 
							
							
## [3.1.2](https://github.com/react-native-community/react-native-webview/compare/v3.1.1...v3.1.2 ) (2019-01-11)
### Bug Fixes
* **WKWebview:** Update webview property when allowsBackForwardNavigationGestures prop changes ([#173 ](https://github.com/react-native-community/react-native-webview/issues/173 )) ([4bc1dc2 ](https://github.com/react-native-community/react-native-webview/commit/ 4bc1dc2 )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								4bc1dc20fd
								
							 
						 
						
							fix(WKWebview): Update webview property when allowsBackForwardNavigationGestures prop changes (#173 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								ac406bf66f
								
							 
						 
						
							chore(release): 3.1.1 [skip ci] 
							
							
## [3.1.1](https://github.com/react-native-community/react-native-webview/compare/v3.1.0...v3.1.1 ) (2019-01-11)
### Bug Fixes
* **WKWebView:** Add "Frame load interrupted" error handling for OAuth ([#147 ](https://github.com/react-native-community/react-native-webview/issues/147 )) ([6f61224 ](https://github.com/react-native-community/react-native-webview/commit/ 6f61224 )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								6f612242fe
								
							 
						 
						
							fix(WKWebView): Add "Frame load interrupted" error handling for OAuth (#147 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								c9a777bdfb
								
							 
						 
						
							chore(release): 3.1.0 [skip ci] 
							
							
# [3.1.0](https://github.com/react-native-community/react-native-webview/compare/v3.0.3...v3.1.0 ) (2019-01-11)
### Features
* **WKWebview:** Add incognito prop to iOS WKWebview ([62f871c ](https://github.com/react-native-community/react-native-webview/commit/ 62f871c )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								62f871c186
								
							 
						 
						
							feat(WKWebview): Add incognito prop to iOS WKWebview 
							
							
Allows the webview to be opened with an ephemeral data storage. 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								6d64db99ec
								
							 
						 
						
							chore(release): 3.0.3 [skip ci] 
							
							
## [3.0.3](https://github.com/react-native-community/react-native-webview/compare/v3.0.2...v3.0.3 ) (2019-01-11)
### Bug Fixes
* **android:** Blank screen due to missing super() call in RNCWebViewManager.java ([#241 ](https://github.com/react-native-community/react-native-webview/issues/241 )) ([4e1d113 ](https://github.com/react-native-community/react-native-webview/commit/ 4e1d113 )), closes [#240 ](https://github.com/react-native-community/react-native-webview/issues/240 ) [#224 ](https://github.com/react-native-community/react-native-webview/issues/224 ) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								4e1d113c70
								
									
										
											
								
							 
						 
						
							fix(android): Blank screen due to missing super() call in RNCWebViewManager.java (#241 ) 
							
							
fixes #240  #224  
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								09a9e57b71
								
							 
						 
						
							chore(release): 3.0.2 [skip ci] 
							
							
## [3.0.2](https://github.com/react-native-community/react-native-webview/compare/v3.0.1...v3.0.2 ) (2019-01-10)
### Bug Fixes
* **android:** replace deprecated `WebView.PictureListener`->`onContentSizeChange` impl ([#164 ](https://github.com/react-native-community/react-native-webview/issues/164 )) ([9014c4c ](https://github.com/react-native-community/react-native-webview/commit/ 9014c4c )) 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								9014c4cac0
								
							 
						 
						
							fix(android): replace deprecated `WebView.PictureListener`->`onContentSizeChange` impl (#164 ) 
							
							
* [android] replace deprecated `WebView.PictureListener` onSizeChanged implementation
* [android] use pre-provided w/h values 
							
							
						 
						6 年 前  
				
					
						
							
								 
						
							
								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 年 前  
				
					
						
							
								 
						
							
								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 年 前  
				
					
						
							
								 
						
							
								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 年 前  
				
					
						
							
								 
						
							
								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 年 前  
				
					
						
							
								 
						
							
								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 年 前