how to remove an item from AsyncStorage? right now I am trying this code
AsyncStorage.removeItem(\'userId\');
but this is not working for me.>
Use removeItem() method to remove values from AsyncStorage in react.
removeItem()
AsyncStorage
try { await AsyncStorage.removeItem(key); console.log('Data removed') } catch(exception) { console.log(exception) }