Using both @shopify/flash-list and rive-react-native causes eas build to fail

After trying to create a development build with eas build --profile development --platform android , the build is failing at the Gradle stage whenever both @shopify/flash-list and rive-react-native packages are present. However, the build works normally when only one of them is used i tried with a new workflow but the same issue presists

error log
Configure project :rive-react-native
Warning: The ‘kotlin-android-extensions’ Gradle plugin is deprecated. Please use this migration guide (Migrate from Kotlin synthetics to Jetpack view binding  |  Android Developers) to start working with View Binding (View binding  |  Android Developers) and the ‘kotlin-parcelize’ plugin.
FAILURE: Build failed with an exception.

  • What went wrong:
    The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher.
    The following dependencies do not satisfy the required version:
    project ‘:shopify_flash-list’ → org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30
    BUILD FAILED in 2m 40s

-managed workflow

  • eas-cli 3.10.0