Something went wrong. Please contact the developer of this application and provide them with this error code:

Hi Bryan pls look out this i stuck.
[Error: Something went wrong. Please contact the developer of this application and provide them with this error code: reader_settings_present_from_presenting_view_controller]

also pls let me know how to add below line in Objective-C
SQRDReaderSDK.initialize(applicationLaunchOptions: launchOptions)

It looks like there is an issue with the way the Reader SDK’s settings or checkout flow is being presented in the application. This typically happens when trying to present the Reader SDK UI from a view controller that is already presenting another view controller.

You’ll need to make sure that the Reader SDK’s UI is presented from a view controller that is not already presenting another modal view controller.

  1. Make sure that the current view controller is not presenting another view controller before attempting to present the Reader SDK’s UI.
  2. If the current view controller is presenting another view controller, you need to dismiss it first or choose an appropriate view controller to present the Reader SDK’s UI.
  3. Ensure that the Reader SDK’s UI is presented on the main thread, as UI updates should be performed on the main thread.
    :slightly_smiling_face: