Skip to content

The need to recover gracefully from iOS Obj C view controller navigation error #1107

Open
@NathanWalker

Description

@NathanWalker

I wanted to track this here since it is more problematic with the Angular integrations with NativeScript. This can happen under all sorts of conditions that the user/developer has no control over. Could be some asynchronous handling when attempts were made to navigate but no longer can or a data resolver firing at an unexpected time and/or under other unexpected conditions which were intended to result in navigation of the app.

pushViewController:animated: called on <UINavigationControllerImpl 0x7ff37abf7a00> while an existing transition or presentation is occurring; the navigation stack will not be updated.

In all cases, NativeScript for Angular should handle this gracefully. Right now, when this occurs, it leaves the app completely unable to navigate further. Doesn't crash the app but might as well since the app is completely unusable after this occurs. Likely angular router updates but yet the underlying native navigation did not leaving the app in a very unstable condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions