How can an Android app replace a public signing key while preserving a route to restore user data? Shelly’s 2026-10-14 implementation introduced private release-key signing with APK Signature Scheme v3 rotation, alongside encrypted backup/restore. [M1] Which Android versions can use the rotated signer, what must survive restoration, and how does the checked APK reach an update tracker?
Why the signing key had to change
Shelly release APKs had been signed with the public React Native / Expo debug.keystore, so anyone could sign an in-place update. [M1] On 2026-10-14, commit 2dbfca956 introduced a debug-to-release signing lineage with rotation min SDK 28. [M1]
Android 9 supports changing an app’s signing key as part of an APK update through APK Signature Scheme v3. [1] Its proof-of-rotation structure links certificates in order, with each certificate signing the next and giving the new key evidence that it should be trusted wherever the older key was trusted.…