Do I need to preserve the output of `bubblewrap build`?
See original GitHub issueHello
I am new to creating artifact for my PWA. I have correctly deployed assetlinks.json in my application root.
I am using the following version of bubblewrap
➜ pwa-app-store bubblewrap version
,-----. ,--. ,--. ,--.
| |) /_,--.,--| |-.| |-.| |,---.,--. ,--,--.--.,--,--.,---.
| .-. | || | .-. | .-. | | .-. | |.'.| | .--' ,-. | .-. |
| '--' ' '' | `-' | `-' | \ --| .'. | | \ '-' | '-' '
`------' `----' `---' `---'`--'`----'--' '--`--' `--`--| |-'
`--'
version 1.13.2
➜ pwa-app-store
I ran the following commands (in order) to generate apk
, and aab
files
bubblewrap init --manifest=https://react-pwa-starter.vercel.app/manifest.json
bubblewrap build
The following output was generated
➜ pwa-app-store ll
total 2680
-rw-r--r-- 1 hhimanshu staff 2.1K 19 Jul 10:02 android.keystore
drwxr-xr-x 5 hhimanshu staff 160B 19 Jul 10:02 app
-rw-r--r--@ 1 hhimanshu staff 369K 19 Jul 13:27 app-release-bundle.aab
-rw-r--r--@ 1 hhimanshu staff 414K 19 Jul 13:26 app-release-signed.apk
-rw-r--r-- 1 hhimanshu staff 5.5K 19 Jul 13:26 app-release-signed.apk.idsig
-rw-r--r--@ 1 hhimanshu staff 401K 19 Jul 13:26 app-release-unsigned-aligned.apk
-rw-r--r-- 1 hhimanshu staff 1.1K 19 Jul 13:26 build.gradle
drwxr-xr-x 3 hhimanshu staff 96B 19 Jul 10:02 gradle
-rw-r--r-- 1 hhimanshu staff 751B 19 Jul 13:26 gradle.properties
-rwxr-xr-x 1 hhimanshu staff 5.8K 19 Jul 13:26 gradlew
-rw-r--r-- 1 hhimanshu staff 2.9K 19 Jul 13:26 gradlew.bat
-rw-r--r-- 1 hhimanshu staff 40B 19 Jul 13:26 manifest-checksum.txt
-rw-r--r-- 1 hhimanshu staff 15B 19 Jul 13:26 settings.gradle
-rw-r--r--@ 1 hhimanshu staff 37K 19 Jul 13:26 store_icon.png
-rw-r--r-- 1 hhimanshu staff 1.2K 19 Jul 13:26 twa-manifest.json
Now, the first time, I uploaded apk
file in Play Store and waited for 2-3 days for app to approve. Then, when I tested it this morning, I saw address bar on my Android Chrome.
So, I removed all artifacts (include android.keystore) and recreated all artifacts locally, thinking I may have done something wrong, but now, when I upload I get another error
You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
SHA1: FD:9D:45:6B:2D:FC:5A:AA:73:64:54:1D:C2:XXXXXXXXXXXXXXX
and the certificate used to sign the APK you uploaded has fingerprint:
SHA1: BD:43:ED:C8:B5:CD:D2:DE:64:DB:EB:55:00:XXXXXXXXXXXXXX
Have I made mistake in the process? Did I had to source-control the artifacts produced by bubblewrap build
? I am not able to make progress.
Please advise. Thank you
Issue Analytics
- State:
- Created 2 years ago
- Comments:14
Top GitHub Comments
Great to hear this! Also, do share the link to Play with us! I’d love to get the app a spin.
That all sounds great to me! I think you’ve got everything 😃