Answers for "delete asyncstorage react native"

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 "delete asyncstorage react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language