I have problems with localStorage in my app

I am using ngStorage for storage in my app. But this only works when restart my app. It does not work in real time :frowning:

I am testing on a android device, also I’m using ng-cordova-oauth.

With ngStorage I’m saving the access token:

$localStorage.token = $scope.access_token

And logout:

remove $localStorage.token

You should use an event?

Someone know what’s going on?


Could you provide a small demo that we could use to test this?