Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to link manually as well #193

Closed
mdmoin7 opened this issue May 28, 2019 · 6 comments
Closed

Unable to link manually as well #193

mdmoin7 opened this issue May 28, 2019 · 6 comments

Comments

@mdmoin7
Copy link

mdmoin7 commented May 28, 2019

React native link is not working, as per the documentation tried to link manually, but receiving below errors

  • Where:
    Build file '/Users/admin/Desktop/Projects/payment-app/android/app/build.gradle' line: 9

  • What went wrong:
    A problem occurred evaluating project ':app'.

Could not find method compile() for arguments [project ':react-native-razorpay'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

@prashantsingh0205
Copy link

prashantsingh0205 commented May 28, 2019

@mdmoin7 for android it's recommended to do auto link using react-native link react-native-razorpay and that works smooth.
Auto linking throws error in iOS mostly.

@mdmoin7
Copy link
Author

mdmoin7 commented May 28, 2019

Agreed with the fact that it's the Ios Creating the problem when I try to link using mac os. But as per the recommendation In that case manual linking has been suggested, which doesn't work either. I tried manual linking and building for Android but that also seems to be throwing an error, as you can see in my initial thread

@pronav
Copy link
Contributor

pronav commented May 29, 2019

Post the versions for react-native, razorpay plugin and andriod sdk you're using

@venky2604
Copy link

is autolinking supported rn 0.60

@sumedht
Copy link
Contributor

sumedht commented Sep 16, 2019

@venky2604 Currently we are using react-native v0.57. Autolinking is supported from v0.60

@Nautiyalsachin
Copy link
Contributor

@venky2604 : Auto Linking is supported now in the latest version i.e. 2.1.32.

Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a
new issue if you have any additional queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants