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

Offline support #11

Closed
jakubgarfield opened this issue May 12, 2017 · 3 comments
Closed

Offline support #11

jakubgarfield opened this issue May 12, 2017 · 3 comments

Comments

@jakubgarfield
Copy link

What do you think about the ability to add expenses offline? We could leverage service workers and a cache for that.

@mitul45
Copy link
Owner

mitul45 commented May 13, 2017

That's a good idea, but I haven't been able to implement service workers correctly (check #5). Need to fix that first.

As far as I can think, we would have to cache expense and whenever a network becomes available - make an API call. Still not sure how the first time authorization part would work.

@jakubgarfield
Copy link
Author

@mitul45 I wouldn't worry about the first time authorization – that could be a hard requirement to be online (and you need to download the app somehow – so you probably are online already).

@mitul45
Copy link
Owner

mitul45 commented May 14, 2017

Not the first time authorization. Whenever the app is initialized, the Sheets API makes a call to check the auth status. Something has to be done about that.

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

No branches or pull requests

2 participants