In my ionic app I set tokens in local memory:
set: function(key, value) {
$window.localStorage[key] = value;
},
This works fine. When i ran the app in ios simulator for the first time.. it detected that there was nothing in the localstorage and behaved accordigly. However everytime I run the app in the simulator now.. it always detects the token . I would like to clear the localStorage in the IOS simulator for my app.
Whats the process to do this ?