Ionic2- unable to remove value from storage

You can’t remove just a value in your storage. You can remove just keys like your favorites or history keys.

From the Ionic Storage Docs:

remove(key)
Remove any value associated with this key.

If you want to remove a word in your array you have to remove it with array.splice(index,1) and then you can store this array again in your storage with storage.set('key',data)

3 Likes