Closed JulianBissekkou closed 1 year ago
Thank you for the contribution! Have you tried implementing this on the web?
Thank you for the contribution! Have you tried implementing this on the web?
@m0nac0 Thanks, I missed this and I will take care of this asap 👍🏽
@m0nac0 Web support was added!
@m0nac0 Can you check again?
@m0nac0 Is it ready to merge?
@m0nac0 ?
@mariusvn Could you may check that out? @m0nac0 is not responding and we need the fixes.
There is a weird issue with the branch, after moving the app in the background and back to the foreground (resume) on Android.
Explanation: https://www.loom.com/share/e93233eea2af4d59948b90c58b05aff2?sid=a20f5770-6aca-4c16-96a5-82662b234f2b
I'm currently checking out the issue
Working:
override fun onMapReady(mapboxMap: MapboxMap) {
val defaultStyle = "https://demotiles.maplibre.org/style.json"
mapboxMap.setStyle(Style.Builder().fromUri(defaultStyle)) {
mapboxMap.uiSettings.isAttributionEnabled = true
}
}
Not working after onResume
override fun onMapReady(mapboxMap: MapboxMap) {
val defaultStyle = "https://demotiles.maplibre.org/style.json"
mapboxMap.setStyle(Style.Builder().fromUri(defaultStyle)) {
mapboxMap.uiSettings.isAttributionEnabled = false
}
}
this implements #245