Description
Issue
The upstream op-sqlite package supports usage with iOS App Groups. Configuring the plist entry should have been enough to use @powersync/op-sqlite with App Groups too, however this package always provides a dbLocation param which overrides the location value that would have been computed by the op-sqlite package.
This package provides the default dbLocation param because as the comment correctly notes passing undefined/null causes the open function to fail. This happens because the open fn checks for property existence instead of the value being undefined/null and so the intended usage is to not add the location property to the options object to begin with. That'd allow the default dbLocation determination logic of the upstream package to kick in.
Solution
Not pass a location property in the options object in the open()
call unless a user provided override is set. Have this working locally, happy to submit a PR