Skip to content
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

fix(ios): set camera configuration in main thread #2167

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

jcesarmobile
Copy link
Member

On iOS 13 the camera is taking a few seconds to appear because of some configurations being done in a background thread, which shows 3 background thread warnings on Xcode and delay the code execution.

This PR moves all the camera configuration code to be executed in main thread.

@jcesarmobile jcesarmobile merged commit c57da0e into ionic-team:master Nov 12, 2019
@jcesarmobile jcesarmobile deleted the camera-thread branch November 12, 2019 16:57
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.

1 participant