nishil bhave
nishil bhave

Reputation: 632

Razorpay cordova plugin not working for iOS

I'm trying to implement razorpay checkout in my ionic application using Razorpay-cordova. After installing this plugin, ios application gets stuck on its splash screen and then gets close. Although this plugin works perfectly on Android and browser platforms.

I have done following basic steps:

Started a blank app - ionic start myApp sidemenu

Added an ios platform - ionic cordova platform add ios

Than added razorpay plugin - cordova plugin add com.razorpay.cordova --save

After this I emulate this basic app just in ios simulator - ionic cordova emulate ios

Result: The app gets stuck on the splash screen for few secs and then gets close. (Only on IOS. Also tested on IOS device, results in same!).

I don't know what I'm missing here?

Upvotes: 1

Views: 1303

Answers (1)

nishil bhave
nishil bhave

Reputation: 632

Embed swift libraries in Xcode(Which I forgot). Will work!

Xcode screen shot

Upvotes: 0

Related Questions