Skip to content

Commit 00bf2dd

Browse files
authored
Merge pull request #658 from Adyen/v0.78.3
V0.78.3
2 parents 8b910c0 + 1a7618a commit 00bf2dd

59 files changed

Lines changed: 14014 additions & 8242 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
indent_style = space
10+
indent_size = 2
11+
12+
end_of_line = lf
13+
charset = utf-8
14+
trim_trailing_whitespace = true
15+
insert_final_newline = true

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.pbxproj -text
2+
# specific for windows script files
3+
*.bat text eol=crlf

.github/workflows/android_tests.yml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,44 @@ on:
88
inputs:
99
android-version:
1010
required: false
11-
default: 30
11+
default: 35
1212
type: number
1313
react-native-version:
1414
required: false
15-
default: '0.71.14'
15+
default: '0.78.3'
1616
type: string
1717

1818
jobs:
1919
test-Android:
20-
runs-on: macos-13
20+
name: Test Android
21+
runs-on: ubuntu-24.04
2122
env:
2223
target: google_apis
23-
arch: x86
24+
arch: x86_64
2425
steps:
25-
- uses: actions/checkout@v4
26+
- name: Provide more disk space
27+
run: |
28+
sudo rm -rf /opt/hostedtoolcache
29+
sudo rm -rf /usr/share/dotnet
30+
sudo rm -rf /opt/ghc /opt/cabal /opt/stack
31+
sudo rm -rf /usr/local/.ghcup
32+
sudo rm -rf "/usr/local/share/boost"
33+
sudo apt-get remove -y 'php.*'
34+
sudo docker image prune --all --force
35+
36+
- uses: actions/checkout@v5
37+
38+
- name: Enable KVM
39+
run: |
40+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
41+
sudo udevadm control --reload-rules
42+
sudo udevadm trigger --name-match=kvm
2643
2744
- uses: actions/setup-java@v4
2845
with:
2946
distribution: 'zulu'
3047
java-version: '17'
3148

32-
- uses: actions/setup-node@v4
33-
with:
34-
node-version: ${{ env.node-version }}
35-
cache: 'yarn'
36-
3749
- uses: actions/cache/restore@v4
3850
with:
3951
path: lib
@@ -42,15 +54,19 @@ jobs:
4254
- uses: actions/cache/restore@v4
4355
id: yarn-cache
4456
with:
45-
path: example\node_modules
57+
path: |
58+
node_modules
59+
example/node_modules
4660
key: temp-node-${{ github.sha }}
4761

4862
- name: Build dependency if needed
4963
if: steps.yarn-cache.outputs.cache-hit != 'true'
50-
run: yarn
64+
run: |
65+
yarn
66+
yarn prepare
5167
5268
- name: Gradle cache
53-
uses: gradle/actions/setup-gradle@v3
69+
uses: gradle/actions/setup-gradle@v4
5470

5571
- name: AVD cache
5672
uses: actions/cache@v4
@@ -69,6 +85,7 @@ jobs:
6985
target: ${{ env.target }}
7086
arch: ${{ env.arch }}
7187
force-avd-creation: false
88+
emulator-boot-timeout: 300
7289
script: echo "Generated AVD snapshot for caching."
7390

7491
- name: Run tests
@@ -78,6 +95,7 @@ jobs:
7895
target: ${{ env.target }}
7996
arch: ${{ env.arch }}
8097
force-avd-creation: false
98+
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
8199
working-directory: ./example/android
82100
script: |
83101
echo "::group::Running Android app"

.github/workflows/build_lib.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
name: Build Nodes
1212
runs-on: macos-14
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- uses: actions/setup-node@v4
1616
with:
1717
node-version: ${{ env.node-version }}
1818
cache: 'yarn'
1919

2020
- name: Get yarn cache directory path
2121
id: yarn-cache-dir-path
22-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
22+
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2323

2424
- uses: actions/cache@v4
2525
with:
@@ -32,7 +32,9 @@ jobs:
3232
${{ runner.os }}-yarn-
3333
3434
- name: Build library
35-
run: yarn install --frozen-lockfile
35+
run: |
36+
yarn install --frozen-lockfile
37+
yarn prepare
3638
3739
- name: Make JS coverage report
3840
run: |
@@ -44,10 +46,6 @@ jobs:
4446
name: js-coverage-report
4547
path: reports
4648

47-
- name: Build Example app
48-
working-directory: example
49-
run: yarn install
50-
5149
- name: Archive library
5250
uses: actions/cache/save@v4
5351
with:
@@ -57,5 +55,7 @@ jobs:
5755
- name: Archive Node Modules
5856
uses: actions/cache/save@v4
5957
with:
60-
path: example/node_modules
58+
path: |
59+
node_modules
60+
example/node_modules
6161
key: temp-node-${{ github.sha }}

.github/workflows/ios_tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
device: iPhone ${{ inputs.device-version }}
2626
buildFolder: ./DerivedData
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929

3030
- uses: actions/setup-node@v4
3131
with:
@@ -40,12 +40,16 @@ jobs:
4040
- uses: actions/cache/restore@v4
4141
id: yarn-cache
4242
with:
43-
path: example/node_modules
43+
path: |
44+
node_modules
45+
example/node_modules
4446
key: temp-node-${{ github.sha }}
4547

4648
- name: Build dependency if needed
4749
if: steps.yarn-cache.outputs.cache-hit != 'true'
48-
run: yarn
50+
run: |
51+
yarn
52+
yarn prepare
4953
5054
- uses: actions/cache@v4
5155
with:

.gitignore

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
.Trashes
1313
.VolumeIcon.icns
1414

15+
# VSCode
16+
.vscode/
17+
jsconfig.json
18+
1519
# Xcode
1620
[bB]uild/
1721
*.pbxuser
@@ -31,19 +35,28 @@ DerivedData
3135
*.xcuserstate
3236
project.xcworkspace
3337
Pods/
34-
*.xcode.env.local
38+
**/.xcode.env.local
3539

3640
# Android/IJ
3741
.idea
42+
.classpath
3843
.gradle
44+
.project
45+
.settings
3946
local.properties
4047
*.hprof
41-
coverage
4248
.cxx
49+
android.iml
50+
.kotlin
51+
52+
# Ruby
53+
/vendor/
4354

4455
# node.js
4556
node_modules/
4657
npm-debug.log
58+
yarn-debug.log
59+
yarn-error.log
4760

4861
# Expo
4962
.expo/*
@@ -57,8 +70,24 @@ buck-out/
5770
android/app/libs
5871
android/keystores/debug.keystore
5972

60-
# yarn
73+
# Yarn
74+
.yarn/*
75+
!.yarn/patches
76+
!.yarn/plugins
77+
!.yarn/releases
78+
!.yarn/sdks
79+
!.yarn/versions
6180
example/yarn.lock
6281

82+
# Turborepo
83+
.turbo/
84+
85+
# React Native Codegen
86+
**/generated/
87+
88+
# React Native Nitro Modules
89+
nitrogen/
90+
6391
# NPM
64-
example/package-lock.json
92+
example/package-lock.json
93+
.yarn

.yarn/releases/yarn-4.9.2.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nmHoistingLimits: workspaces
2+
3+
nodeLinker: node-modules
4+
5+
yarnPath: .yarn/releases/yarn-4.9.2.cjs

0 commit comments

Comments
 (0)