This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
OfflineManager.ListOfflineRegionsCallback doesn't work #10470
Labels
Android
Mapbox Maps SDK for Android
Milestone
Platform: Android
Mapbox SDK version: 5.2.0-beta.3
I made a sample project which can reproduce a below bug.
https://github.com/rakuishi/mapbox-gl-native-issue
I think OfflineManager depends on MapView's lifecycle.
Because, after removing
mapView.onStop()
, callback works fine.Steps to trigger behavior
OfflineManager.getInstance(context).listOfflineRegions()
by a touch event, but it's callback(OfflineManager.ListOfflineRegionsCallback
) doesn't work.Expected behavior
OfflineManager.getInstance(context).listOfflineRegions()
works correctly.Actual behavior
OfflineManager.getInstance(context).listOfflineRegions()
doesn't work.The text was updated successfully, but these errors were encountered: