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

Android Crash when switching connection #460

Closed
fab1an opened this issue Nov 21, 2016 · 5 comments
Closed

Android Crash when switching connection #460

fab1an opened this issue Nov 21, 2016 · 5 comments

Comments

@fab1an
Copy link
Contributor

fab1an commented Nov 21, 2016

MapboxGL crashes when switching network connection.

This pull requests fixes it: mapbox/mapbox-gl-native#6858

Could this be integrated in react-native-mapbox-gl? Right now the bug is a showstopper for production :(. Thank you.

@fab1an
Copy link
Contributor Author

fab1an commented Dec 9, 2016

Any news on this?

@emmajam
Copy link

emmajam commented Dec 20, 2016

@fab1an has this been fixed? My app also crashes when I change the connection

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 bqHint=4 (has extras) } in com.mapbox.mapboxsdk.maps.MapView$ConnectivityReceiver@2a778c7

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.maps.NativeMapView.setReachability(boolean)' on a null object reference

from my Android monitor crash logs in Android studio

@fab1an
Copy link
Contributor Author

fab1an commented Dec 20, 2016

No, it doesn't appear to be fixed.

@fab1an
Copy link
Contributor Author

fab1an commented Dec 30, 2016

I added a pull-request for the sdk update which fixes this crash: #481

@langsmith langsmith assigned tobrun and unassigned tobrun Apr 3, 2017
@langsmith
Copy link

Closing this because the discussion has moved over to #481

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

4 participants