Skip to content

[Bug]: Delete Offline Package don't remove data from storage #3859

@djangoamidala

Description

@djangoamidala

Mapbox Implementation

Mapbox

Mapbox Version

default

React Native Version

0.79.2

Platform

iOS, Android

@rnmapbox/maps version

10.1.39

Standalone component to reproduce

Hi, I’ve been waiting for quite a while for a fix to the deletePack() behavior in offline mode. Currently, no matter what I try, the cached data remains — only the pack metadata is deleted.
I tried deleting the data using react-native-fs, but it doesn’t work properly since it only removes the files, not the database entries.

The only workaround I found is clearing the entire cache, but the issue is that we can’t selectively keep one or more packs — everything is removed. :/
Really hope for a fix, thank you very much for your work

Observed behavior and steps to reproduce

No response

Expected behavior

No response

Notes / preliminary analysis

No response

Additional links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions