Hi All,
I am integrating IAP into my React Native APP using react-native-purchases. I am creating a development build using EAS for Android and getting the below error:
I am using react-native-purchases version 7.22.0 and expo ~47.0.14. As per my understanding, expo ~47.0.14 already supports Android SDK Version 34. Do you think I need to upgrade my Expo SDK version to the latest to make it work?
“
Execution failed for task ':app:checkDebugAarMetadata'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
3 issues were found when checking AAR metadata:
1. Dependency 'androidx.core:core-ktx:1.12.0' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs.
:app is currently compiled against android-31.
Also, the maximum recommended compile SDK version for Android Gradle plugin 7.2.1 is 32.
Recommended action: Update this project's version of the Android Gradle562 plugin to one that supports 34, then update this project to use563 compileSdkVerion of at least 34.”
Please note that the iOS Development build works fine using the EAS build.
Thanks in advance.
Regards,
Kapil