Search code examples
flutterdartsqflite

Create a central sqflite database for many apps


I have searched but in vain for an answer to the question: Using sqflite and Flutter is it possible to create a central database which can be accessed by several different Flutter apps? Any suggestion appreciated!


Solution

  • In the case of Android, it is possible with a configuration in the manifest. Share SQLite database between 2 android apps?

    But in iOS, every app runs in a sandbox. Then, the same code won't run in both platforms.