We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ce13b commit bc98f23Copy full SHA for bc98f23
1 file changed
packages/powersync-op-sqlite/README.md
@@ -104,6 +104,21 @@ const factory = new OPSqliteOpenFactory({
104
});
105
```
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
122
## Native Projects
123
124
This package uses native libraries. Create native Android and iOS projects (if not created already) by running:
0 commit comments