Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use link instead of json for QR #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Harm-van-Stekelenburg
Copy link

We noticed some of our users scan QR codes with their camera app instead of directly in Yivi. The Yivi mobile app will pick up this link, and so will the camera. If the Yivi app is not installed it will redirect to the Yivi download page. Hopefully resulting in a more user friendly experience.

Maybe this needs some discussion but locally I checked it and it works nicely for us (android and ios), I'm not a mobile development expert so I could very well be overlooking things. But I didn't want to make an issue without a proposed solution.

@ivard
Copy link
Member

ivard commented Jul 12, 2024

This is a known issue indeed. The UX of the universal link fallback page is bad at the moment. Our assessment was that at this moment allowing people to scan the QR with their regular camera app without proper fallback behaviour on the universal link would make thinks worse. Then people get stuck somewhere half the flow instead of at the beginning. That is more frustrating for users, because we don't have control exactly where users get stuck. It's much harder to help users in that scenario. Therefore, the plan always was to combine this change with a UX improvement of the universal link fallback page.

This fallback page should not be just a dummy placeholder page. It should have some functionality built-in, because scanning a universal link is quite buggy, especially on Android, and does not lead users to the app all the times. For example:

  • If people don't have the app installed yet, there should be a guided flow or at least manual instructions on how to install and configure the app (both iOS and Android).
  • If people use Firefox for Android, there should be a fallback page that manually starts the app (Firefox for Android absorbs universal links by default)
  • If people are in a mobile session, and they open a universal link by clicking on it, they should be in a separate flow that does not refer to QR codes. Otherwise, users get confused. Also, it should be opened in a separate browser tab to prevent that the page where the user tries to login disappears.

@Harm-van-Stekelenburg
Copy link
Author

Thanks for the response, those are very clear considerations. I hadn't considered the UX of the fallback page, makes sense to combine that with the frontend package change.

@ivard
Copy link
Member

ivard commented Jul 17, 2024

We were also migrating from irma.app to open.yivi.app, so that was also a reason why we waited. open.yivi.app already works, but it doesn't have a fallback page yet and we still have to activate the forced app update procedure to ensure that there are not users anymore with an app version without open.yivi.app support.

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

Successfully merging this pull request may close these issues.

2 participants