Marco
4947358a0a
chore(readme): update in regards to #101 ( #336 )
2019-02-12 14:18:39 +01:00
semantic-release-bot
0761f6f105
chore(release): 5.1.0 [skip ci]
...
# [5.1.0](https://github.com/react-native-community/react-native-webview/compare/v5.0.8...v5.1.0 ) (2019-02-12)
### Features
* **wkwebview:** create api to allow clients to present a client credential for authentication ([#141 ](https://github.com/react-native-community/react-native-webview/issues/141 )) ([fc5fd24
](https://github.com/react-native-community/react-native-webview/commit/fc5fd24 ))
2019-02-12 09:37:15 +00:00
Maosen Jason Hu
fc5fd242e2
feat(wkwebview): create api to allow clients to present a client credential for authentication ( #141 )
...
* In order for TLS Mutual Auth to work for webviews, the caller must present a credential. Expose a setter that can be called to set a credential.
2019-02-12 10:35:14 +01:00
semantic-release-bot
f0e36338ab
chore(release): 5.0.8 [skip ci]
...
## [5.0.8](https://github.com/react-native-community/react-native-webview/compare/v5.0.7...v5.0.8 ) (2019-02-11)
### Bug Fixes
* **types:** Add new cacheEnabled prop to typescript prop type declarations ([#335 ](https://github.com/react-native-community/react-native-webview/issues/335 )) ([ff62c95
](https://github.com/react-native-community/react-native-webview/commit/ff62c95 ))
2019-02-11 21:53:21 +00:00
Thea Lanherne
ff62c956e3
fix(types): Add new cacheEnabled prop to typescript prop type declarations ( #335 )
2019-02-11 22:51:44 +01:00
Momazo7u7
80efc3155c
chore(docs): Deleted onShouldStartLoadWithRequest platform reference ( #317 )
...
* Deleted onShouldStartLoadWithRequest platform reference
according to b1b662628e
it's supported on android and Ios so no platfor reference is needed
* Deleted onShouldStartLoadWithRequest platform reference
Now with added note
2019-02-08 12:31:17 +01:00
allcontributors[bot]
38663758f7
chore(docs): add Momazo7u7 as a contributor ( #328 )
...
* docs: update README.md
* docs: update .all-contributorsrc
2019-02-08 12:31:02 +01:00
semantic-release-bot
ddd6efd77b
chore(release): 5.0.7 [skip ci]
...
## [5.0.7](https://github.com/react-native-community/react-native-webview/compare/v5.0.6...v5.0.7 ) (2019-02-08)
### Bug Fixes
* **package.json:** Warning because peerDependencies >=0.57 <0.59 ([#279 ](https://github.com/react-native-community/react-native-webview/issues/279 )) ([#327 ](https://github.com/react-native-community/react-native-webview/issues/327 )) ([46286b2
](https://github.com/react-native-community/react-native-webview/commit/46286b2 ))
2019-02-08 11:28:56 +00:00
Kou
46286b2723
fix(package.json): Warning because peerDependencies >=0.57 <0.59 ( #279 ) ( #327 )
2019-02-08 12:27:07 +01:00
semantic-release-bot
3497ae9411
chore(release): 5.0.6 [skip ci]
...
## [5.0.6](https://github.com/react-native-community/react-native-webview/compare/v5.0.5...v5.0.6 ) (2019-02-06)
### Bug Fixes
* **WKWebView.m:** Reapplied [#134 ](https://github.com/react-native-community/react-native-webview/issues/134 ) with additional checks to tackle unintentional scrolls ([#296 ](https://github.com/react-native-community/react-native-webview/issues/296 )) ([3f58b0e
](https://github.com/react-native-community/react-native-webview/commit/3f58b0e ))
2019-02-06 14:32:01 +00:00
Alexander Stammbach
3f58b0e597
fix(WKWebView.m): Reapplied #134 with additional checks to tackle unintentional scrolls ( #296 )
2019-02-06 15:29:59 +01:00
semantic-release-bot
a76e0ae811
chore(release): 5.0.5 [skip ci]
...
## [5.0.5](https://github.com/react-native-community/react-native-webview/compare/v5.0.4...v5.0.5 ) (2019-02-05)
### Bug Fixes
* **iOS/android getViewManagerConfig:** Fix crash with react-native < 0.58 ([263fc5e
](https://github.com/react-native-community/react-native-webview/commit/263fc5e ))
2019-02-05 14:59:05 +00:00
Thibault Malbranche
54848de8f5
Merge branch 'master' of https://github.com/react-native-community/react-native-webview
2019-02-05 15:57:13 +01:00
Thibault Malbranche
6c26a892b4
updated type for ViewManagerName
2019-02-05 15:56:34 +01:00
Thibault Malbranche
5000bde5fd
Update README.md
2019-02-05 15:51:16 +01:00
Thibault Malbranche
263fc5ec3c
fix(iOS/android getViewManagerConfig): Fix crash with react-native < 0.58
2019-02-05 15:50:40 +01:00
Thibault Malbranche
a4c6f210cf
Update README.md
2019-02-05 15:15:02 +01:00
semantic-release-bot
0fe45de879
chore(release): 5.0.4 [skip ci]
...
## [5.0.4](https://github.com/react-native-community/react-native-webview/compare/v5.0.3...v5.0.4 ) (2019-02-04)
### Bug Fixes
* **UIWebview:** Deprecate UIWebView and add link to issue ([#313 ](https://github.com/react-native-community/react-native-webview/issues/313 )) ([4c80240
](https://github.com/react-native-community/react-native-webview/commit/4c80240 ))
2019-02-04 18:00:23 +00:00
Thibault Malbranche
4c8024047b
fix(UIWebview): Deprecate UIWebView and add link to issue ( #313 )
...
* Update WebView.ios.js
* Update WebView.ios.js
2019-02-04 18:58:48 +01:00
semantic-release-bot
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 ))
2019-02-04 13:14:47 +00:00
Thibault Malbranche
4a4ccd8141
fix(android/iOS): Fixed react-native 0.58 warnings ( #311 )
2019-02-04 14:13:14 +01:00
allcontributors[bot]
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 )
2019-02-03 19:52:18 +01:00
semantic-release-bot
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 )
2019-02-03 18:47:33 +00:00
Malcolm Scruggs
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
2019-02-03 19:45:58 +01:00
allcontributors[bot]
20d5cf06a8
chore(docs): add jordansexton as a contributor ( #305 )
...
* docs: update README.md
* docs: update .all-contributorsrc
2019-02-02 07:24:29 +01:00
semantic-release-bot
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 )
2019-02-01 21:05:40 +00:00
Thibault Malbranche
d5fc028383
fix(PostMessage): Renamed ReactNativeWebview to ReactNativeWebView
...
fixes #304
2019-02-01 22:04:11 +01:00
Thibault Malbranche
e4b851e01a
Update Reference.md
2019-02-01 19:14:07 +01:00
semantic-release-bot
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!
2019-02-01 17:38:54 +00:00
Thibault Malbranche
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!
2019-02-01 18:37:28 +01:00
semantic-release-bot
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 )
2019-02-01 01:19:38 +00:00
Benjos Antony
6643a8e38d
feat(WKwebview): Allow _target links to be opened up in the same way as UIWebView. ( #270 )
...
Fixes #139
2019-02-01 02:18:02 +01:00
Thibault Malbranche
bf3f790358
chore(readme): Updated linking steps
2019-01-31 16:32:14 +01:00
semantic-release-bot
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.
2019-01-30 09:34:23 +00:00
Michael Diarmid
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.
2019-01-30 10:32:46 +01:00
dkbuntzen
de4130c7d8
chore(readme): Updated emoji key link in Readme.md 🧐 ( #289 )
...
Just a minor correction of the anchor link in Readme file.
2019-01-30 09:52:44 +01:00
semantic-release-bot
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 )
2019-01-29 09:07:15 +00:00
Marcin Ochyra
15d904f769
fix(android): Fix Download on android P ( #273 )
...
Fixes #266 .
Now downloading works on Motorola Moto One with Android 9.
2019-01-29 10:05:25 +01:00
semantic-release-bot
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 ))
2019-01-23 00:59:21 +00:00
Thibault Malbranche
2846e27fcf
fix(Gradle): Allow kotlinVersion override using ext with gradle.properties ( #267 )
...
You can now override kotlin version by defining ext kotlinVersion
2019-01-23 01:58:27 +01:00
allcontributors[bot]
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 )
2019-01-22 11:15:22 +01:00
semantic-release-bot
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 ))
2019-01-22 09:22:43 +00:00
Margaret
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
2019-01-22 10:21:10 +01:00
Thibault Malbranche
05f20862d6
Update README.md
2019-01-21 17:09:44 +01:00
allcontributors[bot]
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 )
2019-01-18 18:09:24 +01:00
allcontributors[bot]
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 )
2019-01-18 18:07:26 +01:00
allcontributors[bot]
9a89a5dc4e
chore(readme): add andreipfeiffer as a contributor ( #256 )
...
* docs: update README.md
* docs: update .all-contributorsrc
2019-01-18 18:04:36 +01:00
Thibault Malbranche
c06e25b437
Update .all-contributorsrc
2019-01-18 18:02:26 +01:00
allcontributors[bot]
44a63c29cb
chore(readme): add jamonholmgren as a contributor ( #255 )
...
* docs: update README.md
* docs: update .all-contributorsrc
* Update .all-contributorsrc
2019-01-18 17:56:34 +01:00
allcontributors[bot]
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 )
2019-01-18 17:48:06 +01:00