Flutter - QR Code generated when user signs up and links to their profile - flutter

I am currently developing an application which has a profile page for patients to input their details etc. using flutter
I am wondering if anyone can help me or give me some direction on how to generate a qr code that specifically links to their profile once a user signs up. I have qr scanner built into the app and would like to be able to scan the qr code on someone elses phone and bring up their profile.
I can't seem to find anything around what I want or it's just because typing qr code into google comes up with guides on how to create a scanner only.

you can use the QR Flutter package here to generate the qr code. https://pub.dev/packages/qr_flutter
you will need to come up with String that will be used to reference the profile... either a url or a profile id. then pass that to QrImage:
QrImage(
data: "your_string_here",
version: QrVersions.auto,
size: 200.0,
),

Related

Is there a way to share QR codes created in Flutterflow?

I've been recently developing low code apps with flutterflow, and I've noticed the recent inclusion of a widget that allows you to create QR codes, however, couldn't help but to think, is there a way to share these QR codes as an image/pdf via instant messaging apps????
I have tried to use two pub.dev flutter widgets in my app, however those are not free, so I wanted to know if there's an open source solution (pub.dev widget)

How to use QR code scan to check if the app is installed or not ? and redirect in flutter

I'm trying to design an application using Flutter framework where i need two features using QR Code scanner. Features as follows,
If the app is installed QR code scanner (when scanning from the app it self) should open a url link in browser (within the app is self)
If the app is not installed scanning the QR code from device it self should take the user to play/app store or to a website.
how can i achieve this using flutter and dart? any sample workout will be more than helpful.
You need to use Firebase Dynamic Links or a similar service.
FDL allows you to do exactly what you want.
Basically you specify an app identifier in the console, then in your app's info.plist + manifest.xml you specify the domain you used for the link generation.
The way it works is FDL will try to open the link locally on the device, if the app is already installed then it will launch the app, otherwise you can decide to redirect to a specified URL or to the platform app store and open your app page.

External barcode scanner issue with flutter app

I built an simple App which scans your QR Code from an external Scanner and displays it on the screen. The QR code contain the Firebase user id which contains lower and uppercase letters. enter image description hereI tried it on an emulator in windows while connecting the External scanner with usb and it worked fine. After running the app on a real device I realized that the QR Code which got scanned only returns the data in all lowercase letters. I don’t understand why. I then exited the flutter app and tried to see if it’s a scanner issue. Turns out anything other than flutter reads the QR code as it is. So it’s not a Scanner Problem. But it’s neither a flutter Problem because it worked on the Emulator so I can’t figure out what the problem is.

How to get an official QR code for a Facebook Page?

Normally, the QR code for a Facebook page should be under Publishing Tools. However, I cannot find it under the Publishing Tools. Although I can generate one using QR code generator, the QR code from the generator directs to browser instead of Facebook app. Could I please know how to get an official QR code for my page?
I've been trying different QR Codes for my team as well and I would recommend that the best QR Code generator with logo is QRTiger. It also fits the requirements you're looking for.

Cannot call App Clip with Local User Experience

I am trying to test an App Clip sample on My iPhone with iOS 12.2. I can build the sample codes successfully , I configured the following for the Local User Experience.
Local User Experience Settings:
When I scan the QR Code generated by "https://fruits.com/check?fruit_name=bananas", I didn't see the App Clip prompted.
Thanks.
I find the solution: we need to scan the QR code with the QR code native scanner in the Control Center.
Thanks.