How can I know if my Swift QR Code being scanned - ios

In my Project,I am building a QR Code Generator with Core Image Filters.
How can I know if other people had scan my QR code?
In other words, If I Generate a QR Code and after you read my Code. Can I show a message in my phone to told me that my Code has been used?

A QR code can't preform an action it can only display data stored in it. I you you intend to have a QR read in your app then with in your app you could program a function to handle an event of some kind that would trigger on reading the QR code.
If you are just creating the QR code and disributing the QR code and you have pointing to a web link. Then you could create some trigger on your website that would send you a message if someone followed the link. And the key word is that the user has to FOLLOW the link provided.

Related

Secret QR Code - Only read by my own scanner app

I am working on a social app like Instagram, Snap Chat, and Facebook. I need to generate a QR code of user profiles. I have hidden user ids from the database. I have a scanner in my app to scan the QR code. The functionality is working fine.
But when my generated QR codes are read by other scanner apps, like the iOS default scanner, it reads the user id (string, text) from the QR code.
I have used Swift default code for QR code generation.
QR code read only by my app.
Like Snap Chat, Messenger, etc.
Have a look at this article
How is Snapchat QR code so different than others?
Snapchat and other apps have designed their own methods to create and read a QR code. Snapchat uses its own processing techniques to detect a series of dots to scan the code. It uses the snapchat logo for reference in the image to know where exactly to start the scanning. I am pretty sure Facebook and other apps are doing something similar.
You can maybe look at something that Instagram is doing. They use Text Detection to read a users name tag. You can look into this article for the same.
Text Detection Article
As far as i know there is no direct way that you can achieve this. You will have to essentially re-invent the wheel and come up with your own way to generate and read a code that is specific to your app.
Another approach would be to use an encryption algorithm to encrypt and decrypt your message and then using the QR code generator to generate a QR code of the encrypted message.

I want to generate QR Code encrypted in such a way that it is only read by own QRScanner app

I am making a social app. I want to generate QRCode for each user profile that he can share with others. QR Code has user image in centre with his total number of posts. Using some libraries I am able to generate the QR.
But that code can be read by any QR Scanner. I don't want this to happen.
I only want my QR Scanner to scan these userprofile QR's
A QR code simply contains whatever text / string put in it. You're free to encrypt the content string prior to generating the code (and decrypt it after reading the code). Other applications will not be able to decrypt the code. You may want to do the encryption/decryption on your server instead of relying on code/keys on the device, for security purposes.

How can I use iOS Google Chrome to scan a QR code into an input field?

QR Feature
The newest version of Google Chrome for iOS boasts a new button on the keyboard to scan QR codes:
Can this be used on a web form?
This seems to work when searching from the address bar but not on text inputs on web forms. Is there some form or input attribute I can use to enable the QR code for an input?
Other ideas?
If the answer is no how else might I scan QR code data into the input of a web form?
I'd like to make it as easy as possible for the end user and hope to do it with on a web page instead of writing an app.

How to secure a verification system on iPads with QR Codes

I have created an iPad application that uses QR Codes for verification. In order to "verify" the document a person must scan an official QR Code. I am worried about the people taking a picture of the QR code and then creating other copies of it. Is there anyway to secure this process? Maybe encrypt the text in the QR Codes? Except that still wouldnt do anything if the person was to create a new one. Any ideas?
More clarification: It is an app that allows students to create hallpasses digitally which are then digitally "signed" or verified by the teacher by scanning a QR Code on the teachers ID. Hopefully the students would be unable to capture the QR Code on the ID but I am trying to add an extra layer of security in case this was to happen. Is this possible?

How to get URL from a QR code via ZBar SDK and and show the user

A simple App is being made that scans a QR code and then shows the user what the QR code is that they have scanned.
ZBAR SDK is being used.
The PROBLEM:-
Once the App has been scanned, it takes the user to the website straight away. I need it to store the QR code in the App then take the user to another page in the app showing them the web address they have scanned. The user then has the opportunity to go to that site using a button now setup to use that link.
So how can I stop the ZBAR SDK from sending the user to the website straight away and get it to store the link so I can use it?
Can it be done?

Resources