diff --git a/.github/workflows/android-e2e-test.yml b/.github/workflows/android-e2e-test.yml index d92b20b204..38b9cba692 100644 --- a/.github/workflows/android-e2e-test.yml +++ b/.github/workflows/android-e2e-test.yml @@ -22,29 +22,30 @@ on: jobs: test: name: ⚙️ Automated test cases - runs-on: macos-12 + runs-on: ubuntu-latest timeout-minutes: 60 env: WORKING_DIRECTORY: example + API_LEVEL: 28 concurrency: group: android-e2e-${{ github.ref }} cancel-in-progress: true steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: "yarn" - - name: Setup JDK 11 - uses: actions/setup-java@v3 + - name: Setup JDK 17 + uses: actions/setup-java@v4 with: distribution: "microsoft" - java-version: "11" + java-version: "17" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -59,7 +60,7 @@ jobs: - name: Install e2e dependencies run: yarn install --cwd e2e - name: Restore Gradle cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -70,11 +71,24 @@ jobs: - name: Build app working-directory: e2e run: yarn build-example:android + - name: Enable KVM group perms + run: | + echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules + sudo udevadm control --reload-rules + sudo udevadm trigger --name-match=kvm + - name: AVD cache + uses: actions/cache@v4 + id: avd-cache + with: + path: | + ~/.android/avd/* + ~/.android/adb* + key: avd-${{ env.API_LEVEL }} - name: Run emulator and tests - uses: reactivecircus/android-emulator-runner@v2.28.0 + uses: reactivecircus/android-emulator-runner@v2.30.1 with: working-directory: e2e - api-level: 28 + api-level: ${{ env.API_LEVEL }} target: default profile: pixel_2 ram-size: "4096M" @@ -83,7 +97,7 @@ jobs: avd-name: e2e_emulator arch: x86_64 script: yarn test-example:android - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: android-fail-screen-shoots diff --git a/.github/workflows/build-android-fabric.yml b/.github/workflows/build-android-fabric.yml index b4e8836ec4..470e40bd63 100644 --- a/.github/workflows/build-android-fabric.yml +++ b/.github/workflows/build-android-fabric.yml @@ -25,19 +25,19 @@ jobs: name: Build Android Fabric Example App runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Setup JDK 11 - uses: actions/setup-java@v3 + - name: Setup JDK 17 + uses: actions/setup-java@v4 with: distribution: "microsoft" - java-version: "11" + java-version: "17" - name: Get yarn cache directory path id: fabric-yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.fabric-yarn-cache-dir-path.outputs.dir }} @@ -48,7 +48,7 @@ jobs: run: yarn install --frozen-lockfile --cwd FabricExample - name: Restore Gradle cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index cb424c127c..db5626f1e7 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -23,19 +23,19 @@ jobs: name: Build Android Example App runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Setup JDK 11 - uses: actions/setup-java@v3 + - name: Setup JDK 17 + uses: actions/setup-java@v4 with: distribution: "microsoft" - java-version: "11" + java-version: "17" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -46,7 +46,7 @@ jobs: run: yarn install --frozen-lockfile --cwd example - name: Restore Gradle cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/.github/workflows/build-ios-fabric.yml b/.github/workflows/build-ios-fabric.yml index 94422a5f69..54ecefe608 100644 --- a/.github/workflows/build-ios-fabric.yml +++ b/.github/workflows/build-ios-fabric.yml @@ -27,18 +27,18 @@ on: jobs: build: name: Build iOS FabricExample App - runs-on: macOS-12 + runs-on: macOS-14 defaults: run: working-directory: FabricExample/ios steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get yarn cache directory path id: fabric-yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.fabric-yarn-cache-dir-path.outputs.dir }} @@ -62,7 +62,7 @@ jobs: working-directory: FabricExample/ios - name: Restore Pods cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | FabricExample/ios/Pods diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 8d5c634c24..2de2152531 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -25,18 +25,18 @@ on: jobs: build: name: Build iOS Example App - runs-on: macOS-12 + runs-on: macOS-14 defaults: run: working-directory: example/ios steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -58,7 +58,7 @@ jobs: working-directory: example/ios - name: Restore Pods cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | example/ios/Pods diff --git a/.github/workflows/compress-images.yml b/.github/workflows/compress-images.yml index 15f495abb2..5162b7b594 100644 --- a/.github/workflows/compress-images.yml +++ b/.github/workflows/compress-images.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compress Images uses: calibreapp/image-actions@main diff --git a/.github/workflows/compress-lottie.yml b/.github/workflows/compress-lottie.yml index d95a6494d0..7932411514 100644 --- a/.github/workflows/compress-lottie.yml +++ b/.github/workflows/compress-lottie.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compress Lottie run: find . -name '*.lottie.json' -exec npx lottie-optim -p 1 -o {} {} \; diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6799cf6876..32d27b548f 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -18,8 +18,8 @@ jobs: run: working-directory: ./docs steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn diff --git a/.github/workflows/docs-e2e.yml b/.github/workflows/docs-e2e.yml index f943102f67..03dd8ba735 100644 --- a/.github/workflows/docs-e2e.yml +++ b/.github/workflows/docs-e2e.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/ios-e2e-test.yml b/.github/workflows/ios-e2e-test.yml index 54bf4e6f44..914dc0b548 100644 --- a/.github/workflows/ios-e2e-test.yml +++ b/.github/workflows/ios-e2e-test.yml @@ -24,7 +24,7 @@ on: jobs: test: name: ⚙️ Automated test cases - runs-on: macos-12 + runs-on: macos-14 timeout-minutes: 60 env: WORKING_DIRECTORY: example @@ -32,8 +32,8 @@ jobs: group: ios-e2e-${{ github.ref }} cancel-in-progress: true steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: "yarn" @@ -45,7 +45,7 @@ jobs: id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Restore node_modules from cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -65,7 +65,7 @@ jobs: with: cache_key: react-native-keyboard-controller-e2e - name: Restore Pods cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | example/ios/Pods @@ -85,7 +85,7 @@ jobs: - name: Test app working-directory: e2e run: yarn test-example:ios - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: ios-fail-screen-shoots diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c0be9be8c..fb9ac6b884 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,9 +7,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: "18.x" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/size-diff.yml b/.github/workflows/size-diff.yml index 48d4d58199..d6494dd084 100644 --- a/.github/workflows/size-diff.yml +++ b/.github/workflows/size-diff.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write steps: - name: Checkout to target branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.base.ref }} - name: Install dependencies @@ -23,7 +23,7 @@ jobs: - name: Calculate size of package (target) id: old-size run: echo "OLD_SIZE=$(node scripts/size.js)" >> "$GITHUB_OUTPUT" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: yarn install --frozen-lockfile - name: Calculate size of package (current) diff --git a/.github/workflows/verify-android.yml b/.github/workflows/verify-android.yml index 08a376044d..09a3805394 100644 --- a/.github/workflows/verify-android.yml +++ b/.github/workflows/verify-android.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest name: 🔎 Kotlin Lint steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: touchlab-lab/ktlint-action-setup@1.0.0 with: ktlint_version: 0.48.0 @@ -31,9 +31,9 @@ jobs: run: working-directory: ./android steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: "microsoft" java-version: "11" @@ -48,9 +48,9 @@ jobs: run: working-directory: ./android steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: "microsoft" java-version: "11" @@ -65,12 +65,12 @@ jobs: run: working-directory: ./android steps: - - uses: actions/checkout@v3 - - name: Setup JDK 11 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Setup JDK 17 + uses: actions/setup-java@v4 with: distribution: "microsoft" - java-version: "11" + java-version: "17" - name: Install Detekt run: | curl -sSLO https://github.com/detekt/detekt/releases/download/v1.23.1/detekt-cli-1.23.1.zip diff --git a/.github/workflows/verify-cpp.yml b/.github/workflows/verify-cpp.yml index f1da702fe3..34d07535c6 100644 --- a/.github/workflows/verify-cpp.yml +++ b/.github/workflows/verify-cpp.yml @@ -21,10 +21,10 @@ jobs: python-version: [3.7] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/verify-docs.yml b/.github/workflows/verify-docs.yml index a1b78dfed2..ddcb266818 100644 --- a/.github/workflows/verify-docs.yml +++ b/.github/workflows/verify-docs.yml @@ -21,8 +21,8 @@ jobs: run: working-directory: ./docs steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn @@ -37,8 +37,8 @@ jobs: run: working-directory: ./docs steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn @@ -53,9 +53,9 @@ jobs: run: working-directory: docs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: echo "PREVIEW_PATH=pr-preview/pr-${{ github.event.number }}" >> "$GITHUB_ENV" - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn diff --git a/.github/workflows/verify-ios.yml b/.github/workflows/verify-ios.yml index 3e87a602c6..ddf5882fc0 100644 --- a/.github/workflows/verify-ios.yml +++ b/.github/workflows/verify-ios.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest name: 🔎 Swift Lint steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run SwiftLint GitHub Action (--strict) uses: norio-nomura/action-swiftlint@master with: @@ -27,13 +27,13 @@ jobs: env: WORKING_DIRECTORY: ios format: - runs-on: macOS-12 + runs-on: macOS-14 name: 📚 Swift Format defaults: run: working-directory: ./ios steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install SwiftFormat run: brew install swiftformat @@ -44,10 +44,10 @@ jobs: - name: Verify that the formatted code hasn't been changed run: git diff --exit-code HEAD objc-lint: - runs-on: macOS-12 + runs-on: macOS-14 name: 🔎 ObjC Lint steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/verify-js.yml b/.github/workflows/verify-js.yml index 30e42c57da..f1f69b8b50 100644 --- a/.github/workflows/verify-js.yml +++ b/.github/workflows/verify-js.yml @@ -13,8 +13,8 @@ jobs: name: 🔀 Compile TS runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn @@ -29,8 +29,8 @@ jobs: name: 🔎 Lint TS runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn @@ -44,8 +44,8 @@ jobs: name: 📖 Unit tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18.x cache: yarn diff --git a/e2e/.detoxrc.js b/e2e/.detoxrc.js index d1713215a0..0e2805b3d0 100644 --- a/e2e/.detoxrc.js +++ b/e2e/.detoxrc.js @@ -44,7 +44,7 @@ module.exports = { simulator: { type: "ios.simulator", device: { - type: "iPhone 13 Pro", + type: "iPhone 15 Pro", }, }, attached: { diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardClosed.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardClosed.png deleted file mode 100644 index f272708947..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardClosed.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardOpened.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardOpened.png deleted file mode 100644 index 7f27184d31..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewDisabledStateKeyboardOpened.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputFocused.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputFocused.png deleted file mode 100644 index aa5b3e29b9..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputFocused.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputGrown.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputGrown.png deleted file mode 100644 index 1b29286b88..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewFirstInputGrown.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewInputChanged.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewInputChanged.png deleted file mode 100644 index 6f4a44efdf..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewInputChanged.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosed.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosed.png deleted file mode 100644 index 396e18c55b..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosed.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png deleted file mode 100644 index f272708947..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewSecondInputFocused.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewSecondInputFocused.png deleted file mode 100644 index ea8b6a51b1..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewSecondInputFocused.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewTextChanged.png b/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewTextChanged.png deleted file mode 100644 index c6f8f4ffa3..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/AwareScrollViewTextChanged.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsHidden.png deleted file mode 100644 index 343277c3c9..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsHidden.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsShown.png deleted file mode 100644 index 7e2a028fb1..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/DisabledKeyboardIsShown.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsHidden.png deleted file mode 100644 index 7852ed7fc9..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsHidden.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsShown.png deleted file mode 100644 index 51356e92b1..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/EnabledKeyboardIsShown.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsHidden.png deleted file mode 100644 index 74fb06a7bb..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsHidden.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsShown.png deleted file mode 100644 index c61a4471cc..0000000000 Binary files a/e2e/kit/assets/ios/iPhone 13 Pro/KeyboardAnimationKeyboardIsShown.png and /dev/null differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardClosed.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardClosed.png new file mode 100644 index 0000000000..32b7b5232e Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardClosed.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardOpened.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardOpened.png new file mode 100644 index 0000000000..565f147b3c Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewDisabledStateKeyboardOpened.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputFocused.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputFocused.png new file mode 100644 index 0000000000..1bc13e1910 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputFocused.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputGrown.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputGrown.png new file mode 100644 index 0000000000..6f257e6d6e Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewFirstInputGrown.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewInputChanged.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewInputChanged.png new file mode 100644 index 0000000000..c6a4961a48 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewInputChanged.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosed.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosed.png new file mode 100644 index 0000000000..091ca4f158 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosed.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png new file mode 100644 index 0000000000..32b7b5232e Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewKeyboardClosedWithoutBackScroll.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewSecondInputFocused.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewSecondInputFocused.png new file mode 100644 index 0000000000..35f926f9c3 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewSecondInputFocused.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewTextChanged.png b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewTextChanged.png new file mode 100644 index 0000000000..471941c6a3 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/AwareScrollViewTextChanged.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsHidden.png new file mode 100644 index 0000000000..803c362e77 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsHidden.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsShown.png new file mode 100644 index 0000000000..00b16f856b Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/DisabledKeyboardIsShown.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsHidden.png new file mode 100644 index 0000000000..b2c2b0e224 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsHidden.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsShown.png new file mode 100644 index 0000000000..7341e612c5 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/EnabledKeyboardIsShown.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsHidden.png b/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsHidden.png new file mode 100644 index 0000000000..fb3ee733c5 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsHidden.png differ diff --git a/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsShown.png b/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsShown.png new file mode 100644 index 0000000000..f092906c41 Binary files /dev/null and b/e2e/kit/assets/ios/iPhone 15 Pro/KeyboardAnimationKeyboardIsShown.png differ diff --git a/e2e/package.json b/e2e/package.json index 1ecee7ef9e..9c42b0d5e2 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -28,7 +28,7 @@ "@types/pixelmatch": "^5.2.4", "@types/pngjs": "^6.0.1", "colors": "^1.4.0", - "detox": "^20.13.5", + "detox": "^20.17.0", "jest": "^29", "pixelmatch": "^5.3.0", "pngjs": "^7.0.0", diff --git a/e2e/yarn.lock b/e2e/yarn.lock index 07dff3c28a..80d6779523 100644 --- a/e2e/yarn.lock +++ b/e2e/yarn.lock @@ -297,6 +297,11 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@flatten-js/interval-tree@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@flatten-js/interval-tree/-/interval-tree-1.1.2.tgz#fcc891da48bc230392884be01c26fe8c625702e8" + integrity sha512-OwLoV9E/XM6b7bes2rSFnGNjyRy7vcoIHFTnmBR2WAaZTf0Fe4EX4GdA65vU1KgFAasti7iRSg2dZfYd1Zt00Q== + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -833,6 +838,16 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +bunyamin@^1.5.0: + version "1.5.2" + resolved "https://registry.yarnpkg.com/bunyamin/-/bunyamin-1.5.2.tgz#681db204c0b16531369d5c1f6c89dc8d760b7558" + integrity sha512-Xp2nfqk33zt3nX90OSTkLVOc5N+1zdR3MWvfLHoIrm3cGRkdxPTPYB9CCgrDV8oum5rbghJjAbmXFXOrRXvMtg== + dependencies: + "@flatten-js/interval-tree" "^1.1.2" + multi-sort-stream "^1.0.4" + stream-json "^1.7.5" + trace-event-lib "^1.3.1" + bunyan-debug-stream@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/bunyan-debug-stream/-/bunyan-debug-stream-3.1.0.tgz#78309c67ad85cfb8f011155334152c49209dcda8" @@ -850,6 +865,18 @@ bunyan@^1.8.12: mv "~2" safe-json-stringify "~1" +bunyan@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-2.0.5.tgz#9dd056755220dddd8b5bb9cf76f3d0d766e96e71" + integrity sha512-Jvl74TdxCN6rSP9W1I6+UOUtwslTDqsSFkDqZlFb/ilaSvQ+bZAnXT/GT97IZ5L+Vph0joPZPhxUyn6FLNmFAA== + dependencies: + exeunt "1.1.0" + optionalDependencies: + dtrace-provider "~0.8" + moment "^2.19.3" + mv "~2" + safe-json-stringify "~1" + caf@^15.0.1: version "15.0.1" resolved "https://registry.yarnpkg.com/caf/-/caf-15.0.1.tgz#28f1f17bd93dc4b5d95207ad07066eddf4768160" @@ -1041,10 +1068,10 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -detox@^20.13.5: - version "20.13.5" - resolved "https://registry.yarnpkg.com/detox/-/detox-20.13.5.tgz#5093916d9dfbca75b63ac27915c4e728967c5ef0" - integrity sha512-V0t1QuRI5rsiXEPBakjjjGGo8Y5kLi4KXhLrcvnpO8id6m7UtObj91wj+4cCnMRX2eSohXu9wR+HbD6IKcO9sA== +detox@^20.17.0: + version "20.17.0" + resolved "https://registry.yarnpkg.com/detox/-/detox-20.17.0.tgz#836d2ebb193572e1f4a97e44af343891a5658f7b" + integrity sha512-IasYgexfkrCoZuJTaqqKHQ2yflK+tnqifzdLwrp4hdTWlXUlG9j/YcM1Dn3ThSs3b6VNMtbSe6xoPkKD0oNiIQ== dependencies: ajv "^8.6.3" bunyan "^1.8.12" @@ -1058,6 +1085,7 @@ detox@^20.13.5: funpermaproxy "^1.1.0" glob "^8.0.3" ini "^1.3.4" + jest-environment-emit "^1.0.5" json-cycle "^1.3.0" lodash "^4.17.11" multi-sort-stream "^1.0.3" @@ -1167,6 +1195,11 @@ execa@^5.0.0, execa@^5.1.1: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +exeunt@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/exeunt/-/exeunt-1.1.0.tgz#af72db6f94b3cb75e921aee375d513049843d284" + integrity sha512-dd++Yn/0Fp+gtJ04YHov7MeAii+LFivJc6KqnJNfplzLVUkUDrfKoQDTLlCgzcW15vY5hKlHasWeIsQJ8agHsw== + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -1587,6 +1620,20 @@ jest-each@^29.7.0: jest-util "^29.7.0" pretty-format "^29.7.0" +jest-environment-emit@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/jest-environment-emit/-/jest-environment-emit-1.0.5.tgz#e6f33451f98b88ccd48e9e1188bb535880f03c1b" + integrity sha512-OsQ08AhYxkkyDBTIow+9ogNmJheQIGWQKp0Nku+1ToLWjAj2Pd6LmypN8HgUIqYHs4HFcqkQ25kaf1qExmoZpg== + dependencies: + bunyamin "^1.5.0" + bunyan "^2.0.5" + bunyan-debug-stream "^3.1.0" + funpermaproxy "^1.1.0" + lodash.merge "^4.6.2" + node-ipc "9.2.1" + strip-ansi "^6.0.0" + tslib "^2.5.3" + jest-environment-node@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" @@ -1930,6 +1977,11 @@ lodash.memoize@4.x: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + lodash@^4.17.11: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -2030,7 +2082,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -multi-sort-stream@^1.0.3: +multi-sort-stream@^1.0.3, multi-sort-stream@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/multi-sort-stream/-/multi-sort-stream-1.0.4.tgz#e4348edc9edc36e16333e531a90c0f166235cc99" integrity sha512-hAZ8JOEQFbgdLe8HWZbb7gdZg0/yAIHF00Qfo3kd0rXFv96nXe+/bPTrKHZ2QMHugGX4FiAyET1Lt+jiB+7Qlg== @@ -2439,7 +2491,7 @@ stream-chain@^2.2.5: resolved "https://registry.yarnpkg.com/stream-chain/-/stream-chain-2.2.5.tgz#b30967e8f14ee033c5b9a19bbe8a2cba90ba0d09" integrity sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA== -stream-json@^1.7.4: +stream-json@^1.7.4, stream-json@^1.7.5: version "1.8.0" resolved "https://registry.yarnpkg.com/stream-json/-/stream-json-1.8.0.tgz#53f486b2e3b4496c506131f8d7260ba42def151c" integrity sha512-HZfXngYHUAr1exT4fxlbc1IOce1RYxp2ldeaf97LYCOPSoOqY/1Psp7iGvpb+6JIOgkra9zDYnPX01hGAHzEPw== @@ -2592,6 +2644,11 @@ ts-jest@^29.1.1: semver "^7.5.3" yargs-parser "^21.0.1" +tslib@^2.5.3: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + type-detect@4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"