We are creating a cordova app for ios and android and we have everything ready, except one detail. The app will be downloaded from a qr code, and we need to insert in every app a different phone number, to relate the app with the place where it has been downloaded.
Is there a possibility to insert some code in the qr to pass it to the phone through the qr at the same time that we redirect to the Apple Store or iTunes?
Is there any other way maybe to achieve this goal?
Related
I'm currently developing an app that uses QR code to identify products. Here are the use cases:
If user hasn't installed the app, scanning the QR code should take them to AppStore / PlayStore to download the app.
If the app is installed, the user can use the app's scanner. In this case it'll extract the info (JSON format) from the QR code.
I'm not sure if QR code can achieve this. I know the first requirement needs a link to the AppStore. The 2nd requirement is just plain old JSON data. I don't know how to combine them into one QR code. Is this possible?
Thanks!
This is easy to do with a dynamic link from firebase https://rnfirebase.io/dynamic-links/usage
Because redirecting to the stores, is the default behaviour for dynamic link
I tried to provisioned my android device using QR code. The QR code contains all the information concerning my DPC so that it becomes device owner. Everything is working except one thing. I would like to have my own system apps after provisioned. I filled in this file with all the applications I want: frameworks\base\core\res\res\values\vendor_required_apps_managed_device.xml
However, whatever I am filling in this file, I am getting only some Google system app. How is it working?
I have a requirement where I need to generate a QR code which, when scanned, displays the following behaviour.
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.
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?
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.
If user has installed this package name already, then open the app. See this question.
If not installed then open play store page.
Related question:
https://stackoverflow.com/a/8778268/6891563
I want to develop an app (Android, iOs and Windows Phone) that reads information from a QR code. But I want to know one thing, before developing it...
is it possible to create a QR Code that does something like the following?
if I read it with another app (anyone) and there is my app installed -> it opens my app with the data read from the code.
if I read it with another app (anyone) and there is NOT my app installed -> it opens the store (app store, play store, ecc...) to download my app.
Sorry if it's not so clear... I'm not english native.
Yes, this is possible on all three of the platforms you mention by defining and using a custom uri schema.
In each case, if the app is not installed the appropriate store will be opened and a search will be done for apps that do support the schema.
I'm working with android and I have a question. How I can do if I am doing an app that need another app. For example one of my option needs an app that reads code QR (2D) how can I work with both?
Thanks
You should be integrating via intent. See here for details how: https://code.google.com/p/zxing/wiki/ScanningViaIntent.
By doing it this way you eliminate the need to try to copy the barcode scanner app into your own which I think you'll find to be somewhat difficult(Not to mention you won't be tasked with trying to maintain a project that is not yours as new verions of the OS are released). You'll also be saving your users the space of another copy of the barcode scanner application.
Integrating via intent is the way that the authors of barcode scanner intended for you to use it along with your own application.