I just created new project ad just added this single package but the android build is failing with below error.
- What went wrong:
Could not determine the dependencies of task ':react-native-google-pay:bundleLibCompileToJarDebug'.
Could not create task ':react-native-google-pay:compileDebugJavaWithJavac'.
In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
Steps to reproduce:
- Create new RN 81.5 Project
- Install the plugin.
- Try to build android
- See error
Expected result
It should build successfully, also after change the SDK API levels build succeeded but the GooglePay is still undefined i the build
React Native Version: 0.81.5
Device: N/A
Version : latest
Please anyone provide final patch file that works fine for latest React Native.
I just created new project ad just added this single package but the android build is failing with below error.
Could not determine the dependencies of task ':react-native-google-pay:bundleLibCompileToJarDebug'.
Steps to reproduce:
Expected result
It should build successfully, also after change the SDK API levels build succeeded but the GooglePay is still undefined i the build
React Native Version: 0.81.5
Device: N/A
Version : latest
Please anyone provide final patch file that works fine for latest React Native.