Skip to content

Calling client.clearStore() does not reset the persistence layer #504

Open
@markedwards

Description

@markedwards

The FAQ states:

In some cases like user logout we want to wipe out application cache. To do it effectively with Apollo Cache Persist please use client.clearStore() method that will eventually reset persistence layer.

This does not appear to work. Data remains in AsyncStorage, and is restored by persistCache().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions