File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
packages/powersync-op-sqlite Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,21 @@ const factory = new OPSqliteOpenFactory({
104
104
});
105
105
```
106
106
107
+ ## Using the Memory Temporary Store
108
+
109
+ For some targets like Android 12/API 31, syncing of large datasets may cause disk IO errors due to the default temporary store option (file) used.
110
+ To resolve this you can use the ` memory ` option, by adding the following configuration option to your application's ` package.json `
111
+
112
+ ``` json
113
+ {
114
+ // your normal package.json
115
+ // ...
116
+ "op-sqlite" : {
117
+ "sqliteFlags" : " -DSQLITE_TEMP_STORE=2"
118
+ }
119
+ }
120
+ ```
121
+
107
122
## Native Projects
108
123
109
124
This package uses native libraries. Create native Android and iOS projects (if not created already) by running:
You can’t perform that action at this time.
0 commit comments