nitish24p / react-native-upi

A tiny module for Adding payments via UPI in your react native apps ❤️
MIT License
77 stars 30 forks source link

Could not find method compile() for arguments [project ':react-native-upi-payment'] #49

Open shubhamchepe opened 1 year ago

shubhamchepe commented 1 year ago

dependencies { classpath("com.android.tools.build:gradle:7.3.1") classpath("com.facebook.react:react-native-gradle-plugin") classpath 'com.google.gms:google-services:4.3.15' compile project(':react-native-upi-payment') }

pratteekshaurya1994 commented 1 year ago

goto node_modules>react-native-upi-payment>android>build.gradle

dependencies { compile "com.facebook.react:react-native:+" // From node_modules compile 'com.google.code.gson:gson:2.8.0' }

change "compile" to "implementation"

dependencies { implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.google.code.gson:gson:2.8.0' }

nitish24p commented 1 year ago

@pratteekshaurya1994 Would you like to give a PR for the same, i can merge it and push a new bundle out on npm

YadhuYk007 commented 1 year ago

@nitish24p I have added a PR for the same. Please review it.