powersync_attachments_helper 0.5.0
powersync_attachments_helper: ^0.5.0 copied to clipboard
A helper library for handling attachments when using PowerSync.
0.5.0 #
- Upgrade minimum Dart SDK constraint to
3.4.0. - Upgrade
sqlite_asyncto version 0.7.0.
0.4.1 #
- Reduce version number of
path_providerto2.0.13
0.4.0 #
- BREAKING CHANGE: Generalize naming so
savePhotoanddeletePhotohave been removed in favour ofsaveFileanddeleteFile - Added optional subDirectories argument when initializing the queue so that local subDirectories are created to match any subDirectories on the storage provider allowing files to be saved instead of an error being thrown.
0.3.2 #
- Fix sync not resetting after an error is thrown
0.3.1 #
- Add periodic syncing and deleting of attachments
- Remove unnecessary delete
- Fix loop
0.3.0 #
- BREAKING CHANGE:
reconcileIdhas been removed in favour ofreconcileIds. This will require a change towatchIdsimplementation which is shown inexample/getting_started.dart - Improved queue so that uploads, downloads and deletes do not happen multiple times
0.2.1 #
- Added
onUploadErroras an optional function that can be set when setting up the queue to handle upload errors - Added
onDownloadErroras an optional function that can be set when setting up the queue to handle upload errors
0.2.0 #
- Potentially BREAKING CHANGE for users who rely on multiple attachment queues. Moved away from randomly generating queue table name in favour of a user creating a queue and table using a name of their choosing.
0.1.5 #
- Allow different file extensions besides jpg.
0.1.4 #
- Update dependencies.
- Declare linux, macos and windows platform support.
0.1.3 #
- Update README.
0.1.2 #
- Update example.
0.1.1 #
- Amend pubspec.yml repository to correct url and use flutter sdk as dependency.
0.1.0 #
- Initial version.