Originally created by David Martos in #171. Prior to this fix the maxReaders was always set to the default of 5 read connections and would not be changed according to the parameter passed in. This fix ensures that the maxReaders parameter is propagated down to the SQLite factory to create multiple read connections.
Work done
Pass maxReaders parameter to PowerSync.withFactory
Description
Originally created by David Martos in #171. Prior to this fix the maxReaders was always set to the default of 5 read connections and would not be changed according to the parameter passed in. This fix ensures that the maxReaders parameter is propagated down to the SQLite factory to create multiple read connections.
Work done