corona-warn-app / cwa-event-landingpage

Small event landing page for new CWA users when using the native camera. The CWA development ends on May 31, 2023. You still can warn other users until April 30, 2023. More information:
https://coronawarn.app/en/faq/#ramp_down
Apache License 2.0
7 stars 5 forks source link

Rapid test registration: Browser not compatible #23

Open fkorax opened 3 years ago

fkorax commented 3 years ago

Where to find the issue

Try to register a rapid test result via a link instead of scanning a QR code, and open the link in Firefox Browser on Android.

Describe the issue

Instead of a successful registration, the website displays a big red text, along with a request to download the Corona-Warn-App:

Your Browser is not compatible. Please open the link in Chrome.

Suggested change

Allow rapid test result registration via other Android browsers (especially Firefox).


Internal Tracking ID: EXPOSUREAPP-7379 Internal Tracking ID: EXPOSUREAPP-7359

Ein-Tim commented 3 years ago

Related too:

https://github.com/corona-warn-app/cwa-event-landingpage/issues/22

@dsarkar I suggest to transfer this issue to the event-landingpage repo.

dsarkar commented 3 years ago

@thomorl Thanks for your report. Can you please let us know which device you are using and android version.

dsarkar commented 3 years ago

@thomorl Can you check the following, please: In "Einstellungen" of the system/device check if "Unterstützte Links öffnen" is set to "Immer zulassen".

See screenshot, from left to right:

image

This is device dependent: The path on a Samsung A21s is: Einstellungen - Apps - Standard-Apps auswählen - Links in Apps öffnen - Corona-Warn - Unterstützte Links öffnen: "In dieser App"

Please let us know, if this solves your issue. Many thanks. Best wishes, DS


Corona-Warn-App Open Source Team

DerVogel2020 commented 3 years ago

Both websites are mentioned in my settings. Android 8, Samsung A5 (2017). And its activated. See screenshot 20210526_162020.jpg

But still, only Chrome is working. You can see it in the implementation mentioned in https://github.com/corona-warn-app/cwa-wishlist/issues/532#issue-902418636

DerVogel2020 commented 3 years ago

May be the browser or system ignores this setting and opens the link in the browser, in which the link is clicked. Update: @thomorl see https://github.com/corona-warn-app/cwa-wishlist/issues/532#issuecomment-848999875 for importing the testresult with firefox.

fkorax commented 3 years ago

Hmmm, I see. So the problem is more related to the way Firefox handles links which can also be opened in an external app, and not to the actual CWA.

When the obtuse red warning about opening the link in another browser has been replaced by an FAQ entry explaining the problem/solution, this issue will probably be resolved.

Ein-Tim commented 2 years ago

A user is reporting that under Android with "Samsung Internet" it also says that the Browser is not compatible.

MikeMcC399 commented 2 years ago

If I open https://e.coronawarn.app in Samsung Internet Version 16.0.6.23 I get an error:

image

Opening in Chrome, as advised, did not give an error, however it didn't seem to recognize that CWA was already installed and offered it for download. (Android 8.0).

dsarkar commented 2 years ago

@MikeMcC399 If you create an event QR code, and you scan it with the native camera, does it correctly open the CWA? https://e.coronawarn.app/ opens on iPhone Safari browser also just the page and not the app, however an QR code will open the app.

MikeMcC399 commented 2 years ago

@dsarkar

If you create an event QR code, and you scan it with the native camera, does it correctly open the CWA? https://e.coronawarn.app/ opens on iPhone Safari browser also just the page and not the app, however an QR code will open the app.

I was testing on a Samsung Galaxy A5 (2017) with Android 8.0 and I could not find a native QR scanner, so I tested with a downloaded QR scanner from Google Play Store.

Here are the results:

App installed \ Default browser Samsung Internet Google Chrome
no Your browser is not compatible prompt to download app
yes app is opened app is opened

So it seems the best advice for anybody facing the Samsung Internet browser compatibility error is to set the browser default to "Google Chrome". On my device this was through: Settings > Apps > Default apps > Browser app and select "Chrome" instead of "Samsung Internet".

dsarkar commented 2 years ago

@MikeMcC399 Thanks for analysis. The good news: When the CWA is installed it works as intended. If not, the user still gets a hint where to download the app, so I think that is good enough. Some users might prefer to choose their browsers.

MikeMcC399 commented 2 years ago

@dsarkar

Maybe the error message could be changed, so that the first thing it advises is to check that the app is already installed instead of first saying that the browser isn't compatible?

dsarkar commented 2 years ago

@MikeMcC399 Yes, we can discuss of course to change the message. For event qr code I guess there is no problem, since most users will create QR codes and not send the URL in an email for example. However, this is the same page as https://s.coronawarn.app/, i.e. the landing page after clicking on a link of a RAT. In these (rare) cases the URL is not redirected to the app by the browser, maybe it would be useful to show kind of a workaround, in the sense: Provided the app is installed: 1. If you were provided a QR code, use the UQS of the app. 2. if you received a link (URL) change default browser, or copy and paste URL in the chrome browser.

svengabr commented 2 years ago

In terms of messages, the messages can be changed in index.json / index_de.json. However, I personally don't want to make any changes without the approval of @thomasaugsten since he created all the redirect logic.

https://github.com/corona-warn-app/cwa-event-landingpage/blob/9a6ffb27046523938b0225ae3a1ae8fae52332ce/src/data/index.json#L6-L13

MikeMcC399 commented 2 years ago

@svengabr

Before any messages are changed, perhaps a better idea would be to follow up on the suggestion of the original submitter of this issue @thomorl to publish an FAQ article (https://github.com/corona-warn-app/cwa-event-landingpage/issues/23#issuecomment-850481352). The message could be changed to link to the FAQ article.

MikeMcC399 commented 2 years ago

There seem to be multiple problems here:

I will submit these as separate issues with repro steps.

MikeMcC399 commented 2 years ago
MikeMcC399 commented 2 years ago

@thomorl

The original issue here was (mostly) about Firefox and according to reports in https://github.com/corona-warn-app/cwa-wishlist/issues/532#issuecomment-848999875, this specific issue is now resolved.

Now there are some other points coming up which would probably be better in new issues. What do you think about closing this one and transferring anything else to new issues which make it clearer what needs to be addressed individually?

MikeMcC399 commented 2 years ago
MikeMcC399 commented 1 year ago

Due to the ramp-down, this issue is now obsolete.

Ein-Tim commented 1 year ago

The landingpages don't exist any more, this issue is obsolete.