Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even after deleting cache and data, uninstalling and reinstalling the app has the deleted data #4518

Closed
KolliAnitha opened this issue Aug 21, 2022 · 4 comments
Assignees
Labels
bug End user-perceivable behaviors which are not desirable. Impact: Low Low perceived user impact (e.g. edge cases). Issue: Needs Break-down Indicates that an issue is too large and should be broken into smaller chunks. Issue: Needs Clarification Indicates that an issue needs more detail in order to be able to be acted upon. Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. Z-ibt Temporary label for Ben to keep track of issues he's triaged.

Comments

@KolliAnitha
Copy link

KolliAnitha commented Aug 21, 2022

Describe the bug
Even after deleting cache and data, uninstalling and reinstalling the app has the deleted data

To Reproduce
Steps to reproduce the behavior:

  1. Open Oppia with profiles
  2. Now go to settings- App management- Oppia- Click on Storage usage- Clear cache and Clear data
  3. Open Oppia and click on Next and Get started
  4. Create admin pin- Create a profile- and open a few topics
  5. Select Admin- Enter Pin dialog box opens- Click on I forgot my pin
  6. Go to Play store link will be present click on it and uninstall then reinstall the app
  7. Open Oppia

Expected behavior
Oppia should open up and introduction should be displayed. Old profiles with deleted cache and data should not be seen

Demonstration
https://user-images.githubusercontent.com/101634267/185777346-493aba7d-3e8f-404a-af4d-4227cce19dba.mp4
https://user-images.githubusercontent.com/101634267/185777355-2f3acefe-6ad3-4098-b832-6f834a1c85df.mp4

Environment
Device name: One plus Nord2 5G
Android version : Android 11
App version : 0.8-alpha-091b45a188

@BenHenning BenHenning added Impact: Low Low perceived user impact (e.g. edge cases). Z-ibt Temporary label for Ben to keep track of issues he's triaged. issue_user_learner labels Sep 15, 2022
@seanlip seanlip added bug End user-perceivable behaviors which are not desirable. and removed issue_user_learner labels Mar 29, 2023
@adhiamboperes adhiamboperes self-assigned this Apr 22, 2023
@adhiamboperes adhiamboperes added Issue: Needs Clarification Indicates that an issue needs more detail in order to be able to be acted upon. Issue: Needs Break-down Indicates that an issue is too large and should be broken into smaller chunks. Impact: Medium Moderate perceived user impact (non-blocking bugs and general improvements). Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. and removed Impact: Low Low perceived user impact (e.g. edge cases). labels Apr 22, 2023
@adhiamboperes
Copy link
Collaborator

adhiamboperes commented May 10, 2023

Hey @BenHenning
From my investigation, this seems to have been caused by automatic backups. We allow this feature in our manifest.
From the look of things, automatic data restore is a problem when an admin is trying to reset a forgotten admin password.

Is it important for the app to be able to backup to the cloud at the moment?

We can disable backups by setting android:allowBackup to false in the manifest.

Would you rather go with a different solution for this issue?

@adhiamboperes adhiamboperes removed their assignment Aug 7, 2023
@adhiamboperes adhiamboperes added Impact: Low Low perceived user impact (e.g. edge cases). and removed Impact: Medium Moderate perceived user impact (non-blocking bugs and general improvements). labels Jun 2, 2024
@BenHenning BenHenning added this to the 1.0 Global availability milestone Aug 29, 2024
@TanishMoral11
Copy link
Collaborator

Hey @BenHenning , @adhiamboperes ,
To Resolve This Issue, I Believe Disabling android:allowBackup By Setting It To false Would Be A Good Solution. Can I Proceed With This Approach?

@BenHenning
Copy link
Member

This problem seems most likely to affect testers and developers more than real users, and we haven't yet had any user feedback on problems like this (i.e. data unexpectedly being restored after reinstalling the app).

With that in mind, I think we should close this issue until we hear real feedback from users.

@BenHenning BenHenning closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug End user-perceivable behaviors which are not desirable. Impact: Low Low perceived user impact (e.g. edge cases). Issue: Needs Break-down Indicates that an issue is too large and should be broken into smaller chunks. Issue: Needs Clarification Indicates that an issue needs more detail in order to be able to be acted upon. Work: Medium The means to find the solution is clear, but it isn't at good-first-issue level yet. Z-ibt Temporary label for Ben to keep track of issues he's triaged.
Development

Successfully merging a pull request may close this issue.

5 participants