Answers for "asyncstorage remove item"

1

how to remove item from asyncstorage

async removeItemValue(key) {
    try {
        await AsyncStorage.removeItem(key);
        return true;
    }
    catch(exception) {
        return false;
    }
}
Posted by: Guest on May-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language