This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
A crash in GeoJsonSource::setGeoJson(FeatureCollection features) #14897
Labels
Android
Mapbox Maps SDK for Android
Milestone
GeoJsonSource::setGeoJson(FeatureCollection features) seems to be changed in 8.1.0-alpha.2 compared to eg 8.0.0. The parameter is not annotated (neither Nullable nor NotNull) so it results in a crash when one passed null in that method.
Steps to reproduce
GeoJsonSource
instanceExpected behavior
Either annotate the method so there will be some warning or Android Studio indication OR check for null in the implementation
Actual behavior
A crash like
Configuration
Android versions: 8.0
Device models: Custom but doesn't matter
Mapbox SDK versions: 8.1.0-alpha.2
The text was updated successfully, but these errors were encountered: