-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Unhandled Exception: Bad state: read only #293
Comments
More information would help, which platform, database location, some code example...can you write a file at the database location?. |
@alextekartik I get the following error when creating a new database: "Cannot create file OS Error Read only file system" on an iOS 15 simulator on latest MacOS |
@owenkealey Same response: More information would help, database location, some code example...can you write a file at the database location?. |
Here is how to fix this- ref = StoreRef<String, String>.main();
final applicationDirectory = await getApplicationDocumentsDirectory();
final databasePath = applicationDirectory.path + '/twitter.da';
final db = await databaseFactoryIo.openDatabase(databasePath); You would need to install |
Hero. |
while storing data to sembast
The text was updated successfully, but these errors were encountered: