Currently my app wants to add a widget. I know that in order to use a database in a widget, I need to use the database in the path created using the app group. In this case, usually only widgets use a shared database? Or will the app database itself use a shared database as well?
If I use a shared database like this, this database becomes a new database without data. If the app db also uses a shared database, Should I migrate the database data? Is this the normal way? I don't know if I'm doing it right.