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.

Extra colon and space in assetlinks.json

See original GitHub issue

Hi everyone First of all, I would like to thank you for this great tool!

Describe the bug When I run bubblewrap build --skipPwaValidation, it generates the assetlinks.json file well, but it adds a colon followed by a space at the beginning of the sha256_cert_fingerprints. I have to remove it manually, otherwise the correspondence between the application and assetlinks is not ok.

Output example: "sha256_cert_fingerprints": [": 85:A0...

Expected output example: "sha256_cert_fingerprints": ["85:A0...

Steps to reproduce:

  • bubblewrap init --manifest=https://thewebsite
  • bubblewrap build --skipPwaValidation

Environment

  • macOS Mojave version 10.14.5.
  • @bubblewrap/cli@1.8.2
  • node v10.20.0
  • "jdkPath":"/Users/username/.bubblewrap/jdk/jdk8u265-b01"
  • "androidSdkPath":"/Users/username/.bubblewrap/android_sdk"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
andrebancommented, Jan 27, 2021

Bubblewrap CLI 1.9.0 has been release with this fix.

1reaction
cdreydemy-vpcommented, Jan 25, 2021

Yes it would

New output:

Certificate fingerprints:
	 MD5:  8B:71:C2:D7:68:B0:E1:E3:C5:A9:13:A0:D0:C5:F7:B2
	 SHA1: 18:C6:12:F5:43:34:B4:E7:BF:31:11:ED:99:11:14:9E:56:1E:ED:F7
	 SHA256: 9D:BE:B0:8F:32:49:BC:71:EA:52:29:E2:41:29:20:23:51:99:97:D4:5B:72:04:B8:F5:24:CC:F0:AC:35:80:D8
Read more comments on GitHub >

github_iconTop Results From Across the Web

App links intent filters in assetlinks.json not working on Android
Create assetlinks.json using Tools > App Links Assistant . Then press Open Digital Asset Links File Generator , enter domain, application id, select ......
Read more >
Getting Started | Google Digital Asset Links
The Digital Asset Links protocol and API enable an app or website to make public, verifiable statements about other apps or websites.
Read more >
Full verification of assetlinks.json for Android SmartLock App ...
After you've put your https://www. .com/.well-known/assetlinks.json file in place, there are a few ways to test that things are set up right.
Read more >
Android Lint API Guide - Google Samples
A configuration provides extra information or parameters to lint on a per project, ... A “location” refers to a place where an incident...
Read more >
Curio Documentation.pdf
simple removes any spaces from the file name. Prefix asset links with file:// scheme. Technically Curio creates relative links paths, ...
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