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

Reachability crash #103

Open
deadpixelsociety opened this issue Mar 7, 2016 · 1 comment
Open

Reachability crash #103

deadpixelsociety opened this issue Mar 7, 2016 · 1 comment

Comments

@deadpixelsociety
Copy link

I'm getting an app crash when using the Reachability 1.14.0 robopod while checking for basic network accessibility:

private fun isNetworkAvailable() = NetworkReachability.forInternetConnection()?.isReachable ?: false

This results in a 'Process finished with exit code -1' error in my console and the following crash log: https://www.dropbox.com/s/m9sc9dq9y8j46ol/Reachability%20Crash.crash?dl=0

Commenting out the Reachability portion and simply returning 'true' yields no errors.

@wheelergames
Copy link

Hey @deadpixelsociety did you ever fix this? I'm just trying to use it myself for versions of ios < 12.0 and crashing too, just like yours.

I reckon it's possibly to do with threads/main ui thread etc, but that's just a hunch, there's nothing in error logs to say that.

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

No branches or pull requests

2 participants