Connect your app to something physical using QR codes

Pay at a vending machine or car wash, unlock a rental scooter or a parcel locker, start an EV charger or a laundromat washing machine, order from a restaurant table, pay for a parking space. A QR code on the spot tells your app which one. Every QR code holds your Onelinkโ€™s link plus the ID of the machine or spot it is mounted on, so the same code both identifies the spot and takes people without your app to the correct app store.

Requires changes to your app

  1. Step 2

    Read the ID from the link in your app

    The link reaches your app in up to three ways: from its own scanner, as an opened link, and on Android after an install. Anyone can make a link with any ID, so check it before acting on it.
    Plan: any, Free included.
  2. Step 3

    Open your app from the camera (own domain)

    Plan: Team Plus and Enterprise.
  3. Step 4

    Carry the ID through an Android install

    Tick Enable Android deferred deep linking (Play install referrer) in the Onelink editor, and read the referrer when the app first opens โ€” see Deferred deep linking on Android. The scanned link, ID included, arrives in onelink_url.
    Plan: Team and above.
  4. Step 5

    Generate the codes

    In our free QR code generator, choose Bulk mode. Put your link up to and including spot= in Part 1:
    https://onelink.to/k7hq3m?spot=
    Choose + Add part, and paste your IDs into Part 2, one per line โ€” a column copied from a spreadsheet works:
    A1042
    A1043
    A1044
    Each line combination becomes one QR code: https://onelink.to/k7hq3m?spot=A1042, โ€ฆ?spot=A1043 and so on. Generate up to 10,000 QR codes at a time.
    The zip includes index.csv, which maps each file name to its link, so whoever prints and mounts the codes can match each one to its spot.
  5. Step 6

    Print and mount them

    For size and contrast, follow Make sure your printed QR code scans. Mount each code on the machine or spot its ID belongs to.
  6. Step 7

    Test every way in

    With a printed code, scan once with your appโ€™s scanner, once with the phoneโ€™s camera with your app installed, and once with your app removed, on an Android phone and an iPhone, then install and open it. For Android, test with the version live on Google Play: installs from testing tracks may arrive without the referrer.