ios – Is there a way to resolve RNSScreen UIController clashing with an external SDK?


I am trying to implement an SDK in my react-native IOS project, the SDK is supposed to present its own UI when it is invoked (NB: I have already implemented for android and its works well).

However, the SDK’s UI is not invoked and i see this in my logs

[Presentation] Attempt to present <RCTModalHostViewController: 0x12373dab0> on <UIViewController: 0x12410cd70> (from <RNSScreen: 0x1235a8f30>) which is already presenting <UIViewController: 0x12417edc0>. 2024-01-21 17:18:48.928397+0100 app[9286:103124] [Assert] UINavigationBar decoded as unlocked for UINavigationController, or navigationBar delegate set up incorrectly. Inconsistent configuration may cause problems. navigationController=<begini_ios_sdk.PinkNavigationController: 0x123987200>, navigationBar=<UINavigationBar: 0x12357d140; frame = (0 0; 0 50); opaque = NO; autoresize = W; layer = <CALayer: 0x6000011f66c0>> delegate=0x123987200 2024-01-21 17:18:48.936911+0100 app[9286:103124] [Presentation] Attempt to present <begini_ios_sdk.PinkNavigationController: 0x123987200> on <app.BeginiSdkIntegration: 0x1237e77c0> (from <app.BeginiSdkIntegration: 0x1237e77c0>) whose view is not in the window hierarchy.

How can i resolve this?

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img