We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I received this warning...
UI API called from background thread: UIApplication.canOpenURL(_:) must be used from main thread only
...when navigating back to my application.
It seems like the main thread should be retrieved before calling the UIApplication.shared.canOpenURL method. Maybe something like this would help?
UIApplication.shared.canOpenURL
DispatchQueue.main.async { UIApplication.shared.open(settingsUrl, completionHandler: { (success) in call.resolve([ "status": success ]) }); }
Thanks
The text was updated successfully, but these errors were encountered:
That should do the trick. Would you be able to make a pull request for this? @leye0
Sorry, something went wrong.
Here's a PR: #12
Successfully merging a pull request may close this issue.
I received this warning...
...when navigating back to my application.
It seems like the main thread should be retrieved before calling the
UIApplication.shared.canOpenURL
method. Maybe something like this would help?Thanks
The text was updated successfully, but these errors were encountered: