Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

URL scheme to show the vaccination certificate? #3484

Open
hansemannn opened this issue Sep 8, 2021 · 9 comments
Open

URL scheme to show the vaccination certificate? #3484

hansemannn opened this issue Sep 8, 2021 · 9 comments
Labels
enhancement Improvement of an existing feature feature request A new feature proposal for the app question Further information is requested

Comments

@hansemannn
Copy link
Contributor

Hi there!

Very quick question: Is there an URL scheme, yet to directly open the vaccination certificate from other apps? We have a travel app where many users requested a feature already to open the certificate from our app and likely many other apps will be interested in this as well (to have a common shortcut to the pass). Thanks in advance!

Best,
Hans

P.S.: If not available, yet, I'd be happy to implement it, but it'd be good to know if such a change is welcome in this repo.

@hansemannn hansemannn added the question Further information is requested label Sep 8, 2021
@mlenkeit
Copy link
Member

@hansemannn there's no support for a URL schema at the moment that would allow to open the vaccination certificate from other apps.

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Oct 3, 2021

@hansemannn

Has your question been answered?

I'd suggest you open a new "Enhancement Request" issue, requesting to add an URL schema. Best would be if you mention there that you'd be willing to implement this.

Have a nice Sunday.

@jucktnich
Copy link

jucktnich commented Oct 3, 2021

+I think it would be cool to have something like hc.coronawarn.app/check_certificate?start=1633260123&end=1633353723&country=de&senderUrl=mytravelapp.com/hccertprovider/tokenService?token=$TOKEN which makes the CWA make a request to mytravelapp.com/hccertprovider/tokenService?token=lv8l6rlx3rm4kwuqci86. The requesting app returns hc.coronawarn.app/check_certificate?token= lv8l6rlx3rm4kwuqci86 then the CWA asks the user for permission to send the certificates name and DoB (the user can select which certificates to send) to the app mytravelapp.com and then returns

{
	"1":
	{
		"status": "valid",
		"type": "vaccination",
		"name":
		{
			"given": "Max",
			"family": "Mustermann",
			"transliterated":
			{
				"given": "MAX",
				"family": "MUSTERMANN",
			},
		},
		"dob": "1999-05-21",
	},
	"2":
	{
		"status": "valid",
		"type": "test",
		"name":
		{
			"given": "Martha",
			"family": "Mustermann",
			"transliterated":
			{
				"given": "MARTHA",
				"family": "MUSTERMANN",
			},
		},
		"dob": "2007-11-09",
	},
},

@frogg
Copy link

frogg commented Nov 27, 2021

I had the same question recently. I would like to add a Shortcut (Kurzbefehl) on my Homescreen to quickly access my vaccination certificate via a url scheme (e.g., corona-warn-app://certificates).
Any reason why this isn't implemented?
Seems like some low-hanging fruit to improve the app!

@moabits
Copy link

moabits commented Nov 27, 2021

To add to that, it might be an interesting application to have an NFC tag (with this url scheme embedded) near certificate checkpoints to provide an easy shortcut for users to view the certificate QR code for scanning.

As a user, I can tap my phone on the NFC tag and have the CWA immediately open and display my newest vaccincation/valid test certificate.

@jucktnich
Copy link

jucktnich commented Nov 28, 2021

Maybe you should transfer this issue to ehn-dcc-development/hcert-spec cause if this would be implemented, it should work with every wallet app.

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 13, 2022

@dsarkar / @hansemannn

I suggest to close this issue as the question which was asked in the OP has been answered by @mlenkeit.

@moabits
Copy link

moabits commented Apr 13, 2022

Let's convert it to a feature request! 💻

@Ein-Tim
Copy link
Contributor

Ein-Tim commented Apr 13, 2022

@moabits I suggest you open a new issue in the https://github.com/corona-warn-app/cwa-wishlist for this, as if implemented, it should be implemented for both, iOS & Android.

@30mar 30mar added enhancement Improvement of an existing feature feature request A new feature proposal for the app labels Apr 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of an existing feature feature request A new feature proposal for the app question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants