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

ios - No network crash #175

Closed
jonmanzo opened this issue Aug 28, 2014 · 7 comments
Closed

ios - No network crash #175

jonmanzo opened this issue Aug 28, 2014 · 7 comments
Labels
Milestone

Comments

@jonmanzo
Copy link

Looks like the version check utilization of R9HTTPResuest gets stuck in a loop in the event of no network connectivity and eventually crashes.

Happens on any device/emulator.

Commenting out [self versionCheck] or [request startRequest] in GoogleMaps.m as to bypass fixes.

@wf9a5m75
Copy link
Member

Thank you for the report. I will fix it in the next release.

@wf9a5m75
Copy link
Member

For temporally solution, please check the network availability before calling map.getMap().
https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.md

@wf9a5m75 wf9a5m75 added this to the v1.2 milestone Aug 28, 2014
@wf9a5m75 wf9a5m75 added the bug label Aug 28, 2014
@jonmanzo
Copy link
Author

Thanks, but I don't think that work around will resolve the issue since versionCheck is called from pluginInitialize...

@wf9a5m75
Copy link
Member

Ah, that's right.

@wf9a5m75
Copy link
Member

I change my mind. I will release hot fix in couple of days.

wf9a5m75 added a commit that referenced this issue Aug 29, 2014
@wf9a5m75 wf9a5m75 modified the milestones: v1.2, v1.1.5 Aug 29, 2014
@wf9a5m75
Copy link
Member

This issue is fixed in v1.1.5.
And v1.1.5 is now available.
Thank you for your report.

@wf9a5m75 wf9a5m75 changed the title ios - No network crash ios - No network crash Sep 2, 2014
@jskidd3
Copy link

jskidd3 commented Oct 21, 2014

I am seeing this exact same error in the latest version off the app on iOS 8. If I switch on the network conditioner and set to 100% loss, when I load the app it crashes after a second or two of calling getMap().

wf9a5m75 added a commit that referenced this issue Mar 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants