Skip to content

AsynStorage {“40”:0,“_65”:0,“_55”:null,“_72”:null} in React native #22266

Closed
@tarun29061990

Description

My Code

const getCookie = async (name) => {
    const cookie = await AsyncStorage.getItem(name);
    const item = JSON.parse(cookie);
    return Promise.all([item]);
};

getCookie(Config.cookie.name)
        .then((data) => {
            console.log(data[0]); 
        })

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions