Skip to content

[Due for payment 2025-06-11] [$250] Add QR code to app download links screen #62070

Closed

Description

@dubielzyk-expensify

Problem

We try to promote the app download for web and desktop users when we can. Today we send them to our App download links screen which contains links to the appropriate stores. It can be tedious or difficult to get those links onto the phone.

$ https://github.com/Expensify/Web-Expensify/pull/46727

Solution

Add a QR code to Account -> About -> App download links screen. This QR code navigates to https://expensify.com/mobile which sends you to the relevant App Store or defaults to our mobile landing page.

Image

Notes/Questions:

  • I assume the easiest is to use a QR code SVG? Or maybe we use the method we use for creating QR code when you go to Account -> Profile -> Share?
  • The icon used in the QR code cutout is this illustration

cc @Expensify/design @jamesdeanexpensify

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021922878305599510589
  • Upwork Job ID: 1922878305599510589
  • Last Price Increase: 2025-05-15
  • Automatic offers:
    • nkdengineer | Contributor | 107333993
Issue OwnerCurrent Issue Owner: @lakchote

Activity

  1. added
    External
    on May 15, 2025
  2. melvin-bot commented on May 15, 2025

    @melvin-bot

    Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.

  3. melvin-bot commented on May 15, 2025

    @melvin-bot
  4. changed the title [-]Add QR code to app download links screen[/-] [+][$250] Add QR code to app download links screen[/+] on May 15, 2025
  5. added
    Help Wanted
    on May 15, 2025
  6. melvin-bot commented on May 15, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (External)

  7. added
    Daily
    and removed
    Weekly
    on May 15, 2025
  8. added
    Improvement
    on May 15, 2025
  9. nkdengineer commented on May 15, 2025

    @nkdengineer
    Contributor

    🚨 Edited by proposal-police: This proposal was edited at 2025-05-15 05:30:52 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Add QR code to app download links screen

    What is the root cause of that problem?

    Improvement

    What changes do you think we should make in order to solve the problem?

    We can add the QR before the download link list here.

    <ScrollView style={[styles.mt3]}>

    We can use the QRShareWithDownload component as we do on ShareCodePage, the URL is https://expensify.com/mobile and the icon is here or we can use QRCode component to custom. Other styles we can discuss in the PR

    <QRShareWithDownload

    If we use QRShareWithDownload:

    1. We need a prop to hide the expensify logo

    <View style={styles.expensifyQrLogo}>

    1. We should only render the title if it's not empty

    1. Add a prop to custom the container style to change the padding.

    style={styles.shareCodeContainer}

    1. Add a prop to control the qrShareHorizontalPadding because in our case, the ph is different

    const [qrCodeSize, setQrCodeSize] = useState<number>(qrCodeContainerWidth - styles.ph5.paddingHorizontal * 2 - variables.qrShareHorizontalPadding * 2);

    1. To have borderRadius style, we need to wrap this component here or here with a View and add borderRadius style and overflow hidden. The borderRadius can be controlled via a prop.

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    None

    What alternative solutions did you explore? (Optional)

    NA

    Result

    Image

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  10. github-actions commented on May 15, 2025

    @github-actions
    Contributor

    ⚠️ Thanks for your proposal. Please update it to follow the proposal template, as proposals are only reviewed if they follow that format (note the mandatory sections).

  11. nabi-ebrahimi commented on May 15, 2025

    @nabi-ebrahimi
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Currently, on desktop and web platforms, users who want to install the mobile app are presented with links to the app stores. However, transferring these links to a mobile device manually can be inconvenient or time-consuming, especially for less technical users.

    What is the root cause of that problem?

    The App Download Links screen provides store links, but doesn't support an easy way to transfer those links to a mobile device. This creates friction in the app download experience, particularly for users who are viewing the screen on a non-mobile device.

    What changes do you think we should make in order to solve the problem?

    We should add a QR code to the Account → About → App Download Links screen. This QR code should encode the URL https://expensify.com/mobile, which redirects users to the appropriate App Store based on their device.

    The QR code can be displayed as an SVG (or PNG, based on implementation preference) and placed either:

    • Above the list of download links, or
    • Below them, with appropriate padding/margins and a short label like “Scan to download”. here

    We can reuse the same method used on Account → Profile → Share, possibly using the same QR code generation utility/component. here

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    • The QR code should render correctly on the App Download Links screen.
    • The QR code should encode the correct URL (https://expensify.com/mobile).
    • The QR code should be visible alongside the other download link menu items.
    • The layout should remain functional and visually correct across different screen sizes (responsive UI test).
    • Optionally: Validate that the QR code component does not crash or throw on re-renders.

    What alternative solutions did you explore? (Optional)

  12. 24 remaining items

  13. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Jun 4, 2025
  14. changed the title [-][$250] Add QR code to app download links screen[/-] [+][Due for payment 2025-06-11] [$250] Add QR code to app download links screen[/+] on Jun 4, 2025
  15. removed
    Reviewing
    on Jun 4, 2025
  16. melvin-bot commented on Jun 4, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  17. melvin-bot commented on Jun 4, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.58-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-06-11. 🎊

    For reference, here are some details about the assignees on this issue:

  18. s77rt commented on Jun 8, 2025

    @s77rt
    Member

    No regression test needed ^

  19. added
    Daily
    and removed
    Weekly
    on Jun 11, 2025
  20. melvin-bot commented on Jun 11, 2025

    @melvin-bot

    Issue is ready for payment but no BZ is assigned. @maddylewis you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

  21. maddylewis commented on Jun 11, 2025

    @maddylewis
    Contributor

    Payments Overview + Final To-Dos

  22. JmillsExpensify commented on Jun 12, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @s77rt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDailyEngineeringExternalImprovement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions