voteflux / digipol

An app to allow Australian Voters to vote on current issues and bills in the parliament.
https://digipol.app
GNU General Public License v3.0
60 stars 9 forks source link

Play Store Submission #157

Closed KipCrossing closed 3 years ago

KipCrossing commented 3 years ago

I had a go at pushing up to the google play store These are the steps:

1) I followed the guide https://flutter.dev/docs/deployment/android I was able to build a release apk but what I attempted to upload, I got:

You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
SHA1: 3A:09:3D:BD:D5:D2:F6:A0:F0:58:AD:B8:0C:A3:82:75:63:51:4F:31
and the certificate used to sign the APK you uploaded has fingerprint:
SHA1: 8F:AC:CA:1E:FB:28:E5:5F:4A:32:16:41:35:55:43:CC:61:33:9F:77
You need to use a different version code for your APK or Android App Bundle because you already have one with version code 1.
[3:57 PM]

This is what's in the App signing tab:

Screenshot from 2020-11-09 20-38-48

I hope these clues help solve the problem.

KipCrossing commented 3 years ago

140

KipCrossing commented 3 years ago

Attempt 2 (after updating version code)

You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
SHA1: 3A:09:3D:BD:D5:D2:F6:A0:F0:58:AD:B8:0C:A3:82:75:63:51:4F:31
and the certificate used to sign the APK you uploaded has fingerprint:
SHA1: 8F:AC:CA:1E:FB:28:E5:5F:4A:32:16:41:35:55:43:CC:61:33:9F:77
Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 29.
KipCrossing commented 3 years ago

@oscarmanderj This is using the stable branch.

You will have to do the VersionCode and SDKVersion in the build.gradle

KipCrossing commented 3 years ago

from StackOverflow and the Docs

Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the element of the manifest file. Also, the package name must be the same and the .apk must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application and will not offer it to users as an update.

@XertroV so it looks like we will need the same private key to upload.

KipCrossing commented 3 years ago

I pushed to my personlal account