Advertisement
Beginner Flutter, App Deployment (Play Store & App Store)

What is app signing, and why must every Flutter app be digitally signed before it can be published to either the Google Play Store or the Apple App Store?

Short answer

App signing attaches a unique cryptographic signature to your app's release build using a private signing key that only you should possess, which proves to both the app store and to users' devices that the app genuinely comes from you and has not been tampered with since you…

Save Flutter mock interview
Advertisement
AModel answer
App signing attaches a unique cryptographic signature to your app's release build using a private signing key that only you should possess, which proves to both the app store and to users' devices that the app genuinely comes from you and has not been tampered with since you built it, and both Google Play and Apple absolutely require every published app to be properly signed, with Android using a keystore file and Apple using a certificate and provisioning profile managed through their respective developer accounts.
Example

keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000

Real-world example
A developer generates a dedicated Android keystore file specifically for signing their app's release builds, carefully storing it securely since losing that exact same keystore later would prevent them from ever publishing an update to their already published app again.
Likely follow-ups
  • What happens if you lose your original signing keystore file?
  • How does Apple's certificate and provisioning profile system compare to Android's keystore approach?
Related topics