Skip to content

[$500] Android App user data storage not reduced on sign out #72645

Closed

Description

@izarutskaya

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.2.31-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: EDGE cases
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856

Action Performed:

1.Launch app
2.Go to Settings -> Storage -> Other Apps -> New Expensify
3.Note the cache size, open the app, and log in to any account.
4.Logout and do step 1
5Verify that the cache size is significantly less

Expected Result:

Cache size must be reduced.

Actual Result:

Cache size not reduced.

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6954819_1758743013298.Screenrecorder-2025-09-25-01-09-56-451.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021978699199376730992
  • Upwork Job ID: 1978699199376730992
  • Last Price Increase: 2025-11-27

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Oct 15, 2025
  2. melvin-bot commented on Oct 15, 2025

    @melvin-bot

    Triggered auto assignment to @stephanieelliott (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. stephanieelliott commented on Oct 16, 2025

    @stephanieelliott
    Contributor

    I found a similar (closed) issue here, cross-posting in case we can re-use any of the ideas here: #48427

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Oct 16, 2025
  5. changed the title [-]Cache size not reduced[/-] [+][$250] Cache size not reduced[/+] on Oct 16, 2025
  6. melvin-bot commented on Oct 16, 2025

    @melvin-bot
  7. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Oct 16, 2025
  8. melvin-bot commented on Oct 16, 2025

    @melvin-bot

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

  9. situchan commented on Oct 20, 2025

    @situchan
    Contributor

    Awaiting proposals

  10. melvin-bot commented on Oct 23, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  11. situchan commented on Oct 23, 2025

    @situchan
    Contributor
  12. 63 remaining items

  13. changed the title [-][$500] Cache size not reduced[/-] [+][$500] Android App user data storage not reduced on sign out[/+] on Nov 17, 2025
  14. TaduJR commented on Nov 17, 2025

    @TaduJR
    Contributor

    Thanks @Julesssss for taking care of this.

    user data seems fine at 24MB

    So your's is 24MB like mine as you can see on my video demonstration. But I don't know yours but I am using a test-account which means I doesn't have much load and traffic. So having 24MB in a test account seems not good. As you can see the OP's video they are experiencing like 74MB. During my in the last week's testing I had managed to make the app user data around 85MB until I uninstalled it by accident when testing. But if you need to be sure I can use the app daily and intensively then it will shoot up to like 60 or 70 MB.

  15. Julesssss commented on Nov 18, 2025

    @Julesssss
    Contributor

    My account is heavily used and has hundreds of chats/reports/expenses. lets check back in a week but I'm not convinced there is a problem here. I recall seeing a large amount of data in the past but I'd rather focus on reducing that for users who have not yet signed out.

  16. TaduJR commented on Nov 18, 2025

    @TaduJR
    Contributor

    I have an update @Julesssss

    So I gave my device to a friend to send large files use intensively do my things download upload everything, and the User Data is more than 100MB 🤔. Idk which exact way made it to shoot like this but yesterday it was 24MB as you saw. Then I tried to signout the cache got cleared it was like around 80MB if im not mistaken.

    Here is a User Data

    Screen_Recording_20251118_212941_Settings.mp4
  17. TaduJR commented on Nov 18, 2025

    @TaduJR
    Contributor

    lets check back in a week but I'm not convinced there is a problem here.

    Good we can close if not repo for you i guess

    I'd rather focus on reducing that for users who have not yet signed out.

    Hmmm thats very interesting. I think once we got how do we make the User Data go up we can investigate that. I will try to get repo steps soon if possible.

  18. melvin-bot commented on Nov 20, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  19. melvin-bot commented on Nov 27, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  20. TaduJR commented on Dec 3, 2025

    @TaduJR
    Contributor

    @Julesssss what PR are we waiting?

  21. Julesssss commented on Dec 3, 2025

    @Julesssss
    Contributor

    what PR are we waiting?

    Oops, wrong issue.

    So my device is still showing 26MB. Lets close this issue but I will be happy to reopen if we can reproduce this in the future.

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions