NativeScript / plugins

@nativescript plugins to help with your developments.
https://docs.nativescript.org/plugins/index.html
Apache License 2.0
190 stars 108 forks source link

[@nativescript/camera] Taking picture from dialog not working on iOS #109

Open pandabuilt opened 3 years ago

pandabuilt commented 3 years ago

When loading up a component inside a modal from a footer navigation I've noticed Attempt to present <UIImagePickerController: 0x10f02a800> on <UINavigationControllerImpl: 0x10986a000> (from <UINavigationControllerImpl: 0x10986a000>) whose view is not in the window hierarchy.

This issue was first reported here: https://github.com/NativeScript/nativescript-camera/issues/227

And the examples are still relevant to facing it here in @nativescript/camera. Thought I'd bring it here to bring the community a way to track it in up to date ns7 projects.

pandabuilt commented 3 years ago

This is also happening to @nativescript/datetimepicker

pandabuilt commented 3 years ago

I have used router-outliet instead of legacy <page-router-outlet></page-router-outlet> and it took of all issues