Skip to content

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

Closed
@tarun29061990

Description

@tarun29061990

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]); 
        })

Metadata

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