I've been using ionic run android --device
to send my ionic app to my Android phone for two years now.
It always used to do an "update install". I.e. it would update the app but retain all local app information (localStorage, granted permissions, position on homescreen). However, all of a sudden it now does a complete re-install every time. So, when I run the command the result is as if it did a complete un-install and then a fresh install. This means that all settings are lost.
Why has this suddenly started happening? Is there any way of getting it back to working in the previous way?
Many thanks in advance.
Pertinent info:
$ ionic -version
2.0.0
(I don't actually recall updating to ionic 2(!) Perhaps this is the culprit?)
$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
(I just updated to Java 8 so this could also be the culprit...)
$ cordova -version
5.4.0
OS
Windows 10
Android version (on phone)
6.0.1 - security patch 5 October 2016.