razorpay / razorpay-flutter-customui

Razorpay Flutter Plugin for Customui
MIT License
6 stars 18 forks source link

Webkit issue on iOS devices. #56

Open rohit-kroozz opened 1 year ago

rohit-kroozz commented 1 year ago

Hi,

We are trying to integrate payment gateway with Razorpay flutter custom UI. However, when we invoke the razorpay.submit() function, the functionalities in the backend are working as expected, I am getting the OTP on my phone as well as a payment is getting created on the Razorpay dashboard. However, the UI doesn't push the screen to enter the OTP. And it's something related to Webkit. We are not facing the issue on Android devices, it's there only on iOS devices with iOS version 16.x.

The error message is as follows:

[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}> [ProcessSuspension] 0x14c01c720 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=18962, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}

Please help us debug this as it is a blocker for using Razorpay with Flutter applications on iOS devices.