You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi sir,
I really appreciate you because of your useful library, it has helped me a lot :)
But there is a problem in restoring scenario
Please imagine the following scenario
When user wants to restore (by BACKUP_FILE_LOCATION_CUSTOM_DIALOG), suddenly he chose a wrong file (for example a PDF file) what will happen now? the DB of user will be restated and all his old records in DB will be removed!!
So the user will lose his old data.
in this situation, the onComplete callback also shows success=true and exitCode=EXIT_CODE_SUCCESS
This is the problem I am facing right now...
The solution, (my suggestion)
I was wondering if there was a callback which could show the selected file name just before restore function invoke, would solve this problem. For example, if the selected file format is .PDF , I (as a developer) can check format via a simple IF and would not let restore function invoke.
Just a simple IF..
Finally I hope you and your useful library, the bests and lucks :)
The text was updated successfully, but these errors were encountered:
Hello @rezalaki ,
Thank you very much for your inquiry. I have not thought about this scenario yet. Very good point.
I will have a look at it and implement a solution for this!
Hi sir,
I really appreciate you because of your useful library, it has helped me a lot :)
But there is a problem in restoring scenario
Please imagine the following scenario
When user wants to restore (by BACKUP_FILE_LOCATION_CUSTOM_DIALOG), suddenly he chose a wrong file (for example a PDF file)
what will happen now? the DB of user will be restated and all his old records in DB will be removed!!
So the user will lose his old data.
in this situation, the onComplete callback also shows success=true and exitCode=EXIT_CODE_SUCCESS
This is the problem I am facing right now...
The solution, (my suggestion)
I was wondering if there was a callback which could show the selected file name just before restore function invoke, would solve this problem. For example, if the selected file format is .PDF , I (as a developer) can check format via a simple IF and would not let restore function invoke.
Just a simple IF..
Finally I hope you and your useful library, the bests and lucks :)
The text was updated successfully, but these errors were encountered: