razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
122 stars 107 forks source link

Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'? #346

Open LoknathPandit opened 3 years ago

LoknathPandit commented 3 years ago

Getting this issue in xcode 12.5 in mi pro but it is working fine in android please help me asap because this project is currently using end user

it is very necessary to resolve this error

LoknathPandit commented 3 years ago
Screenshot 2021-07-15 at 1 26 33 PM
rameshyallappa commented 3 years ago

Hi im also Getting this same issue in xcode 12.5 in MacBook Pro working fine in android, im facing problem in Ios.I am able to build the code successfully in debug build configuration but the build fails in production build. please help me with the solution....Thank you

Screenshot 2021-07-29 at 4 49 54 PM
ramprasadAnand commented 3 years ago

@LoknathPandit can you share the react-native version you are using in your project ?

raaidkh-tsa commented 2 years ago

Facing Same Issue with Xcode 13 react native version is 0.64.4

ramprasadAnand commented 2 years ago

Hi @raaidkh-tsa we are able to build and run in Xcode 13 with react-native version 0.64.x, To help you on this issue we need more information about your project configuration. Please try to upgrade your react project or with the below configuration and let us know if you face the same issue.

Note: Please make sure you do pod install after you add our react-native node dependency to the project.

dependencies": {
    "react": "17.0.1",
    "react-native": "0.64.0",
    "react-native-razorpay": "^2.2.8"
  },

  "devDependencies": {
    "@babel/core": "7.16.0",
    "@babel/runtime": "7.16.0",
    "@react-native-community/eslint-config": "2.0.0",
    "babel-jest": "26.6.3",
    "eslint": "7.14.0",
    "jest": "26.6.3",
    "metro-react-native-babel-preset": "0.64.0",
    "react-test-renderer": "17.0.1"
  },
spidi123q commented 2 years ago

Facing same issue, dev build are success , issue only comes on release build. Please help, its blocking our iOS release Specs: Intel Macbook Prop Xcode 13 "react-native": "0.63.4",

spidi123q commented 2 years ago

I fixed the issue by changing razorpay-pod config by making active architectures yes to possible ones

Screenshot 2021-12-17 at 11 37 06 AM
mahimaJ-vs commented 2 years ago

Hi @raaidkh-tsa we are able to build and run in Xcode 13 with react-native version 0.64.x, To help you on this issue we need more information about your project configuration. Please try to upgrade your react project or with the below configuration and let us know if you face the same issue.

Note: Please make sure you do pod install after you add our react-native node dependency to the project.

dependencies": {
    "react": "17.0.1",
    "react-native": "0.64.0",
    "react-native-razorpay": "^2.2.8"
  },

  "devDependencies": {
    "@babel/core": "7.16.0",
    "@babel/runtime": "7.16.0",
    "@react-native-community/eslint-config": "2.0.0",
    "babel-jest": "26.6.3",
    "eslint": "7.14.0",
    "jest": "26.6.3",
    "metro-react-native-babel-preset": "0.64.0",
    "react-test-renderer": "17.0.1"
  },

still facing same issue