Example Code: How to Delete DB from App #1428
North101
started this conversation in
Show and tell
Replies: 1 comment
-
Updated to show when the existing database doesn't match the generated database files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://gist.github.com/North101/5266be5c09877820adba5c18a70a76c2
When your app is in debug mode the home screen will be replaced and have the following options:
After that, it will proceed to your normal home screen.
As the database is deleted before it is accessed, you won't get any errors that you would get if the database was deleted when it was open.
Beta Was this translation helpful? Give feedback.
All reactions