-
Notifications
You must be signed in to change notification settings - Fork 118
getFilter
crash when using within
on JSONArray
#303
Comments
@Chaoba has a possible workaround we could implement to unblock the release in the short term, but we've escalated an investigation upstream first to see if there is a better long-term solution. |
This issue is on the iOS project board with the following note:
At a glance, I don’t see how this issue could be relevant to iOS/macOS, because the crash relates to Android-specific conversion code that uses GSON, an Android-specific library. I think the analogous conversion code on iOS/macOS is adequately exercised by these unit tests, which pass on master. |
Glad to hear @1ec5 that this is not an issue for you. For us, the issue comes from setting the following:
But getting back :
@Chaoba could you look into why we are converting our input to the first block in |
The reason why we need this key "json" is that we need to convert Object(map in android) to a Geojon object in this pr As @zmiao 's response in https://github.com/mapbox/mapbox-gl-native-team/issues/273#issuecomment-607136085 this issue should not be related with gl-native. |
let's move forward with the hack in the android conversion system, for v10.0.0 of the SDK we will support a different conversion system that wouldn't require any workarounds. |
Logcat:
Implementation:
Snippet of function that generates
customPolygon
:cc @mapbox/maps-android
The text was updated successfully, but these errors were encountered: