MIUI not detecting ".app" as a link on QR Code

636 views Asked by At

I'm building an app that involves generating QR codes with a certain link (eg: mywebsite.app/cLKXz).

Everything works fine on stock android, Samsung, and Apple. But MIUI's integrated scanner simply doesn't recognize a .app domain as a link, which causes the user to have to copy the text and paste it on their browser, instead of being able to simply tap "Open Link".

Is there any way I can "force" this QR Code to be detected as a link no matter what's inside? Of course I'd like to keep my domain and avoid using another URL shortener such as Bitly, if possible.

EDIT

I already tried adding http://, https://, and www., but nothing seems to work.

Thanks a lot!

2

There are 2 answers

2
Marcin Orlowski On

mywebsite.app/cLKXz

Prefix your URL with protocol like http:// or https://

2
KingRial On

It's a little late for the answer but it's an issue of the native QR reader.

See: https://c.mi.com/oc/thread-3359510-1-0.html

Same problem occurs when using domains ending with:

  • .cloud
  • .link