1

I have a requirement where I need to generate a QR code which, when scanned, displays the following behaviour.

  1. When scanned for the first time, if my ios/android app is not installed then it takes the user to the appstore to prompt them to install the app.
  2. When scanned again, if the app is already installed then it should open the app to a particular screen in the app.

Is it possible to create a QR code (or is it the app?) that behaves like this?

A j
  • 1,069
  • 2
  • 16
  • 29

1 Answers1

1

This behaviour is not be implemented in QR code. This will be implemented in your app.

I talk about Android. Same will be for iOS.

  • QR code will give you applicationId. (like com.stackexchange.marvin)
  • Get list of installed apps. See this question for getting installed apps list.

Related question: https://stackoverflow.com/a/8778268/6891563

Khemraj Sharma
  • 57,232
  • 27
  • 203
  • 212