Problem closing a modal page that is instanced by a native iOS app




We are instancing a iOS Native App inside a nativescript app. It is an app to login with a specific interface. Everything goes well, we display it, we login, and when we want to come back to nativescript we have the following error:

“Parent page is not part of the window hierarchy. Close the current modal page before showing another one!”

We are calling a function in the iOS app to dismiss and close the modal, but it seems it is not closing it.

We know there is a framestack that saves the views, and we are trying to access there.

Any tips on how to close a modal that is instanced in another app?


This is solved.
We can close this thread.