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

Use of undeclared identifier 'Razorpay' in RazorpayCheckout.m #256

Closed
5 of 7 tasks
rrscodes opened this issue Apr 3, 2020 · 2 comments
Closed
5 of 7 tasks

Use of undeclared identifier 'Razorpay' in RazorpayCheckout.m #256

rrscodes opened this issue Apr 3, 2020 · 2 comments

Comments

@rrscodes
Copy link

rrscodes commented Apr 3, 2020

IDE Specs

Xcode Version (iOS): Version 11.4 (11E146) Razorpay Package Version: 2.1.32

Retro Steps

  1. npm i react-native-razorpay
  2. changing the platform in Podfile to 10.0
  3. cd ios && pod install
  4. run-ios or build from Xcode

Screenshots

Screenshot 2020-04-03 at 15 34 11

error: use of undeclared identifier 'Razorpay'
Razorpay *razorpay = [Razorpay initWithKey:keyID
^
/Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:28:19: error: use of undeclared identifier 'razorpay'
Razorpay *razorpay = [Razorpay initWithKey:keyID
^
/Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:28:31: error: use of undeclared identifier 'Razorpay'
Razorpay *razorpay = [Razorpay initWithKey:keyID
^
/Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:30:10: error: use of undeclared identifier 'razorpay'
[razorpay setExternalWalletSelectionDelegate:self];
^
/Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:32:10: error: use of undeclared identifier 'razorpay'
[razorpay open:options];
^
/Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:41:1: warning: implementing deprecated method [-Wdeprecated-implementations]

  • (void)onPaymentError:(int)code
    ^
    In module 'Razorpay' imported from /Users/roshan/react-native/mynyfy-seller-mobile/node_modules/react-native-razorpay/ios/RazorpayCheckout.m:13:
@Nautiyalsachin
Copy link
Contributor

Hi @roshansingh21: We are releasing a new version v2.1.33 for resolving this issue, it will be live soon.

@rrscodes
Copy link
Author

rrscodes commented Apr 3, 2020

@Nautiyalsachin Thanks!

@rrscodes rrscodes closed this as completed Apr 3, 2020
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

2 participants