I have a legacy app that I built in Ionic 1 and deployed in-house via HockeyApp. I had to do an update recently (after about 6 months) and ran into what I believe is inconsistent signatures of the APK.
Here’s the rub: originally, I was not so knowledgeable about keystores, so I never generated a keystore and was building my APK using ‘cordova build android --debug’ and then just uploading the build to HockeyApp. Everything was fine, but I noticed that now that I have two machines, only the APK from the machine I originally used to develop the app will successfully install over top of an existing deployed app on a device. The other returns ‘install failed’, and I’m assuming it’s because the debug certificate on the new machine doesn’t match the original.
So – given that I already have these APKs deployed in the wild, what should be my approach to guaranteeing that I can build future updates that have the correct signature, even if my original machine goes kaput or is otherwise not available?