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): add waitsForConnectivity to httpclient to allow local network prompt to be accepted #185

Merged
merged 2 commits into from Aug 27, 2020

Conversation

ewanharris
Copy link
Contributor

This is the absolute bare minimum needed to get liveview working on iOS 14. With this change we'll wait for the prompt to be accepted rather than crash (🎉 ). Currently there's 10 seconds to accept the prompt, after that liveview will timeout the connection itself (that's why I didn't add a setting for timeoutIntervalForResource).

We could probably improve that as a whole (not that it's a new improvement), but imo it's better to have a working liveview for now.

Part of TIMOB-28091

Copy link

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

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

CR passed.
Note : PR tidev/titanium-sdk#11897 need to merge first.

@ewanharris ewanharris merged commit aca4bc7 into tidev:master Aug 27, 2020
@ewanharris ewanharris deleted the TIMOB-28091 branch August 27, 2020 18:40
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.

None yet

2 participants