New:Experimental free plan now live for everyonev1.6.0

Ok1Second
Menu
Guide

Device-based QR code redirects: iOS, Android and desktop

If you have an iOS app and an Android app, a single QR code on a poster should not send everyone to the same store. With device rules, one code can send iPhone users to the App Store, Android users to Google Play and desktop users to your website.

Updated October 6, 2026 · 4 min read

What the scanner actually tells you

The scanning device identifies itself on every request. We read the operating system and device class from that signal, so a rule can match iOS, Android, Windows, macOS or a general mobile/tablet/desktop classification.

It is worth knowing where that signal comes from, because it explains the exceptions. Device class and OS are read from the user agent the browser sends, and privacy settings deliberately reduce it. Phones are dependable; tablets in desktop mode and unusual browsers are where a rule quietly stops matching.

  • Device class — mobile, tablet or desktop
  • Operating system — iOS, Android, Windows, macOS
  • A reduced user agent can defeat an exact OS match while the device class still works
  • Nothing here needs an app or a permission prompt from the reader

Common device rules

Device rules are most useful when the right destination genuinely differs by platform.

The pattern that causes trouble is using them for personalization. On a poster a device rule should answer a compatibility question — where can this person install the thing? — rather than trying to guess what they would prefer to read.

  • iOS → App Store, Android → Google Play
  • Mobile → mobile web, Desktop → full site
  • Tablet → a larger-screen layout
  • Everyone else → a default page

One poster, two app stores

This is the case that pays for the feature. A poster or a packaging insert carries a single code; an iPhone lands on the App Store listing, an Android phone on Google Play, and a laptop on a page that describes the app and offers a link it can send to a phone.

Two details decide whether that works in practice. Desktop visitors exist and are usually forgotten — someone on a laptop who reaches a mobile app page has no way to install anything, so they need somewhere useful to land. And store links move: a listing can be renamed or withdrawn, so a code printed before that happens needs to be repointable without a reprint.

  • One code, one rule per platform, one fallback page
  • Give desktop a real destination, not an apology
  • Keep store URLs editable — listings change
  • Check the store page for every market you print for

Combining device and country rules

Rules can stack. A high-priority rule can send German iOS users to a specific localized app listing, while a broader mobile rule catches everyone else. Because the first matching rule wins, order and priority are what keep the behavior predictable.

The combination is most useful for app stores, which are as market-specific a destination as you will find — one app can have a different listing, name and publisher per country. Keep the specific rules above the broad ones and always leave one rule that catches everything.

  • Specific above general: country plus device outranks device alone
  • Add a country rule per market only where the listing really differs
  • Confirm the fallback on the one device you have not tested

Testing device rules before you print

You cannot test every branch from one machine. Scan the printed code from a real iPhone and a real Android phone, open the desktop destination in a browser, and check the fallback by scanning with something unusual.

The failures that matter are the ones that look like successes. A rule that sends an Android phone to Google Play still looks correct if you never open the link on an Android phone: you see the store page, the app installs, and nobody discovers that the iOS rule matched first until an iPhone user complains.

  • Scan from at least one iOS and one Android device before the run
  • Test the fallback deliberately — it is the branch most visitors take
  • Check the store link opens the right listing in your own country

Frequently asked questions

Can one QR code send iOS and Android users to different stores?
Yes. Add a device/OS rule per platform with a web fallback for desktop visitors.
What if the device can't be detected?
The scan falls through to the default destination, so always set one that works on any device — and make it a page that is useful to a tablet and a laptop as well as a phone.
Can I combine device and country rules?
Yes. Rules support multiple conditions and are evaluated by priority, so you can target precise combinations.
Do device rules work on static codes?
No. The decision is made on the server when a scan arrives, and a static code has no server behind it — the pattern is the URL. Routing by device requires a dynamic code.
Should a device rule show different content?
Usually not. On print, use it for compatibility — where can this device install the app — and keep the content in one place, or you end up maintaining two versions of a page nobody asked to fork.
What about tablets?
Give them their own rule only if you have something genuinely different to show. Otherwise let them fall through to the mobile branch, which is usually a closer fit than a desktop layout.

Keep reading

Ready to create one?

Dynamic codes are editable forever from €3/month.

Create your first dynamic QR code

Free to start. One code, editable forever, with scan tracking from the first scan.

Privacy-first analyticsNo per-scan feesEdit links anytimeNo contract