TextSecure
TextSecure copied to clipboard
keeping settings and data
I have:
- [X] searched open and closed issues for duplicates
- [X] read https://github.com/WhisperSystems/Signal-Android/wiki/Submitting-useful-bug-reports
Bug description
Upgrading from 3.9.1-dev to 3.12.0-dev (both websockets reborn branch, self-built apk file) looses data and registration, new key requires new verification, need new invitation to groups, etc.
Also, when manually installing the self-made apk, it results in both Signal versions being installed simultaneously - it is not acting like an upgrade, the newer replacing the older one.
Steps to reproduce
- install 3.9.1-dev from apk
- use it, have messages and group memberships
- install 3.12.0-dev from apk
as that didn't work (2 signals installed in parallel), i also tried:
- deinstall both signals (but not removing data and cache)
- install 3.12.0-dev from apk
but it didn't help, new registration required, no access to old data.
Android version: Cyanogenmod 5.1.1
Signal version: 3.9.1 -> 3.12.0
The application id changed between those two versions. You can reset the app id of 3.12 to the old one manually in build.gradle, recompile and it should update the 3.9.1 version instead of installing a parallel one.
Will it also find the 3.9.1 data (i didn't delete cache or data on uninstall) even if i already have uninstalled 3.9.1? Or does it help if I first reinstall 3.9.1? Thanks for helping!
it should find the data, but you can make a backup first to be on the safe side.
I don't find it in build.gradle - do you have a search term?
It's in the LibreSignal/LibreSignal repo.
This diff should cover it:
@@ -218,6 +218,7 @@ android {
dev.initWith(buildTypes.debug)
dev {
buildConfigField "boolean", "DEV_BUILD", "true"
+ applicationIdSuffix ".dev"
versionNameSuffix "-dev"
}
websockets.initWith(buildTypes.dev)
I did a new build with that diff applied, force-stopped and uninstalled previous build, installed new build, but it doesn't find old 3.9.1 data/settings. It lets me re-register and generates new keys.
https://github.com/LibreSignal/LibreSignal/issues/22
In your case the app id is org.thoughtcrime.securesms.dev