Skip to content

Conversation

@mmv08
Copy link

@mmv08 mmv08 commented Sep 8, 2025

  • Merged 16 commits from upstream/master
  • Upgraded androidx.webkit:webkit from 1.4.0 to 1.14.0
  • Added SSL error handling for sub-resources
  • Added Payment Request API support (disabled downloads for security)
  • Preserved Phantom's custom changes:
    • Package name and version (1.0.2)
    • Download blocking with toast message
    • All existing security configurations

dongtony12 and others added 17 commits May 29, 2025 21:28
…webview#3743)

* added support for light scroll indicators on iOS

* rename prop, and cleaned

* Update RNCWebViewManager.java

---------

Co-authored-by: Roman Alifanov <roman@bbc.no>
Co-authored-by: Thibault Malbranche <malbranche.thibault@gmail.com>
Co-authored-by: Thibault Malbranche <thibault@brigad.co>
## [13.14.2](react-native-webview/react-native-webview@v13.14.1...v13.14.2) (2025-06-07)

### Bug Fixes

* **android:** suppressMenuItems native view config name with extra space ([react-native-webview#3780](react-native-webview#3780)) ([5a73948](react-native-webview@5a73948))
…t-native-webview#2278) (react-native-webview#3763)

* feat(android) add support for enabling the Payment Request API

* updated androidx.webkit:webkit version to 1.14.0-beta01

* updated androidx.webkit:webkit version to 1.14.0-rc01

* updated androidx.webkit:webkit version to 1.14.0
…native-webview#3834)

* feat: add a handler for sub-resource SSL errors on Android

* chore: add example for sub-resource SSL error handling

* fix: make new prop optional
…ng (react-native-webview#3830)

Hello,

I'm working on a project where I'm creating a react-native native component that extends RNCWebView. When importing the `RNCWebView.h` header in my project the `==` operator will result in a symbol in my projects cocoapod target product.
The same symbol will also be present in react-native-webviews cocoapods product, which causes a linker error like so:

```
ld: warning: ignoring duplicate libraries: '-lc++'
duplicate symbol 'facebook::react::operator==(facebook::react::RNCWebViewMenuItemsStruct const&, facebook::react::RNCWebViewMenuItemsStruct const&)' in:
    /Users/ullrich/Library/Developer/Xcode/DerivedData/Example-geqgqakfnjrqhsbfipgqkrmgbtaw/Build/Products/Debug-iphonesimulator/pitch-mobile-webview/libpitch-mobile-webview.a[3](PitchWebview.o)
    /Users/ullrich/Library/Developer/Xcode/DerivedData/Example-geqgqakfnjrqhsbfipgqkrmgbtaw/Build/Products/Debug-iphonesimulator/react-native-webview/libreact-native-webview.a[4](RNCWebView.o)
ld: 1 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

A simple solution to this is to inline this simple function.

Thanks for considering this contribution 🙌
# [13.16.0](react-native-webview/react-native-webview@v13.15.0...v13.16.0) (2025-08-25)

### Bug Fixes

* **android:** revert [react-native-webview#1221](react-native-webview#1221) setIgnoreErrFailedForThisURL ([react-native-webview#3831](react-native-webview#3831)) ([56989ca](react-native-webview@56989ca))
* **ios:** Inline CPP operator to avoid duplicate symbols during linking ([react-native-webview#3830](react-native-webview#3830)) ([2ee4218](react-native-webview@2ee4218))
* **types:** Make `clearCache` method required instead of optional ([react-native-webview#3818](react-native-webview#3818)) ([dd6fb80](react-native-webview@dd6fb80))

### Features

* **android:** Add sub resource SSL error handling on Android ([react-native-webview#3834](react-native-webview#3834)) ([8b96334](react-native-webview@8b96334))
- Merged 16 commits from upstream/master
- Upgraded androidx.webkit:webkit from 1.4.0 to 1.14.0
- Added SSL error handling for sub-resources
- Added Payment Request API support (disabled downloads for security)
- Preserved Phantom's custom changes:
  - Package name and version (1.0.2)
  - Download blocking with toast message
  - All existing security configurations
@mmv08
Copy link
Author

mmv08 commented Sep 8, 2025

Screenshot 2025-09-08 at 17 56 07

I tested the Android build locally on https://sandbox.phantom.dev/provider-doctor, and it seems to work

- Changed the device name in the iOS CI workflow from 'iPhone 15' to 'iPhone 16'.
- Updated the version of react-native-webview in Podfile.lock from 13.10.0 to 1.0.2 (our fork)
@mmv08 mmv08 requested a review from jkadamczyk September 8, 2025 17:03
@gnash-phantom gnash-phantom merged commit 9a6a0b0 into master Sep 8, 2025
11 checks passed
@mmv08 mmv08 deleted the merge-upstream-webkit-1.14.0 branch September 8, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.