Sergei Butko
a02d88f54f
feat(iOS): Add the pull to refresh (#1265 )
* Add pull to refresh support for iOS
* Add pull to refresh control removal from WebView
* Add the type and reference description about pull to refresh
* Set bounces to true when enabling pull to refresh, add references
* Add the back to props anchor to pullToRefreshEnabled
4 лет назад
semantic-release-bot
2451c00f26
chore(release): 10.6.0 [skip ci]
# [10.6.0](https://github.com/react-native-community/react-native-webview/compare/v10.5.0...v10.6.0 ) (2020-08-15)
### Features
* **events:** Add isTopFrame to shouldStartLoadForRequest ([#1537 ](https://github.com/react-native-community/react-native-webview/issues/1537 )) ([6a9116f ](6a9116f2d1/))
4 лет назад
Caleb Clarke
6a9116f2d1
feat(events): Add isTopFrame to shouldStartLoadForRequest (#1537 )
* Add isTopFrame to shouldStartLoadForRequest on iOS
onLoadingStart is not raised for inner frames, but onShouldStartLoadWithRequest still is. This keeps that behavior but adds isTopFrame to onShouldStartLoadWithRequest so that apps can perform their own filtering if desired.
* Update docs
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
Bryan Stearns
621d2df72e
chore(docs): Add a debugging note (#1517 by @BryanStearns )
[skip ci]
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
semantic-release-bot
462448900a
chore(release): 10.5.0 [skip ci]
# [10.5.0](https://github.com/react-native-community/react-native-webview/compare/v10.4.2...v10.5.0 ) (2020-08-15)
### Features
* **ios:** Add iOS contentMode property ([#1538 ](https://github.com/react-native-community/react-native-webview/issues/1538 ) by @TheAlmightyBob ) ([8b69452 ](8b69452643/))
4 лет назад
Caleb Clarke
8b69452643
feat(ios): Add iOS contentMode property (#1538 by @TheAlmightyBob )
This allows overriding iPadOS 13's desktop-class browsing to load mobile content instead of desktop content.
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
semantic-release-bot
22038cc0d3
chore(release): 10.4.2 [skip ci]
## [10.4.2](https://github.com/react-native-community/react-native-webview/compare/v10.4.1...v10.4.2 ) (2020-08-15)
### Bug Fixes
* **incognito:** Ensures that incognito doesn't clear cookies when not enabled ([#1447 ](https://github.com/react-native-community/react-native-webview/issues/1447 ) by [@jasonkellydk ](https://github.com/jasonkellydk )) ([63c584c ](63c584c647/))
4 лет назад
Jason Kelly
63c584c647
fix(incognito): Ensures that incognito doesn't clear cookies when not enabled (#1447 by @jasonkellydk )
Co-authored-by: Jason Kelly <jason.kelly@isobar.com >
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
Co-authored-by: Jason Safaiyeh <safaiyeh@protonmail.com >
4 лет назад
Kai Guo
7513f198c1
chore(ci): Cleanup windows ci (#1558 )
* Cleanup windows CI
* fix
* Remove nuget setup
* Separate build and deploy
Co-authored-by: Jason Safaiyeh <safaiyeh@protonmail.com >
4 лет назад
semantic-release-bot
5baacdb45c
chore(release): 10.4.1 [skip ci]
## [10.4.1](https://github.com/react-native-community/react-native-webview/compare/v10.4.0...v10.4.1 ) (2020-08-13)
### Bug Fixes
* **iOS:** file picker crash ([#1567 ](https://github.com/react-native-community/react-native-webview/issues/1567 )) ([05c1d8f ](05c1d8f264/))
4 лет назад
jxm2004
05c1d8f264
fix(iOS): file picker crash (#1567 )
* fix(iOS): Consider UIImagePickerController or similar controllers that are no longer beingPresented when acquiring the TopViewController; this prevents the crash of throwing an alert on a ViewController which is no longer in the window hierarchy
* fix(iOS): correcting import to src from lib
* fix(iOS): reverting import modification
Co-authored-by: Thibault Malbranche <thibault.malbranche@epitech.eu >
4 лет назад
semantic-release-bot
096002e12f
chore(release): 10.4.0 [skip ci]
# [10.4.0](https://github.com/react-native-community/react-native-webview/compare/v10.3.3...v10.4.0 ) (2020-08-06)
### Features
* **android:** WebView crash handling ([#1480 ](https://github.com/react-native-community/react-native-webview/issues/1480 )) ([8a8b7ce ](8a8b7ceb98/))
4 лет назад
cristianoccazinsp
8a8b7ceb98
feat(android): WebView crash handling (#1480 )
Co-authored-by: Cristiano Coelho <cristianocca@hotmail.com >
4 лет назад
semantic-release-bot
8081443c53
chore(release): 10.3.3 [skip ci]
## [10.3.3](https://github.com/react-native-community/react-native-webview/compare/v10.3.2...v10.3.3 ) (2020-07-29)
### Bug Fixes
* **types:** Add missing applicationNameForUserAgent type in WebViewSharedProps ([#1542 ](https://github.com/react-native-community/react-native-webview/issues/1542 )) ([91295e5 ](91295e5258/))
4 лет назад
Caleb Clarke
91295e5258
fix(types): Add missing applicationNameForUserAgent type in WebViewSharedProps (#1542 )
4 лет назад
Dragoș Străinu
97aaf89037
docs(reference): add links to top with jump2header (#1528 by @strdr4605 )
[skip ci]
4 лет назад
semantic-release-bot
6f6e572efa
chore(release): 10.3.2 [skip ci]
## [10.3.2](https://github.com/react-native-community/react-native-webview/compare/v10.3.1...v10.3.2 ) (2020-06-26)
### Bug Fixes
* **android sdk 28:** build issue ([#1469 ](https://github.com/react-native-community/react-native-webview/issues/1469 )) ([5f823bb ](5f823bb77b/))
4 лет назад
Rinku Kumari
5f823bb77b
fix(android sdk 28): build issue (#1469 )
Co-authored-by: Rinku Kumari <rinku@ideaboard.xyz >
4 лет назад
trcoffman
b0ac0c15be
chore(windows): Add a .gitattributes to fix line endings across myriad files. (#1431 by @trcoffman )
[skip ci]
4 лет назад
Anton Vlasenko
a2029d2d47
chore(docs): Fix broken link in docs/Guide.md (#1436 by @Sappphire64 )
[skip ci]
4 лет назад
semantic-release-bot
dce30be136
chore(release): 10.3.1 [skip ci]
## [10.3.1](https://github.com/react-native-community/react-native-webview/compare/v10.3.0...v10.3.1 ) (2020-06-13)
### Bug Fixes
* **android:** Add SSL error handling for Android WebView ([#1450 ](https://github.com/react-native-community/react-native-webview/issues/1450 ) by [@thephpjedi ](https://github.com/thephpjedi )) ([1bd5961 ](1bd5961255/)), closes [#259 ](https://github.com/react-native-community/react-native-webview/issues/259 )
4 лет назад
Alesandro Ortiz
1bd5961255
fix(android): Add SSL error handling for Android WebView (#1450 by @thephpjedi )
Based on PR #668 . Fixes #259 .
4 лет назад
semantic-release-bot
357bc0432a
chore(release): 10.3.0 [skip ci]
# [10.3.0](https://github.com/react-native-community/react-native-webview/compare/v10.2.3...v10.3.0 ) (2020-06-13)
### Features
* **android:** Add support for injectedJavaScriptBeforeContentLoaded on Android ([#1099 ](https://github.com/react-native-community/react-native-webview/issues/1099 ) by @SRandazzo and @ [@shirakaba ](https://github.com/shirakaba )) ([ac4e05e ](ac4e05e0f2/))
4 лет назад
Salvatore Randazzo
ac4e05e0f2
feat(android): Add support for injectedJavaScriptBeforeContentLoaded on Android (#1099 by @SRandazzo and @ @shirakaba )
4 лет назад
semantic-release-bot
b482bbd3a3
chore(release): 10.2.3 [skip ci]
## [10.2.3](https://github.com/react-native-community/react-native-webview/compare/v10.2.2...v10.2.3 ) (2020-05-29)
### Bug Fixes
* **windows:** Add postMessage for Windows WebView ([#1263 ](https://github.com/react-native-community/react-native-webview/issues/1263 ) by [@kaiguo ](https://github.com/kaiguo )) ([e402e73 ](e402e739ea/))
4 лет назад
Kai Guo
e402e739ea
fix(windows): Add postMessage for Windows WebView (#1263 by @kaiguo )
4 лет назад
semantic-release-bot
1789b79064
chore(release): 10.2.2 [skip ci]
## [10.2.2](https://github.com/react-native-community/react-native-webview/compare/v10.2.1...v10.2.2 ) (2020-05-29)
### Bug Fixes
* **android:** duplicate `setWebChromeClient()` overwrite ([#1417 ](https://github.com/react-native-community/react-native-webview/issues/1417 )) ([2f8c4c5 ](2f8c4c5067/))
4 лет назад
Jacob Müller
2f8c4c5067
fix(android): duplicate `setWebChromeClient()` overwrite (#1417 )
4 лет назад
semantic-release-bot
d55b25c09e
chore(release): 10.2.1 [skip ci]
## [10.2.1](https://github.com/react-native-community/react-native-webview/compare/v10.2.0...v10.2.1 ) (2020-05-29)
### Bug Fixes
* **android:** Fixes black screen on back button press ([#1298 ](https://github.com/react-native-community/react-native-webview/issues/1298 ) by [@michan85 ](https://github.com/michan85 )) ([0317a4b ](0317a4b4a5/))
* **android:** Improve onLoadProgress consistency ([#1373 ](https://github.com/react-native-community/react-native-webview/issues/1373 ) by [@hojason117 ](https://github.com/hojason117 )) ([b97d16c ](b97d16c23d/))
4 лет назад
michael hancock
0317a4b4a5
fix(android): Fixes black screen on back button press (#1298 by @michan85 )
Co-authored-by: michael hancock <michael.hancock@24.com >
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
Jason Chia-Hsien Ho
b97d16c23d
fix(android): Improve onLoadProgress consistency (#1373 by @hojason117 )
[skip ci]
Co-authored-by: Tyler Coffman <tyler.coffman@appfolio.com >
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
Akinn Rosa
79eb905a97
chore(docs): Update brazilian translation and reference in main readme.. (#1332 by @akinncar )
[skip ci]
4 лет назад
Colin
131dd9ebe8
chore(docs): Update link in custom-android docs (#1382 by @ColinRTaylor )
[skip ci]
4 лет назад
semantic-release-bot
749add1d87
chore(release): 10.2.0 [skip ci]
# [10.2.0](https://github.com/react-native-community/react-native-webview/compare/v10.1.1...v10.2.0 ) (2020-05-28)
### Bug Fixes
* **android:** Updated permissions for Android Q and above ([#1384 ](https://github.com/react-native-community/react-native-webview/issues/1384 ) by @Karthz ) ([03dbcb8 ](03dbcb870e/))
### Features
* **webview:** Allow javascript to open windows automatically ([#1409 ](https://github.com/react-native-community/react-native-webview/issues/1409 ) by [@trcoffman ](https://github.com/trcoffman )) ([91df544 ](91df544fae/))
4 лет назад
Karthik Subramaniam
03dbcb870e
fix(android): Updated permissions for Android Q and above (#1384 by @Karthz )
4 лет назад
Bengt Ove Sannes
d9c73e0f6f
chore(docs): Update Guide.md (#1305 by @bovesan )
[skip ci]
4 лет назад
trcoffman
91df544fae
feat(webview): Allow javascript to open windows automatically (#1409 by @trcoffman )
[skip ci]
4 лет назад
semantic-release-bot
3cbf1490f4
chore(release): 10.1.1 [skip ci]
## [10.1.1](https://github.com/react-native-community/react-native-webview/compare/v10.1.0...v10.1.1 ) (2020-05-28)
### Bug Fixes
* **android:** Broken build due to conditional import of kotlin ([#1412 ](https://github.com/react-native-community/react-native-webview/issues/1412 )) ([7ab2afb ](7ab2afbab7/))
4 лет назад
Thibault Malbranche
7ab2afbab7
fix(android): Broken build due to conditional import of kotlin (#1412 )
4 лет назад
semantic-release-bot
938e62296a
chore(release): 10.1.0 [skip ci]
# [10.1.0](https://github.com/react-native-community/react-native-webview/compare/v10.0.0...v10.1.0 ) (2020-05-27)
### Bug Fixes
* **android:** Fix several Android file upload issues ([#1302 ](https://github.com/react-native-community/react-native-webview/issues/1302 ) by [@hojason117 ](https://github.com/hojason117 )) ([89886c8 ](89886c820d/))
### Features
* **compatibility:** Support React Native 0.62 ([#1364 ](https://github.com/react-native-community/react-native-webview/issues/1364 ) by [@jussikinnula ](https://github.com/jussikinnula ) and [@kaiguo ](https://github.com/kaiguo )) ([228f10d ](228f10d917/))
4 лет назад
Jussi Kinnula
228f10d917
feat(compatibility): Support React Native 0.62 (#1364 by @jussikinnula and @kaiguo )
Co-authored-by: Kai Guo <kaigu@microsoft.com >
Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com >
4 лет назад
Jason Chia-Hsien Ho
89886c820d
fix(android): Fix several Android file upload issues (#1302 by @hojason117 )
[skip ci]
4 лет назад
semantic-release-bot
da31ab56f0
chore(release): 10.0.0 [skip ci]
# [10.0.0](https://github.com/react-native-community/react-native-webview/compare/v9.4.0...v10.0.0 ) (2020-05-26)
### Bug Fixes
* **android:** add missing null check for fileTypes ([#1368 ](https://github.com/react-native-community/react-native-webview/issues/1368 ) by [@bengy ](https://github.com/bengy )) ([4f0f0af ](4f0f0afe70/))
* **gradle:** Load Android Gradle Plugin conditionally ([#1230 ](https://github.com/react-native-community/react-native-webview/issues/1230 ) by @SaeedZhiany ) ([2639d52 ](2639d523e9/))
* **iOS:** Trigger _onContentProcessDidTerminate when removing webview from superview ([#1378 ](https://github.com/react-native-community/react-native-webview/issues/1378 ) by [@pmusaraj ](https://github.com/pmusaraj )) ([9240536 ](9240536afa/))
* **windows:** Fix windows local asset path ([#1335 ](https://github.com/react-native-community/react-native-webview/issues/1335 ) by [@kaiguo ](https://github.com/kaiguo )) ([20a3f90 ](20a3f90c0f/))
* **windows:** Fixes ScriptNotify and InvokeScript ([#1354 ](https://github.com/react-native-community/react-native-webview/issues/1354 ) by [@benhamlin ](https://github.com/benhamlin )) ([81e0360 ](81e0360ede/))
### BREAKING CHANGES
* **gradle:** The Android Gradle plugin is only required when opening the project stand-alone, not when it is included as a dependency. By doing this, the project opens correctly in Android Studio, and it can also be consumed as a native module dependency from an application project without affecting the app project (avoiding unnecessary downloads/conflicts/etc).
Also moved getExtOrDefault to buildScript block to able to use everywhere in the file
This change shouldn't break any apps, but we are marking it as a breaking change in case there are some use cases we've missed.
[skip ci]
4 лет назад
Benjamin Rau
4f0f0afe70
fix(android): add missing null check for fileTypes (#1368 by @bengy )
4 лет назад
SaeedZhiany
2639d523e9
fix(gradle): Load Android Gradle Plugin conditionally (#1230 by @SaeedZhiany )
BREAKING CHANGE:
The Android Gradle plugin is only required when opening the project stand-alone, not when it is included as a dependency. By doing this, the project opens correctly in Android Studio, and it can also be consumed as a native module dependency from an application project without affecting the app project (avoiding unnecessary downloads/conflicts/etc).
Also moved getExtOrDefault to buildScript block to able to use everywhere in the file
This change shouldn't break any apps, but we are marking it as a breaking change in case there are some use cases we've missed.
[skip ci]
4 лет назад
Penar Musaraj
9240536afa
fix(iOS): Trigger _onContentProcessDidTerminate when removing webview from superview (#1378 by @pmusaraj )
[skip ci]
4 лет назад
Kai Guo
20a3f90c0f
fix(windows): Fix windows local asset path (#1335 by @kaiguo )
[skip ci]
4 лет назад
Kai Guo
ef3ceb24d1
chore(windows): Set up Windows CI (#1358 by @kaiguo )
[skip ci]
4 лет назад
Ben Hamlin
81e0360ede
fix(windows): Fixes ScriptNotify and InvokeScript (#1354 by @benhamlin )
[skip ci]
4 лет назад
semantic-release-bot
b10b97646b
chore(release): 9.4.0 [skip ci]
# [9.4.0](https://github.com/react-native-community/react-native-webview/compare/v9.3.0...v9.4.0 ) (2020-04-29)
### Features
* **iOS:** Add onFileDownload callback ([#1214 ](https://github.com/react-native-community/react-native-webview/issues/1214 )) ([a6010d9 ](https://github.com/react-native-community/react-native-webview/commit/ a6010d9 ))
4 лет назад