@powersync/op-sqlite 0.0.0-dev-20250128125736 → 0.0.0-dev-20250207081035

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -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: