Skip to content

[Bug] Share households through QRcode #30

Closed

Description

@elenaeastwest-collab

What happened?

Share households through QRcode does not work.

Image

How do we make it happen again?

  1. Open the app.
  2. Go to Settings.
  3. Choose My households. The name of the Household appears.
  4. Choose Share. QR code appears.
  5. The partner uses his phone to scan the QR code and receives the error (see screenshot).

What did you expect instead?

I expect that the Household appears on the partner's phone after scanning the QR code

Screenshot or screen recording

Image

Which build are you on?

v0.1.6 (bottom navigation bar)

Phone and Android version

Pixel 7 Pro, Android 16

Does it happen every time?

Every time

Anything else?

Share households by filling in the code manually works.

Activity

  1. self-assigned this
    on Jul 12, 2026
  2. added this to the v0.1.7 milestone on Jul 12, 2026
  3. removed this from the v0.1.7 milestone on Jul 12, 2026
  4. spdotdev commented on Jul 12, 2026

    @spdotdev
    Owner

    Fixed — verified on a Pixel 7 Pro.

    The invite QR encodes the invite link (so a plain camera app lands on the web join page), but the scanner was dropping those raw contents straight into the join field. POST /households/join matches join_code exactly, so the app was sending:

    {"code":"https://inventory.scuttle.dev/join/ABCD-2345"}

    which 404s — the "could not be found" error in your screenshot. parseJoinCode (c5d66a4) now lifts the bare code out of a scan, a pasted link or a typed code before it reaches the API, and the same flow reaches "Joined successfully!". A regression test covering the request body is in #37.

    ⚠️ This is not on your phone yet. The fix is on main, but you're on v0.1.6 and the next build hasn't gone out — sharing a household by QR will still fail until it does. I'll ping you when there's a build to install.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions