inaturalist / iNaturalistReactNative

Cross-platform version of the iNat mobile app
MIT License
63 stars 21 forks source link

Tapping sync button in toolbar syncs forever #1630

Closed kueda closed 3 months ago

kueda commented 3 months ago

Describe the bug Tapping the sync button in the toolbar when you have no observations to upload syncs forever

To Reproduce Steps to reproduce the behavior:

  1. Sign in to an account with observations
  2. Tap the sync button in the toobar
  3. Toolbar icon starts to rotate and status says "Syncing..."... and stays that way until you force quit the app or sign out

Expected behavior Syncing status should stop when syncing stops, and syncing should not last forever/

Context (please complete the following information):

Additional context Abhas and I are both experiencing this under very good network conditions, so this isn't because the request is timing out. That case might be worth addressing but this is something else.

abhasinat commented 3 months ago

When a user taps the sync button:

albullington commented 3 months ago

@abhasinat a couple questions on this:

abhasinat commented 3 months ago

great questions.