Skip to content

fix(iOS): open from available presentedViewController #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 3, 2019

Conversation

mailiam
Copy link
Contributor

@mailiam mailiam commented Dec 28, 2018

Check for presentedViewController and present from it.

Allow opening from already presented modal.

Addresses issue #214 and #79

PR Checklist

What is the current behavior?

Can not open ImagePicker modal from existing modal

What is the new behavior?

Open ImagePicker from already presentedViewController if available.

Check for presentedViewController and present from it.

Allow opening from already presented modal.

Addresses issue NativeScript#214 and NativeScript#79
@ghost ghost added the new PR label Dec 28, 2018
Copy link
Contributor

@elena-p elena-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can check the status of the CI checks here in github and you can view the results by going directly to https://travis-ci.org/NativeScript/nativescript-imagepicker/pull_requests.
Each time you make changes to the PR, a new build will be triggered but it might take some time for it to finish, since it runs on a shared environment along with other open-source projects.
Unfortunately, our UI tests use env variables that are not exposed by PR made from forks https://docs.travis-ci.com/user/pull-requests#pull-requests-and-security-restrictions, so they will fail, but we will then review the tests and merge manually.

@elena-p elena-p merged commit fb37d3f into NativeScript:master Jan 3, 2019
@ghost ghost removed the new PR label Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants