-
Notifications
You must be signed in to change notification settings - Fork 8
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
11.18.1 discord 1 merge master new arch #27
base: 11.18.1-discord-1
Are you sure you want to change the base?
11.18.1 discord 1 merge master new arch #27
Conversation
## [11.18.2](react-native-webview/react-native-webview@v11.18.1...v11.18.2) (2022-04-27) ### Bug Fixes * **windows:** update Getting Started information for Windows ([92ba4fa](react-native-webview@92ba4fa))
# [11.19.0](react-native-webview/react-native-webview@v11.18.2...v11.19.0) (2022-05-19) ### Features * **android:** Adding downloadMessage as a prop for localization ([react-native-webview#2489](react-native-webview#2489)) ([c3f73fe](react-native-webview@c3f73fe))
# [11.20.0](react-native-webview/react-native-webview@v11.19.0...v11.20.0) (2022-05-23) ### Features * **ios:** adds allowsAirPlayForMediaPlayback prop ([react-native-webview#2410](react-native-webview#2410) by [@matinzd](https://github.com/matinzd)) ([eb4e923](react-native-webview@eb4e923))
## [11.20.1](react-native-webview/react-native-webview@v11.20.0...v11.20.1) (2022-05-28) ### Bug Fixes * **ios:** support requestFocus ([react-native-webview#2501](react-native-webview#2501)) ([41ae896](react-native-webview@41ae896))
* feat: improve dummy WebView * Update WebView.tsx Co-authored-by: Thibault Malbranche <malbranche.thibault@gmail.com>
# [11.21.0](react-native-webview/react-native-webview@v11.20.1...v11.21.0) (2022-05-29) ### Features * improve dummy WebView ([react-native-webview#2509](react-native-webview#2509)) ([2e79a03](react-native-webview@2e79a03))
## [11.21.1](react-native-webview/react-native-webview@v11.21.0...v11.21.1) (2022-05-31) ### Bug Fixes * **windows:** don't build WebView2 unless on WinUI 3 ([react-native-webview#2517](react-native-webview#2517)) ([0571062](react-native-webview@0571062))
…native-webview#2531) * Revert "fix(windows): don't build WebView2 unless on WinUI 3 (react-native-webview#2517)" This reverts commit 0571062. * just remove the USE_WINUI3 check
## [11.21.2](react-native-webview/react-native-webview@v11.21.1...v11.21.2) (2022-06-07) ### Reverts * Revert "fix(windows): don't build WebView2 unless on WinUI 3" (react-native-webview#2531) ([ed3d6ed](react-native-webview@ed3d6ed)), closes [react-native-webview#2531](react-native-webview#2531) [react-native-webview#2517](react-native-webview#2517)
…genNativeCommands (react-native-webview#2508) * wip * wip * Update RNCWebViewManager.java * Shared stuff with iOS * bump stuff * wip * fix(windows): don't build WebView2 unless on WinUI 3 (react-native-webview#2518) Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> * wip * Revert 2517 tido/fix webview2 build (react-native-webview#2532) * Revert "fix(windows): don't build WebView2 unless on WinUI 3 (react-native-webview#2517)" This reverts commit 0571062. * just remove the USE_WINUI3 check Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> * Create ExperimentalFeatures.props Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Co-authored-by: Jamon Holmgren <jamonholmgren@gmail.com>
# [11.22.0](react-native-webview/react-native-webview@v11.21.2...v11.22.0) (2022-06-09) ### Features * **refactor:** remove findnodehandle, use function components & codegenNativeCommands ([react-native-webview#2508](react-native-webview#2508)) ([6b8e4f3](react-native-webview@6b8e4f3)), closes [react-native-webview#2518](react-native-webview#2518) [react-native-webview#2532](react-native-webview#2532) [react-native-webview#2517](react-native-webview#2517)
…native-webview#2534) Xcode: Editor → Structure → Re-indent
## [11.22.1](react-native-webview/react-native-webview@v11.22.0...v11.22.1) (2022-06-10) ### Bug Fixes * **android:** fixed issue with refactor ([ff08b11](react-native-webview@ff08b11)), closes [react-native-webview#2538](react-native-webview#2538)
## [11.22.2](react-native-webview/react-native-webview@v11.22.1...v11.22.2) (2022-06-12) ### Bug Fixes * Don't crash if trying to download "invalid" URIs on Android ([react-native-webview#2432](react-native-webview#2432)) ([c424a49](react-native-webview@c424a49))
…bview#2537) * Implement PostMessage / OnMessage * Fix Stop Loading * Address Feedback * Address Feedback
Co-authored-by: Chiara Mooney <34109996+chiaramooney@users.noreply.github.com>
* fix: add properties for ios WKWebView configuration * Update WebView.ios.tsx * Update WebView.macos.tsx Co-authored-by: Thibault Malbranche <malbranche.thibault@gmail.com>
…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 <tom.bury@twipemobile.com>
# [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))
# [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 <peter.lazar@limehome.de> Co-authored-by: Thibault Malbranche <thibault@brigad.co>
…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 <TheAlmightyBob@users.noreply.github.com> * Update docs/Reference.md Co-authored-by: Caleb Clarke <TheAlmightyBob@users.noreply.github.com> * 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 <sunnylqm@gmail.com> Co-authored-by: Caleb Clarke <TheAlmightyBob@users.noreply.github.com>
# [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 <thibault@brigad.co>
# [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 <vahagnn@meta.com>
## [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))
}); | ||
|
||
export default codegenNativeComponent<NativeProps>( | ||
'RNCWebView' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On iOS, the parent component is RNCWebView, and its child is WKWebView. On Android, it used to be just one RNCWebView which extended the native Android WebView. Now, the parent component is RNCWebViewContainer, and its child is the old RNCWebView.
@joemun , do you know if it's okay for this to say RNCWebView
even though the native component is RNCWebViewContainer
on Android:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This value needs to match the name specified in the view manager (RNCWebViewModuleImpl.NAME
).
On iOS, it needs to match the exported name (ie. RCT_EXPORT_MODULE
in RNCWebViewManager.mm
), which also appears to be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This value needs to match the name specified in the view manager (RNCWebViewModuleImpl.NAME)
To clarify, can the name say RNCWebView
on Android in the view manager even if the native component that maps 1:1 to the react component is actually named RNCWebViewContainer
? Also, I'm assuming that on Android and iOS, the name (in the view manager on Android and the exported name from RCT_EXPORT_MODULE in RNCWebViewManager.mm) have to be the same. Is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the TSX side, it's referencing the RNCWebView
native component, which returns an instance of the RNCWebViewContainer
. So I think this is fine. The name here is supposed to align with the view manager.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I'm assuming that on Android and iOS, the name (in the view manager on Android and the exported name from RCT_EXPORT_MODULE in RNCWebViewManager.mm) have to be the same. Is that correct?
Yep
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically |
This PR merges the new-arch changes from master into 11.18.1-discord-1.
I did one round of resolving conflicts, but I need to test this, still.