question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do I need to preserve the output of `bubblewrap build`?

See original GitHub issue

Hello

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
Screen Shot 2021-07-19 at 1 37 01 PM

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:closed
  • Created 2 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
andrebancommented, Jul 21, 2021

Great to hear this! Also, do share the link to Play with us! I’d love to get the app a spin.

1reaction
joycetoh8commented, Jul 20, 2021

That all sounds great to me! I think you’ve got everything 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is Bubble Wrap Cushion Effective at Protecting your Items?
That doesn't mean this packing material is not effective. Yes, a bubble wrap cushion is effective at protecting items. Those who are in...
Read more >
How to Use Bubble Wrap Properly – BoxGenie
If wrapped correctly, the flat side will be on the outside and will protect the bubbles from being popped by the box. Choose...
Read more >
7 Tips for Shipping Items Using Bubble Wrap
When using bubble wrap, the bubbles should face in to protect the item you wish to ship. Learn our other new tips for...
Read more >
Bubble Wrap Window Insulation - BuildItSolar
You can save it and use it for several years. It does not leave a mess or stains on the window glass. If...
Read more >
While building an apk using bubblewrap build its shows error ...
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found