semantic-release-bot
4894e4836d
chore(release): 5.7.1 [skip ci]
...
## [5.7.1](https://github.com/react-native-community/react-native-webview/compare/v5.7.0...v5.7.1 ) (2019-04-23)
### Bug Fixes
* **WKWebView:** iOS crash when WebView's title is nil ([#521 ](https://github.com/react-native-community/react-native-webview/issues/521 )) ([7a91221
](https://github.com/react-native-community/react-native-webview/commit/7a91221 ))
2019-04-23 09:17:41 +00:00
TMomemt
7a91221926
fix(WKWebView): iOS crash when WebView's title is nil ( #521 )
2019-04-23 11:16:04 +02:00
Thibault Malbranche
24be864ceb
chore(github): Update issue templates
2019-04-20 13:52:34 +02:00
semantic-release-bot
b078c1d553
chore(release): 5.7.0 [skip ci]
...
# [5.7.0](https://github.com/react-native-community/react-native-webview/compare/v5.6.3...v5.7.0 ) (2019-04-15)
### Features
* **iOS cookies:** implement sharedCookiesEnabled prop for iOS RNCWKWebView ([#175 ](https://github.com/react-native-community/react-native-webview/issues/175 )) ([cdbfc19
](https://github.com/react-native-community/react-native-webview/commit/cdbfc19 ))
2019-04-15 08:21:15 +00:00
SebiVPS
cdbfc19cd2
feat(iOS cookies): implement sharedCookiesEnabled prop for iOS RNCWKWebView ( #175 )
...
We had the problem on iOS WebViews that local cookies (stored in local HTTPCookieStorage, set with [react-native-cookie](https://github.com/shimohq/react-native-cookie ) ) were not added in loadRequests. On Android the local stored cookies were sent like expected.
This kinda "hacky" solution is the only way we found, that works for us.
The stack overview link is in the code below.
If someone finds a better solution we would very much like to accept that.
2019-04-15 10:19:10 +02:00
semantic-release-bot
a9c00faf37
chore(release): 5.6.3 [skip ci]
...
## [5.6.3](https://github.com/react-native-community/react-native-webview/compare/v5.6.2...v5.6.3 ) (2019-04-15)
### Bug Fixes
* **android:** updating source.html prop doesn't refresh webview ([#485 ](https://github.com/react-native-community/react-native-webview/issues/485 )) ([9aa14f1
](https://github.com/react-native-community/react-native-webview/commit/9aa14f1 ))
2019-04-15 07:59:39 +00:00
Scott Beca
9aa14f1a96
fix(android): updating source.html prop doesn't refresh webview ( #485 )
2019-04-15 09:56:45 +02:00
Jamon Holmgren
0beeaa3fd4
chore(docs): added version badge 💯
2019-04-15 09:53:50 +02:00
Malcolm Scruggs
ee3a7c4d34
chore(docs): Remove duplicate example of onShouldStartLoadWithRequest ( #479 )
2019-04-05 00:41:45 +02:00
semantic-release-bot
73d7335d8c
chore(release): 5.6.2 [skip ci]
...
## [5.6.2](https://github.com/react-native-community/react-native-webview/compare/v5.6.1...v5.6.2 ) (2019-04-04)
### Bug Fixes
* **styles:** Removes hard-coded container white backgroundColor ([#478 ](https://github.com/react-native-community/react-native-webview/issues/478 )) ([5ec74ea
](https://github.com/react-native-community/react-native-webview/commit/5ec74ea )), closes [#475 ](https://github.com/react-native-community/react-native-webview/issues/475 ) [#472 ](https://github.com/react-native-community/react-native-webview/issues/472 )
2019-04-04 17:46:15 +00:00
Max Schmeling
5ec74ea9bb
fix(styles): Removes hard-coded container white backgroundColor ( #478 )
...
Fixes #475
#472 added a `backgroundColor` of `white` to the `container` style which broke the ability to set a `transparent` background color on the `WebView` component. This simply removes that unnecessary style.
2019-04-04 19:44:01 +02:00
semantic-release-bot
934199d2d5
chore(release): 5.6.1 [skip ci]
...
## [5.6.1](https://github.com/react-native-community/react-native-webview/compare/v5.6.0...v5.6.1 ) (2019-04-03)
### Bug Fixes
* **styles:** removed unneeded display: 'none' ([91eb7ce
](https://github.com/react-native-community/react-native-webview/commit/91eb7ce )), closes [#473 ](https://github.com/react-native-community/react-native-webview/issues/473 )
2019-04-03 08:22:15 +00:00
Thibault Malbranche
91eb7ce3d1
fix(styles): removed unneeded display: 'none'
...
fixes #473
2019-04-03 10:19:43 +02:00
semantic-release-bot
8206762e2d
chore(release): 5.6.0 [skip ci]
...
# [5.6.0](https://github.com/react-native-community/react-native-webview/compare/v5.5.1...v5.6.0 ) (2019-04-02)
### Features
* **android:** fix overflow issues and match iOS default renders ([#472 ](https://github.com/react-native-community/react-native-webview/issues/472 )) ([319a86e
](https://github.com/react-native-community/react-native-webview/commit/319a86e )), closes [#466 ](https://github.com/react-native-community/react-native-webview/issues/466 ) [#194 ](https://github.com/react-native-community/react-native-webview/issues/194 )
2019-04-02 14:07:29 +00:00
Thibault Malbranche
319a86e236
feat(android): fix overflow issues and match iOS default renders ( #472 )
...
fixes #466 #194
* feat(android): fix overflow issues and match iOS default render error and loading behaviour
* Use babel preset typescript through react-native instead of ts-jest
* Update yarn.lock
* Update README.md
2019-04-02 16:05:56 +02:00
semantic-release-bot
cec9019053
chore(release): 5.5.1 [skip ci]
...
## [5.5.1](https://github.com/react-native-community/react-native-webview/compare/v5.5.0...v5.5.1 ) (2019-04-02)
### Bug Fixes
* **iOS WKWebView:** fixed local html files loading on real devices ([#403 ](https://github.com/react-native-community/react-native-webview/issues/403 )) ([9c9b7d7
](https://github.com/react-native-community/react-native-webview/commit/9c9b7d7 ))
2019-04-02 13:47:31 +00:00
jimerino
9c9b7d721a
fix(iOS WKWebView): fixed local html files loading on real devices ( #403 )
2019-04-02 15:46:00 +02:00
semantic-release-bot
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 ))
2019-03-28 08:54:15 +00:00
mr.sadvit
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}
/>
`
2019-03-28 09:52:18 +01:00
semantic-release-bot
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 ))
2019-03-27 09:54:37 +00:00
Stanisław Chmiela
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 .
2019-03-27 10:52:36 +01:00
semantic-release-bot
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 ))
2019-03-27 08:27:45 +00:00
James Cleveland
ef709aa82b
fix(types): export WebViewProps for external use ( #457 )
2019-03-27 09:25:59 +01:00
semantic-release-bot
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 ))
2019-03-26 10:12:57 +00:00
Thibault Malbranche
a1e23689d2
fix(types): make source html base URL optional
2019-03-26 11:10:18 +01:00
Scott Beca
0f9b770186
Make WebViewSourceHtml.baseUrl optional ( #454 )
2019-03-26 11:07:51 +01:00
semantic-release-bot
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 ))
2019-03-26 00:33:28 +00:00
Vladimir Timofeev
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
2019-03-26 01:31:50 +01:00
semantic-release-bot
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 ))
2019-03-21 14:33:17 +00:00
allcontributors[bot]
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 )
2019-03-21 14:31:14 +00:00
Sergei Butko
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.
2019-03-21 14:29:57 +00:00
semantic-release-bot
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 ))
2019-03-20 13:06:27 +00:00
Stanisław Chmiela
566a6292b4
fix(android): Do not hold a strong reference to native module in the package ( #434 )
2019-03-20 13:04:47 +00:00
Thibault Malbranche
15ae93428f
Update Contributing.md
2019-03-20 12:58:43 +00:00
Thibault Malbranche
89865f2de3
chore(docs): update readme
2019-03-20 12:55:59 +00:00
semantic-release-bot
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 )
2019-03-20 12:36:49 +00:00
Thibault Malbranche
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 .
2019-03-20 12:35:13 +00:00
Stanisław Chmiela
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. 🙂
2019-03-19 14:42:47 +00:00
semantic-release-bot
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 )
2019-03-13 15:23:14 +00:00
Stanislav Shakirov
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
2019-03-13 16:21:25 +01:00
semantic-release-bot
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 ))
2019-03-07 09:29:19 +00:00
allcontributors[bot]
4cbfc81195
chore(docs): add CubeSugar as a contributor ( #400 )
...
* docs: update README.md
* docs: update .all-contributorsrc
2019-03-07 10:27:45 +01:00
Jian Wei
08cc600eb8
feat(WKWebView): add prop `directionalLockEnabled` for iOS ( #389 )
2019-03-07 10:27:29 +01:00
semantic-release-bot
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 ))
2019-03-07 09:16:08 +00:00
Jian Wei
a364d3ed67
fix(types): add showScrollIndicator prop to type file ( #388 )
2019-03-07 10:14:37 +01:00
Ryan Linton
51cced8c65
chore(docs): Add typescript definition for isFileUploadSupported ( #393 )
2019-03-07 10:14:09 +01:00
Andrei Pfeiffer
ff32e34eb5
chore(docs): Add multiple file upload selection in the docs ( #382 )
2019-03-07 10:13:22 +01:00
Thibault Malbranche
74a20865b0
fix(vulnerability): merge issue ( #399 )
...
https://nvd.nist.gov/vuln/detail/CVE-2018-16469
2019-03-07 10:12:35 +01:00
Stanislav Shakirov
67eacd549e
chore(ci): fix flow error and update TS type ( #395 )
...
set related versions of react and react-native in devDependencies
2019-03-07 09:49:43 +01:00
Jamon Holmgren
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
2019-03-03 01:32:42 +01:00