forked from birantiyigunjotform/react-native-webview
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v13.2.2 update #4
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## [10.10.2](react-native-webview/react-native-webview@v10.10.1...v10.10.2) (2020-11-06) ### Bug Fixes * **android:** Unset mWebChromeClient on WebViewManager rather than WebView ([react-native-webview#1720](react-native-webview#1720)) ([c95c0ea](react-native-webview@c95c0ea))
…20-6506 (react-native-webview#1747 by @mrcoinbase and @kelset -- THANK YOU!) BREAKING CHANGE: This release introduces the `setSupportMultipleWindows` prop for Android. This sets the underlying Android WebView setting `setSupportMultipleWindows`. This prop defaults to `true` (previously `false`), and serves to mitigate the security advisory [CVE-2020-6506](GHSA-36j3-xxf7-4pqg). The primary way this new behavior changes existing React Native WebView implementations on Android is that links that open in new tabs/windows (such as `<a target="_blank">`) will now prompt to open in the system browser, rather than re-using the current WebView. If this behavior is not desirable, you can set this new prop to `false`, but be aware that this exposes your app to the security vulnerability listed above. Make sure you have read and understand the whole advisory and relevant links. iOS & Windows are unaffected. ```jsx <WebView // ... setSupportMultipleWindows={true} // default: true /> ``` Thanks to @mrcoinbase, @kelset, and @Titozzz for their work on this.
# [11.0.0](react-native-webview/react-native-webview@v10.10.2...v11.0.0) (2020-11-24) ### Features * **android:** Introduce setSupportMultipleWindows to mitigate CVE-2020-6506 ([react-native-webview#1747](react-native-webview#1747) by [@mrcoinbase](https://github.com/mrcoinbase) and [@kelset](https://github.com/kelset) -- THANK YOU!) ([194c6a2](react-native-webview@194c6a2)) ### BREAKING CHANGES * **android:** This release introduces the `setSupportMultipleWindows` prop for Android. This sets the underlying Android WebView setting `setSupportMultipleWindows`. This prop defaults to `true` (previously `false`), and serves to mitigate the security advisory [CVE-2020-6506](GHSA-36j3-xxf7-4pqg). The primary way this new behavior changes existing React Native WebView implementations on Android is that links that open in new tabs/windows (such as `<a target="_blank">`) will now prompt to open in the system browser, rather than re-using the current WebView. If this behavior is not desirable, you can set this new prop to `false`, but be aware that this exposes your app to the security vulnerability listed above. Make sure you have read and understand the whole advisory and relevant links. iOS & Windows are unaffected. ```jsx <WebView // ... setSupportMultipleWindows={true} // default: true /> ``` Thanks to @mrcoinbase, @kelset, and @Titozzz for their work on this.
* Fix onScroll event type * Update documentation * Address PR feedback
## [11.0.1](react-native-webview/react-native-webview@v11.0.0...v11.0.1) (2020-12-05) ### Bug Fixes * **ts:** onScroll event type ([react-native-webview#1631](react-native-webview#1631)) ([84b7177](react-native-webview@84b7177))
…react-native-webview#1689) Co-authored-by: Jamon Holmgren <[email protected]>
## [11.0.2](react-native-webview/react-native-webview@v11.0.1...v11.0.2) (2020-12-08) ### Bug Fixes * **android:** changed initial value of nextLockIdentifier from 0 to 1 ([react-native-webview#1689](react-native-webview#1689)) ([53c0382](react-native-webview@53c0382))
## [11.0.3](react-native-webview/react-native-webview@v11.0.2...v11.0.3) (2021-01-13) ### Bug Fixes * **iOS:** restore cookie handling for iOS <= 10 ([react-native-webview#1728](react-native-webview#1728)) ([d338cae](react-native-webview@d338cae))
Updated README for V11
Updates ReactWebViewClient to RNCWebViewClient
…ive-webview#1657) Co-authored-by: Thibault Malbranche <[email protected]>
…native-webview#1077) * fix:iOS13 scrollView.automaticallyAdjustsScrollIndicatorInsets default value YES which make the webview vertical indicator position in wrong offset * added types and doc Co-authored-by: BillHsieh <[email protected]> Co-authored-by: xietian <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]>
# [11.1.0](react-native-webview/react-native-webview@v11.0.3...v11.1.0) (2021-01-20) ### Features * **iOS 13+:** automaticallyAdjustsScrollIndicatorInsets prop ([react-native-webview#1077](react-native-webview#1077)) ([d46a6d3](react-native-webview@d46a6d3))
…tive-webview#1730) * Added allowUniversalAccessFromFileURLs property to iOS and macOS Updated the types to include allowUniversalAccessFromFileURLs and allowFileAccessFromFileURLs for iOS and macOS Updated the Reference.md to include in the allowUniversalAccessFromFileURLs section iOS and macOS * Updated platform in the type definition
# [11.2.0](react-native-webview/react-native-webview@v11.1.0...v11.2.0) (2021-01-20) ### Features * **iOS & MacOS:** allowUniversalAccessFromFileURLs property([react-native-webview#1730](react-native-webview#1730)) ([8d098ef](react-native-webview@8d098ef))
* fix:iOS13 scrollView.automaticallyAdjustsScrollIndicatorInsets default value YES which make the webview vertical indicator position in wrong offset * added types and doc * fix: breaking bug for props not include under iOS13 Co-authored-by: BillHsieh <[email protected]> Co-authored-by: xietian <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]>
## [11.2.1](react-native-webview/react-native-webview@v11.2.0...v11.2.1) (2021-01-25) ### Bug Fixes * **ios:** error on iOS < 13([react-native-webview#1843](react-native-webview#1843)) ([283fe12](react-native-webview@283fe12))
…iew#1768) * Upgrade react-native-windows to 0.63.11 * Downgrade to 0.62.17
## [11.2.2](react-native-webview/react-native-webview@v11.2.1...v11.2.2) (2021-02-10) ### Bug Fixes * **windows:** Resolve Deploy Issue ([react-native-webview#1850](react-native-webview#1850)) ([ad702f5](react-native-webview@ad702f5))
…iew#1748 by @cristianoccazinsp) Co-authored-by: Cristiano Coelho <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]>
## [11.2.3](react-native-webview/react-native-webview@v11.2.2...v11.2.3) (2021-02-11) ### Bug Fixes * **android:** Fix full=screen video when in modals ([react-native-webview#1748](react-native-webview#1748) by [@cristianoccazinsp](https://github.com/cristianoccazinsp)) ([4f469ee](react-native-webview@4f469ee))
) * iOS cookie available for resource requests * Missig brace added Co-authored-by: niwani <[email protected]>
## [11.2.4](react-native-webview/react-native-webview@v11.2.3...v11.2.4) (2021-03-10) ### Bug Fixes * **iOS:** Send cookies with resource requests ([react-native-webview#1803](react-native-webview#1803)) ([1f089ba](react-native-webview@1f089ba))
## [12.0.2](react-native-webview/react-native-webview@v12.0.1...v12.0.2) (2023-04-06) ### Bug Fixes * **ios:** fix userAgent ios type comment ([react-native-webview#2888](react-native-webview#2888)) ([4d0c0de](react-native-webview@4d0c0de))
## [12.0.3](react-native-webview/react-native-webview@v12.0.2...v12.0.3) (2023-05-22) ### Bug Fixes * **Android:** Don't crash while downloading file with % in filename ([react-native-webview#2861](react-native-webview#2861)) ([81e3aa4](react-native-webview@81e3aa4))
…ew#2929) Authored-by: Peter Lazar <[email protected]>
# [12.1.0](react-native-webview/react-native-webview@v12.0.3...v12.1.0) (2023-05-23) ### Features * make pushState changes trackable on android ([react-native-webview#2929](react-native-webview#2929)) ([39ce007](react-native-webview@39ce007))
…eact-native-webview#2952) We (Microsoft Office apps) are seeing the following crashes in certain OEMs (biased toward Samsung) Exception java.lang.RuntimeException: Unable to get provider com.reactnativecommunity.webview.RNCWebViewFileProvider: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data at android.app.ActivityThread.installProvider (ActivityThread.java:6840) at android.app.ActivityThread.installContentProviders (ActivityThread.java:6382) at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6286) ... Caused by java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data at androidx.core.content.FileProvider.d at androidx.core.content.FileProvider.h at androidx.core.content.FileProvider.e at androidx.core.content.FileProvider.attachInfoMAM .. Upon further investigation, we found the hypothesis that some OEMs strip meta-data from the manifest (though we don't have any solid data to confirm). This discussion is related : https://issuetracker.google.com/issues/237727754?pli=1 And this commit into AOSP : https://android-review.googlesource.com/c/platform/frameworks/support/+/1978527
…ve-webview#2897) * [windows] Support headers and cookies in source prop * minor fixes
# [12.2.0](react-native-webview/react-native-webview@v12.1.0...v12.2.0) (2023-06-01) ### Features * **windows:** Support headers and cookies in source prop ([react-native-webview#2897](react-native-webview#2897)) ([1851ead](react-native-webview@1851ead))
… some OEMs (react-native-webview#2952)" This reverts commit 75e7801.
## [12.2.1](react-native-webview/react-native-webview@v12.2.0...v12.2.1) (2023-06-10) ### Bug Fixes * Revert "Missing android.support.FILE_PROVIDER_PATHS meta-data on some OEMs ([react-native-webview#2952](react-native-webview#2952))" ([e17a79b](react-native-webview@e17a79b))
…iew#2993) * Update RNCWebView.java * Update RNCWebView.java * wip * wip * fix build on latest xcode * add example + fix a few things * Update RNCWebViewImpl.m * fix macOS build
# [12.3.0](react-native-webview/react-native-webview@v12.2.1...v12.3.0) (2023-06-10) ### Features * custom action menu on android + improved iOS ([react-native-webview#2993](react-native-webview#2993)) ([f2aef66](react-native-webview@f2aef66))
* feat: add webviewDebuggingEnabled prop & Android implementation fix: use static RNCWebView.setWebContentsDebuggingEnabled * feat: add iOS webviewDebuggingEnabled prop * chore: remove "link generted with jump2header" comments * chore: add missing props-index links in Reference.md * feat: add webviewDebuggingEnabled reference docs * fix: surround inspectable code blocks with compiler preprocessor to include only on appropriate versions --------- Co-authored-by: Tom Bury <[email protected]>
# [12.4.0](react-native-webview/react-native-webview@v12.3.0...v12.4.0) (2023-06-10) ### Features * debugging enabled prop ([react-native-webview#2937](react-native-webview#2937)) ([f9a5277](react-native-webview@f9a5277))
) BREAKING CHANGE: This affects an existing loading behavior so we marked it as breaking, just in case Co-authored-by: Peter Lazar <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]>
# [13.0.0](react-native-webview/react-native-webview@v12.4.0...v13.0.0) (2023-06-10) ### Features * Allow webview to load in background tab ([react-native-webview#2930](react-native-webview#2930)) ([40c9807](react-native-webview@40c9807)) ### BREAKING CHANGES * This affects an existing loading behavior so we marked it as breaking, just in case Co-authored-by: Peter Lazar <[email protected]> Co-authored-by: Thibault Malbranche <[email protected]>
…e-webview#2801) (react-native-webview#2994) * feat: fraudulentWebsiteWarningEnabled * chore: test new arch on CI # Conflicts: # docs/Reference.md * fix: missing type * feat: add ios13 check * Update src/WebViewTypes.ts Co-authored-by: Caleb Clarke <[email protected]> * Update docs/Reference.md Co-authored-by: Caleb Clarke <[email protected]> * implem adaptation * Update ios-ci.yml * Update ios-ci.yml * Update android-ci.yml * Update ios-ci.yml * fix android new arch * Update ios-ci.yml --------- Co-authored-by: sunnylqm <[email protected]> Co-authored-by: Caleb Clarke <[email protected]>
# [13.1.0](react-native-webview/react-native-webview@v13.0.0...v13.1.0) (2023-06-10) ### Features * **iOS:** fraudulent website warning setting (previously [react-native-webview#2801](react-native-webview#2801)) ([react-native-webview#2994](react-native-webview#2994)) ([6d185e6](react-native-webview@6d185e6))
…webview#2954) Co-authored-by: Thibault Malbranche <[email protected]>
# [13.2.0](react-native-webview/react-native-webview@v13.1.0...v13.2.0) (2023-06-11) ### Features * **android:** Add support for the `capture` attribute ([react-native-webview#2954](react-native-webview#2954)) ([966221e](react-native-webview@966221e))
## [13.2.1](react-native-webview/react-native-webview@v13.2.0...v13.2.1) (2023-06-12) ### Bug Fixes * build on 0.72 new arch ([react-native-webview#2997](react-native-webview#2997)) ([7ceeb2f](react-native-webview@7ceeb2f))
…e-webview#3006) Co-authored-by: Vahagn Nikoghosyan <[email protected]>
## [13.2.2](react-native-webview/react-native-webview@v13.2.1...v13.2.2) (2023-06-14) ### Bug Fixes * **macOS:** address regression due to didMoveToSuperview ([react-native-webview#3006](react-native-webview#3006)) ([41576ca](react-native-webview@41576ca))
# Conflicts: # README.md # android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java # apple/RNCWebView.h # apple/RNCWebView.m # apple/RNCWebViewManager.m # src/WebViewTypes.ts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.