NativeScript / NativeScript/plugins
[@nativescript/camera] Taking picture from dialog not working on iOS
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked NativeScript camera issue and the @nativescript/camera iOS implementation, focusing on presentation from a component inside a modal and footer navigation. Confirm the failure on an up-to-date NS7 project, then verify that taking a picture works in that context without the UIImagePickerController window-hierarchy warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100