Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need support for attachment helper packages under Kotlin + Supabase Database Storage + PowerSync #76

Open
legend295 opened this issue Oct 30, 2024 · 2 comments

Comments

@legend295
Copy link

legend295 commented Oct 30, 2024

Hello

I'm working on the application where we need to support data and files support for offline and online sync. I'm able to do with the data in the table and sync them offline/online. But fails to do that with files in storage.

According to https://docs.powersync.com/usage/use-case-examples/attachments-files, attachment helper packages are in the works.

Until then, what approach can I use to upload the files to Supabase Database Storage which supports offline sync, and will that implementation sync the files offline and online like it does for the data in the database?

I can see that support is there in flutter and reactnative but nothing for now in kotlin. Looking for support.

@Manrich121 @stevensJourney @DominicGBauer

Help appreciated.

@legend295 legend295 changed the title Attachment helper packages for Kotlin Need support for attachment helper packages under Kotlin + Supabase Database Storage + PowerSync Nov 4, 2024
@legend295
Copy link
Author

Hello
Could you please help @Manrich121 @stevensJourney @DominicGBauer
Thanks

@DominicGBauer
Copy link
Contributor

DominicGBauer commented Nov 4, 2024

Hi @legend295 sorry we missed this.

We currently do not have an attachments package for Kotlin and are not working on one at present. Your best bet at this moment in time would be to look at either the dart or javascript helper to give you some guidance on how you can implement your own attachments queue in Kotlin.

The main idea of the packages is to have a locaOnly table that queues uploading and downloading the attachments to and from the external storage facility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants