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

Manual Sync when there is no network results in User getting logged Out #1102

Open
himeshr opened this issue Sep 25, 2023 · 0 comments
Open
Assignees
Labels

Comments

@himeshr
Copy link
Contributor

himeshr commented Sep 25, 2023

Describe the bug
When there is no network and user presses sync, it asks user to login again and does not just state that synchfailed. If it waits for login as there is no network, Users wont be able to even enter data for forms and are stuck till there is network.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Avni Client' android app
  2. Login and sync data completely
  3. Put the phone on Aeroplane mode
  4. wait for more than 1 hour
  5. Attempt Manual sync
  6. user is redirected to login page

Expected behavior
When there is no network and user presses sync, is should just say sync failed and allow user to modify data on app as deemed fit.

Screenrecording
https://github.com/avniproject/avni-client/assets/72493481/960017d1-e18d-471f-bb90-9f9a5f9bb7fd

Workaround
Closing and re-opening the app, loads the dashboard page and not a login page. This ensures that user can resume data-collection operations

Smartphone (please complete the following information):

  • Device: [Nexus5]
  • OS: [Android 11.0 API 30]
  • Version [Avni-client 4.0.1]

Additional context
This is reported by Goonj.

@himeshr himeshr moved this to Ready in Avni Product Sep 25, 2023
@mahalakshme mahalakshme moved this from Ready to In Analysis in Avni Product Sep 25, 2023
@himeshr himeshr added the goonj label Sep 25, 2023
@himeshr himeshr moved this from In Analysis to Ready in Avni Product Sep 25, 2023
@mahalakshme mahalakshme moved this from Ready to Analysis Complete in Avni Product Oct 30, 2023
@mahalakshme mahalakshme moved this from Analysis Complete to Focus Items in Avni Product Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Focus Items
Development

No branches or pull requests

1 participant