-
Notifications
You must be signed in to change notification settings - Fork 88
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
Handle database or diskfull error #625
Comments
@nayakrounak - Need input clarification on what happens to the incoming VC when we see that there is no space to save the VC? |
If we are going to delete oldest VC's automatically, (behind the scenes), we should have some where mentioned in the documentation that when or after how many VCs the older will deleted.. Also it is not the number of VCs.. it depends on each VC size.. (depending the data (text/image) in the VC.. |
It is required to understand the limits of the system, what are those limits, and how to address when the system reaches its limits. |
That is the reason for keeping the ticket in input clarification phase. |
…loading popup while saving
For now, let show an error message, stating that, no more cards can be added or received as app data is full (Please reframe the statement as needed). We will later give a patch with feature to remove VC (received or downloaded) and update the error message. Sasi also has some comments over this, we should store the received VIDs externally and add a reference in app data. We can discuss this after our release and add this feature later. |
…reen and Purple theme button being large in multiple places
fea(mosip#625): Show dialog when VC can't be stored on the sqlite disk full error
While this is an important problem we need to solve it more better. I would prefer not to store the VC directly in the DB rather in a encrypted file. and the reference and metadata in the DB. Can we make this as an enhancement? Also i wanted to cache the schema that the VC refers. This will be needed for our offline validation of VC. |
This bug is not a part of the 0.9 release, hence assigning back to dev team for further investigation and changes as mentioned by Sasikumar. |
This bug has been moved to Jira. |
Is your feature request related to a problem? Please describe.
When the database(from AsyncStorage lib), gets full, the UI to store the VC's gets hung.
Describe the solution you'd like
Instead of show the UI getting frozen, an error needed to be shown for the user to recover from the error
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: