There is something in my feature branch that stops the app updating without losing settings but I can't find out what.
When I do 'adb install -r app.apk' all the settings are gone, as if I uninstalled and installed again.
The issue is not with ADB, i also tried this on BB UEM app.
The latest version of the app contains a feature which includes quiet a lot of change including new services/permission/dependencies etc
I have tried playing with the version codes and version names, like keeping them the same and making sure the latest app has a higher version code and name, but it made no difference.
Any idea what it could be that's causing the app to reset?