You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the correct way to stop an in progress offline pack download?
I am currently calling MapboxGL.offlineManager.deletePack and that seems to do the trick however I am getting a error that crops up on Android: void abort_message(const char *, ...): assertion "terminating with uncaught exception of type std::runtime_error: Malformed offline region definition" failed
Strangely if I wrap the MapboxGL.offlineManager.deletePack call in a setTimeout it seems happier however that seems a bit odd.
The only other reference to this error was one that I found in this issue. mapbox/mapbox-gl-native#9858. That issue however looks to be fixed.
I noticed in the Android RCTMGLOfflineModule.java class there is a pausePackDownload so I tried to use that and then delete the pack but still go that strange C++ error.
Thanks,
Stephen
The text was updated successfully, but these errors were encountered:
Hi,
What is the correct way to stop an in progress offline pack download?
I am currently calling
MapboxGL.offlineManager.deletePack
and that seems to do the trick however I am getting a error that crops up on Android:void abort_message(const char *, ...): assertion "terminating with uncaught exception of type std::runtime_error: Malformed offline region definition" failed
Strangely if I wrap the
MapboxGL.offlineManager.deletePack
call in a setTimeout it seems happier however that seems a bit odd.The only other reference to this error was one that I found in this issue. mapbox/mapbox-gl-native#9858. That issue however looks to be fixed.
I noticed in the Android RCTMGLOfflineModule.java class there is a pausePackDownload so I tried to use that and then delete the pack but still go that strange C++ error.
Thanks,
Stephen
The text was updated successfully, but these errors were encountered: