We are going to start using AAB instead of apk for delivery. I configured Play app signing to use existing signing key. To simplify task I didn't use additional upload key. I would want to test upgrade from the latest version from Play Store (where apk was used) to the newest version where we used AAB first time.
As a result when I tried to install the app version from aab on top of version from play store I see only "Uninstall" button and text:
"A public version or this app is already installed on this device. Uninstall it and try again."
Also I can see "Upgrade" button if I try to install version from the latest AAB on top of old AAB version from firebase app distribution. There google automatically uses test certificate for signing.
Previously when I used apk, I saw "Upgrade" button when tried to apply test release on top of version from play store.
What was wrong and how can I test upgrade?
We could do that only in beta testing. Let's assume versionCode = 101 - is google play store version, versionCode = 102 - is app version from app bundle.
We used closed testing track to upload app bundle and use it for beta testing (not sure about details of this step, was done by product manager)
We did this, and after step 5, the app opened immediately with the splash screen and then the main app. Didn't see any problems, didn't ask us to reinstall. In app info we saw correct new version name.