ushahidi / platform-mobile

Hybrid Mobile UI for Ushahidi Platform V3+
GNU Affero General Public License v3.0
3 stars 1 forks source link

Data gathering issue in offline mode #10

Open jrtricafort opened 5 years ago

jrtricafort commented 5 years ago

One of our users is struggling with collecting field work data while using the Ushahidi mobile app in offline mode. Let's fill in more detail below:

Describe the bug A clear and concise description of what the bug is.

Which deployment are you using Include the deployment URL (e.g. "https://test.ushahidi.io")

Steps to Reproduce Steps to reproduce the behavior:

  1. Open the app '...'
  2. Select Login '...'
  3. Enter your email '....'
  4. Enter your password '....'
  5. Click the Login button
  6. See error

Expected Behavior A clear and concise description of what you expected to happen.

Hardware Details (please complete the following information):

Additional Context Add any other context about the problem here.

jrtricafort commented 5 years ago

Assigned to @Obadha2 so that he can repro the behavior and we can suggest a fix. However @Obadha2 doesn't have access to see the original Intercom message. @aoduor or @StaicyG can we summarize the issue here so that he can look, repro, and then we can suggest and investigate a fix from the developer side?

cc'ing @tuxpiper since he looked into this a bit last week. There appeared to be a related issue ( ushahidi/platform-mobile#97 ) but this original issue is still persisting. David, could you share your conclusions and writeup from intercom to this github issue?

tuxpiper commented 5 years ago

Pictures attached with their message:

whatsapp image 2019-02-07 at 09 15 52

they claim that they weren't able to sync posts after coming back online, but I wasn't able to verify.

whatsapp image 2019-02-07 at 10 09 59

I reproduced this by going offline and just trying to post after making sure that my GPS had fixated a position. For some reason, it looks like the app tries to draw the map... failing, of course. This is the only real bug I saw.

whatsapp image 2019-02-07 at 10 10 26

I reproduced this while I was offline and my GPS hadn't fixated a position. I think this is actually not buggy, just... not terribly helpful.

Maybe a message encouraging the user to get a GPS fix and try again would be helpful, because at least they would get pre-filled coordinates.

I guess my main confusion as a user here would be: if I fill something both in the Street,City,Country fields and the numeric coordinate fields.. which input will prevail?

jrtricafort commented 5 years ago

Thanks @tuxpiper . Do you know if this is a recent regression or has it always been like this? I'm interested why it popped up twice recently and if something changed?

jrtricafort commented 5 years ago

Also, @StaicyG or @tuxpiper -- what's the expected behavior versus actual behavior? It isn't immediately clear to me the difference in David's screenshots.

tuxpiper commented 5 years ago

Thanks @tuxpiper . Do you know if this is a recent regression or has it always been like this? I'm interested why it popped up twice recently and if something changed?

First time I come across it, but I haven't been done extensive testing of the mobile app...

Also, @StaicyG or @tuxpiper -- what's the expected behavior versus actual behavior? It isn't immediately clear to me the difference in David's screenshots.

To me, only the second screenshot shows a hard bug, and it is that the app shouldn't try to draw the map when offline. I think the intended behavior would be to get something like the third screenshot, just with pre-filled coordinates.

The problem with the third screenshot may just be that it confuses users, and that's something I'm not so good at poking at :)