by SomeCallMeTim · 11y ago · 0 comments
Curiously, Google/Android has developers sign the app, and that exact signed package is what's distributed, so at least the app developer can verify that the distributed app is identical to the one shipped to the store.
On the other hand, Amazon/Android signs apps with their own keys, so they suffer from the same issue as Apple.
So even if apps are signed by the developer, the app store owner can throw away the signature, modify the app and then sign it with their own key. People downloading and running the app won't see a difference.
But more to the point, I published an app on the Play Store that actually verified its own signatures (as an anti-piracy measure) and it worked correctly. Not only that, but it used the signature as a key to decrypt some of the assets, so a changed signature would mean the app would completely fail to work.
So it's a solvable problem on Android. But not at all on other ecosystems.