Type: feat
Platform: all
I have an app that needs a login to see personal informations.
Since ionic beta 14 and the introduction of Cached Views I have big trouble when a user logoff and login with a different user.
The new user after the login still see the cached views of the previous user.
At the moment it seems that the only solution to avoid this is to disable everywhere the cached views ( $ionicConfigProvider.views.maxCache(0); ).
It would be very useful to have a ionic.flushCachedViews() method to clear all the cached views.
I would call this when a user logoff.
Type: feat
Platform: all
I have an app that needs a login to see personal informations.
Since ionic beta 14 and the introduction of Cached Views I have big trouble when a user logoff and login with a different user.
The new user after the login still see the cached views of the previous user.
At the moment it seems that the only solution to avoid this is to disable everywhere the cached views (
$ionicConfigProvider.views.maxCache(0);).It would be very useful to have a ionic.flushCachedViews() method to clear all the cached views.
I would call this when a user logoff.