Skip to content

sync with upstream v13.13.5 #47

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

Merged
merged 108 commits into from
May 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
b4f047a
fix(iOS): update podspec to use install_modules_dependencies (#3231)
lgaches Jan 2, 2024
3d903fa
chore(readme): fix typos (#3270)
thegreatzeus Jan 2, 2024
f849077
fix(android): add buildFeatures.buildConfig true for AGP8+ compat (#3…
mikehardy Jan 2, 2024
977c18e
chore(release): 13.6.4 [skip ci]
semantic-release-bot Jan 2, 2024
5662f57
chore(docs): update cacheEnabled description (#3260)
wandersonalwes Jan 2, 2024
6960a19
chore(android): Update new architecture config (#3047)
j-piasecki Jan 2, 2024
9e2794e
feat(Windows): Add support for custom headers, POST requests and `onO…
jfkm69 Jan 31, 2024
07cebe3
chore(release): 13.7.0 [skip ci]
semantic-release-bot Jan 31, 2024
f0791d8
fix(Windows): Refactor ReactWebView2.cpp to handle optional 'method' …
jfkm69 Feb 6, 2024
d02f575
chore(release): 13.7.1 [skip ci]
semantic-release-bot Feb 6, 2024
7af398c
fix(ios, macos): Suspend media playback when destroying WebView on iO…
davidsharp Feb 13, 2024
cb9fb9c
fix(iOS): Replace UIKit with RCTUIKit on MacOS for RCT_NEW_ARCH_ENABL…
iSuslov Feb 13, 2024
8f21868
chore(release): 13.7.2 [skip ci]
semantic-release-bot Feb 13, 2024
8013944
feat(ios): ios injectJavaScriptObject (#3157)
gronxb Feb 13, 2024
4389014
chore(release): 13.8.0 [skip ci]
semantic-release-bot Feb 13, 2024
1c3d839
Fix NuGet package reference (#3242)
VMBindraban Feb 13, 2024
ae05226
chore(types): Indentation error (#3292)
dohooo Feb 13, 2024
0068588
fix(android): Fix WebViewManager can no longer be customized (#3315)
deka0106 Feb 13, 2024
4197bb4
chore(release): 13.8.1 [skip ci]
semantic-release-bot Feb 13, 2024
8411ba0
fix(android): Fix bridgeless mode support (#3352)
Kudo Mar 21, 2024
5da785d
chore(release): 13.8.2 [skip ci]
semantic-release-bot Mar 21, 2024
b989bd6
chore: Bump example app to 0.73 and use babel to build (#3347)
Titozzz Mar 22, 2024
ab420a0
fix: issue on bridgeless when accessing ReactContext (preparing RN74)…
alanjhughes Mar 28, 2024
0a60bf7
chore(release): 13.8.3 [skip ci]
semantic-release-bot Mar 28, 2024
81fe8e0
fix: Remove log statement that breaks react-native-community autolink…
brentvatne Mar 28, 2024
74de1f4
chore(release): 13.8.4 [skip ci]
semantic-release-bot Mar 28, 2024
2379ad0
fix(android): messaging regression for multiple webviews (#3394)
Kudo Apr 15, 2024
92b542d
chore(release): 13.8.5 [skip ci]
semantic-release-bot Apr 15, 2024
7e391e9
fix: typings broken after moving to babel build from tsc (#3378)
netmaxt3r Apr 17, 2024
7420ed8
chore(release): 13.8.6 [skip ci]
semantic-release-bot Apr 17, 2024
b9e74d6
fix(ios): Allow keyboard accessory view to be toggled after initializ…
amanharwara Apr 29, 2024
7119160
chore(release): 13.8.7 [skip ci]
semantic-release-bot Apr 29, 2024
dd7fb83
feat: Add visionOS support (#3373)
Saadnajmi May 7, 2024
542a997
chore: Use latest react-native-cookies/cookies name in Guide.md (#3423)
grahamplace May 7, 2024
7fb5c3f
fix(macos): Fix source prop for Fabric (#3404)
shwanton May 7, 2024
0dd2bb5
chore(release): 13.9.0 [skip ci]
semantic-release-bot May 7, 2024
6cd4697
fix(fabric, apple): Use correct header dir name for RCTFabricComponen…
shwanton May 7, 2024
c007ba3
chore(release): 13.9.1 [skip ci]
semantic-release-bot May 7, 2024
8bc122d
chore: bump `react-native-test-app` to 3.5.9 (#3430)
tido64 May 7, 2024
d843539
feat(windows): Adds support for compiling Windows module for WinAppSD…
rozele May 7, 2024
fab94f1
chore(release): 13.10.0 [skip ci]
semantic-release-bot May 7, 2024
5e8159f
chore: bump `react-native-test-app` to 3.7.2 (#3433)
tido64 May 8, 2024
ccefcf1
fix(android): Handle null value in setMenuCustomItems method (#3375)
m0ai May 11, 2024
81a8c1b
chore(release): 13.10.1 [skip ci]
semantic-release-bot May 11, 2024
d5749e0
fix(iOS): Replace unsupported nullish coalescing operator for older i…
kowoohyuk May 11, 2024
4e1ede4
chore(release): 13.10.2 [skip ci]
semantic-release-bot May 11, 2024
a45788e
chore(docs): Add documentation for the capture attribute on file inpu…
jlapp9 Jun 4, 2024
91d76ec
fix(ios): Fix crash when opening 4xx pages with no description. (#3416)
bimusiek Jun 4, 2024
2b86b63
chore(release): 13.10.3 [skip ci]
semantic-release-bot Jun 4, 2024
d252578
fix(iOS): Implement `[RCTConvert WKDataDetectorTypes:]` (#3436)
Saadnajmi Jun 21, 2024
2ff2b5e
chore(release): 13.10.4 [skip ci]
semantic-release-bot Jun 21, 2024
55077a7
fix(new-arch): Refactor Turbomodule to have distinct module name to …
shwanton Jul 8, 2024
4a506e3
chore(release): 13.10.5 [skip ci]
semantic-release-bot Jul 8, 2024
cb5877c
chore: Update navigation guide with canGoBack state. (#3501)
SupertigerDev Aug 20, 2024
1b47805
fix: bug where setCookie completionHandler is never called (#3470)
jccazeaux Aug 20, 2024
2a1b9ad
feat (iOS):Allow light mode refresh control ios (#3479)
dylan-bronson-sh Aug 20, 2024
ef3e2b4
chore(release): 13.10.6 [skip ci]
semantic-release-bot Aug 20, 2024
be36de4
chore: Use the correct external documentation link for overScrollMode…
MasoudFallahpour Aug 20, 2024
28af371
fix: issue where cookies were not being saved when Android WebView ap…
kj-ahn-n Aug 20, 2024
20a599e
chore(release): 13.10.7 [skip ci]
semantic-release-bot Aug 20, 2024
1d8205a
feat(iOS): allowsPictureInPictureMediaPlayback added for iOS only (#3…
shubhamguptadream11 Aug 20, 2024
feeef70
chore(release): 13.11.0 [skip ci]
semantic-release-bot Aug 20, 2024
9e2304e
fix: Update escape-string-regexp to 4.x (#3170)
stianjensen Aug 20, 2024
9c9a2cd
chore(release): 13.11.1 [skip ci]
semantic-release-bot Aug 20, 2024
7e49457
feat: add load method (#3537)
WoLewicki Aug 26, 2024
aab4030
fix: Implement missing methods of RNCWebViewManagerInterface in RNCWe…
hexboy Aug 26, 2024
492e376
chore(release): 13.12.0 [skip ci]
semantic-release-bot Aug 26, 2024
a835fff
fix(apple): Updates how HTTP errors are handled (#3545)
jamonholmgren Aug 30, 2024
2a1cddc
chore(release): 13.12.1 [skip ci]
semantic-release-bot Aug 30, 2024
9953ca0
fix(android, new arch): Do not execute commands twice (#3552)
Titozzz Sep 9, 2024
df8b47f
chore(release): 13.12.2 [skip ci]
semantic-release-bot Sep 9, 2024
e8f3c0e
fix(iOS): preload WebView on initial render in background tabs (#3559…
yo-oha Oct 2, 2024
7da7433
chore(release): 13.12.3 [skip ci]
semantic-release-bot Oct 2, 2024
8ad2360
fix(android): allowFileAccess does not apply to initial loading (#3598)
Kudo Nov 18, 2024
ed81fb2
chore(release): 13.12.4 [skip ci]
semantic-release-bot Nov 18, 2024
fcbe0a5
fix(iOS): revert (e8f3c0e) preload WebView on initial render in backg…
0xFA11 Dec 3, 2024
4733fe7
chore(release): 13.12.5 [skip ci]
semantic-release-bot Dec 3, 2024
685b8c7
feat: support RN 0.77 (#3661)
vonovak Jan 13, 2025
b7c3800
chore(release): 13.13.0 [skip ci]
semantic-release-bot Jan 13, 2025
2c5096d
fix(android,ios): Sending correct url in onMessage callback (#3609)
tian000 Jan 13, 2025
973b21a
chore(release): 13.13.1 [skip ci]
semantic-release-bot Jan 13, 2025
b5c40c9
fix(iOS): use canGoForward value for return values (#3659)
Kilian Jan 29, 2025
1193df4
chore(release): 13.13.2 [skip ci]
semantic-release-bot Jan 29, 2025
4f9a1e0
chore(documentation): Fix missing dependency in Android back press ex…
tyler-boyd Feb 22, 2025
a27d53f
chore: make fixes (#3693)
Saadnajmi Feb 22, 2025
a2e1e4d
fix(newArch): Set correct default values for "true" booleans (#3726)
Titozzz Mar 9, 2025
34956ff
chore(release): 13.13.3 [skip ci]
semantic-release-bot Mar 9, 2025
964ffcc
fix(ios, new-arch): Fixed regression caused by new defaults applied (…
Titozzz Mar 11, 2025
75a7621
chore(release): 13.13.4 [skip ci]
semantic-release-bot Mar 11, 2025
73ff3a8
fix(android): onMessage exception on fallback path (#3741)
Kudo Mar 26, 2025
1ddfe70
chore(release): 13.13.5 [skip ci]
semantic-release-bot Mar 26, 2025
a92298e
Merge branch 'main' into merge-master-into-fork
joaoloureirop May 15, 2025
50dde45
remove extra else not noticed at merge conflicts
tommasini May 15, 2025
e96fbdf
update podfile and yarn lock
tommasini May 15, 2025
32ae578
fix macos example podfile
tommasini May 15, 2025
ef89b0f
try fix detox ci
tommasini May 15, 2025
5a4632b
revert last commit
tommasini May 15, 2025
fac7597
remove unused eslint plugins
joaoloureirop May 16, 2025
1e57fca
align pods with upstream
joaoloureirop May 16, 2025
bfb983b
fix macos ci
joaoloureirop May 16, 2025
2cb1ad8
Revert "align pods with upstream"
joaoloureirop May 16, 2025
5f71cf1
Revert "fix macos ci"
joaoloureirop May 16, 2025
971b00c
remove macos-ci. Not relevant for our use case
joaoloureirop May 16, 2025
a006abf
restore yarn lock from main
joaoloureirop May 16, 2025
e058106
use same gradle setup gh action as upstream
joaoloureirop May 16, 2025
cca4281
test gradle setup action
joaoloureirop May 16, 2025
c7baf74
android ci: revert back to gradle action from main
joaoloureirop May 16, 2025
a683d06
remove else condition since our sdk version will be always 21 or high…
tommasini May 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib/
babel.config.js
babel.config.js
node_modules
92 changes: 7 additions & 85 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,93 +1,15 @@
module.exports = {
// Airbnb is the base, prettier is here so that eslint doesn't conflict with prettier
extends: ['airbnb', 'prettier', 'prettier/react', 'plugin:react-hooks/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['react', 'react-native', 'import', '@typescript-eslint'],
extends: ['@react-native', 'prettier'],
rules: {
'no-console': 'off',
// Lines will be broken before binary operators
'operator-linebreak': ['error', 'before'],
// Allow imports from dev and peer dependencies
'import/no-extraneous-dependencies': [
'error',
{ devDependencies: true, peerDependencies: true },
],
'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
// This rule doesn't play nice with Prettier
'react/jsx-one-expression-per-line': 'off',
// This rule doesn't play nice with Prettier
'react/jsx-wrap-multilines': 'off',
// Remove this rule because we only destructure props, but never state
'react/destructuring-assignment': 'off',
'react/prop-types': 'off',
'react/jsx-props-no-spreading': 'off',
'react/static-property-placement': 'off',
'react/state-in-constructor': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': [
'error',
{
default: 'array',
},
],
'@typescript-eslint/generic-type-naming': ['error', '^[a-zA-Z]+$'],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-inferrable-types': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/consistent-type-assertions': [
'error',
{
assertionStyle: 'as',
},
],
'@typescript-eslint/no-parameter-properties': 'error',
'@typescript-eslint/no-this-alias': 'error',
'@typescript-eslint/triple-slash-reference': [
'error',
{ path: 'never', types: 'never', lib: 'never' },
],
'@typescript-eslint/no-type-alias': [
'prettier/prettier': [
'error',
{
allowAliases: 'always',
allowCallbacks: 'always',
allowMappedTypes: 'always',
quoteProps: 'consistent',
singleQuote: true,
tabWidth: 2,
trailingComma: 'es5',
useTabs: false,
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{ ignoreRestSiblings: true },
],
'@typescript-eslint/consistent-type-definitions': [
'error',
'interface',
],
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/type-annotation-spacing': 'error',
},
settings: {
'import/resolver': {
node: {
extensions: [
'.js',
'.android.js',
'.ios.js',
'.jsx',
'.android.jsx',
'.ios.jsx',
'.tsx',
'.ts',
'.android.tsx',
'.android.ts',
'.ios.tsx',
'.ios.ts',
],
},
},
},
};
8 changes: 4 additions & 4 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17
- name: Install npm dependencies
run: yarn --frozen-lockfile
shell: bash
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/detox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ jobs:
name: 'Running tests'
runs-on: 'macOS-latest'
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Setup - Install Yarn
run: YARN_GPG=NO curl -o- -L https://yarnpkg.com/install.sh | bash
- name: Setup - Install NPM Dependencies
run: yarn --frozen-lockfile
- name: Setup - Install CocoaPods CLI
run: sudo gem install cocoapods -v 1.8.4
- name: Run tests
run: yarn ci
6 changes: 3 additions & 3 deletions .github/workflows/ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
Expand All @@ -25,7 +25,7 @@ jobs:
working-directory: example/ios
- name: Build iOS test app
run: |
device_name='iPhone 14'
device_name='iPhone 15'
device=$(xcrun simctl list devices "${device_name}" available | grep "${device_name} (")
re='\(([-0-9A-Fa-f]+)\)'
[[ $device =~ $re ]] || exit 1
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/macos-ci.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// https://prettier.io/docs/en/options.html

module.exports = {
// Enables semicolons at the end of statements
semi: true,
// Formats strings with single quotes ('') instead of quotes ("")
quoteProps: 'consistent',
singleQuote: true,
// Adds a trailing comma at the end of all lists (including function arguments)
trailingComma: 'all',
tabWidth: 2,
trailingComma: 'es5',
useTabs: false,
};
Loading
Loading