Skip to content

Is this works with React Native 0.81.5 ? #64

@dprajapati1179

Description

@dprajapati1179

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:

  1. Create new RN 81.5 Project
  2. Install the plugin.
  3. Try to build android
  4. 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

Image

React Native Version: 0.81.5
Device: N/A
Version : latest
Please anyone provide final patch file that works fine for latest React Native.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions