Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

How offix supports File offline upload ? #1094

Open
Aarbel opened this issue Sep 5, 2021 · 4 comments
Open

How offix supports File offline upload ? #1094

Aarbel opened this issue Sep 5, 2021 · 4 comments

Comments

@Aarbel
Copy link

Aarbel commented Sep 5, 2021

User case

My users want to create tasks offline, adding pictures
I want these files to be uploaded when connexion is back

How to do it with offix ?

@wtrocki
Copy link
Contributor

wtrocki commented Sep 5, 2021

Not supported. Sorry. Offix is in maintenance mode. no new features

@Aarbel
Copy link
Author

Aarbel commented Sep 5, 2021

@wtrocki, do you know an offline lib that supports that ?

@wtrocki
Copy link
Contributor

wtrocki commented Sep 5, 2021

Depends. Basically you should store location to file not file itself and then have uploadLink from graphql file protocol. Problem is that FileList cannot be created programatically unless in ionic or react native.

React Query is the new standard

@Aarbel
Copy link
Author

Aarbel commented Sep 5, 2021

We’re using Urql, so I’m diving on this side ! Thanks a lot

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

No branches or pull requests

2 participants