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

Rapid test registration: Browser not compatible #23

Open
fkorax opened this issue May 26, 2021 · 21 comments
Open

Rapid test registration: Browser not compatible #23

fkorax opened this issue May 26, 2021 · 21 comments
Assignees

Comments

@fkorax
Copy link

fkorax commented May 26, 2021

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
Copy link
Contributor

Ein-Tim commented May 26, 2021

Related too:

#22

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

@dsarkar dsarkar transferred this issue from corona-warn-app/cwa-website May 26, 2021
@dsarkar dsarkar closed this as completed May 26, 2021
@dsarkar dsarkar reopened this May 26, 2021
@dsarkar
Copy link
Member

dsarkar commented May 26, 2021

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

@dsarkar
Copy link
Member

dsarkar commented May 26, 2021

@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
Copy link
Contributor

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 corona-warn-app/cwa-wishlist#532 (comment)

@DerVogel2020
Copy link
Contributor

DerVogel2020 commented May 26, 2021

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 corona-warn-app/cwa-wishlist#532 (comment) for importing the testresult with firefox.

@fkorax
Copy link
Author

fkorax commented May 28, 2021

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
Copy link
Contributor

Ein-Tim commented Feb 7, 2022

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

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Feb 7, 2022

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
Copy link
Member

dsarkar commented Feb 7, 2022

@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
Copy link
Contributor

@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
Copy link
Member

dsarkar commented Feb 7, 2022

@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
Copy link
Contributor

@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
Copy link
Member

dsarkar commented Feb 7, 2022

@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
Copy link
Member

svengabr commented Feb 8, 2022

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.

"content": {
"text": "Available for download on Apple App Store and Google Play.",
"warningiOS": "Your browser is not compatible. Please open the link in Safari.",
"infoiOS": "Press long on the link and choose “Open in Corona-Warn”.",
"infoAndroid": "Press long on the link and choose 'Open link in external App'.",
"downloadInfo": "If you have not yet installed the Corona-Warn-App, press here to install it.",
"warningAndroid": "Your browser is not compatible. Please open the link in Chrome or enable the setting 'Open links in other apps'."
},

@MikeMcC399
Copy link
Contributor

@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 (#23 (comment)). The message could be changed to link to the FAQ article.

@MikeMcC399
Copy link
Contributor

There seem to be multiple problems here:

  • If the incompatible message is output, the instructions to download are overwritten
  • The text language does not match the page language

I will submit these as separate issues with repro steps.

@MikeMcC399
Copy link
Contributor

@MikeMcC399
Copy link
Contributor

@thomorl

The original issue here was (mostly) about Firefox and according to reports in corona-warn-app/cwa-wishlist#532 (comment), 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
Copy link
Contributor

MikeMcC399 commented Feb 17, 2022

  • I added Scan event QR code with Firefox scanner gives error #46 for the special case of attempting to scan a CWA event code using the built-in Firefox QR code scanner. It looks like this is a Firefox restriction, so the relevant information is the list of workarounds at the bottom of the issue logged.

@MikeMcC399
Copy link
Contributor

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

@Ein-Tim
Copy link
Contributor

Ein-Tim commented May 5, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants