hippware / rn-chat

MIT License
5 stars 0 forks source link

Card doesn't appear for user (tapping users avatar doesn't function for card) #4870

Open mstidham opened 4 years ago

mstidham commented 4 years ago

Card doesn't appear for user

QA TEMPLATE Input
Device Type: iPhone 7 Plus
iOS: 13.3.1
tr Version: 4.40.1
Environment Staging
Codepush:
Internet Connection Type: WiFi
Users affected? Miranda
User handle: @miranda
Bypass handle?:
Location access type? Always
Does this issue occur on other environments?
Time issue occurred (UTC) 2020-03-04 15:08

Observed Result:

User Miranda tapped on user Don's avatar from the header. User Don was traveling and his avatar was moving on the map but his card was not displaying (didn't get screenshot). Miranda then tapped on user Scurry and he displayed on map with card. Miranda tapped on Don again and the map went back to Don and he was still moving but the card remained for Scurry. I was unable to get Don's card to display. Sent app to the background/foreground tapped on Don again and nothing happened (Don’s card didn’t appear). He stopped moving and I then tapped on owner (Miranda) and card appeared for Miranda, tapped back on Don and it worked fine. This sorta feels like #4004 when something just gets stuck. I have not found a consistent way to reproduce this and I have seen this several times but it's not something that is consistent.

Expected Result:

Card should appear when user taps on avatar from header.

Steps to reproduce:

I have no steps to reproduce only steps when this occured

  1. Tap on avatar and card doesn't display
  2. Tap on another user to see if their card displays
  3. Tap back on the user with no card and see if card changes

Related Screenshots/Video Links:


Screenshot is of Don on the map and Scurry's card displaying.

image

bengtan commented 4 years ago

How often does this happen? A few times a day? A few times a week?

At this point, this is gonna be hard to debug because there's not much to go on.

I could put in detailed debugging to try track it down but it might not be worth the effort yet until there's more information.

mstidham commented 4 years ago

@bengtan This has been very random for me but Steve just had this experience after updating to 4.40.2

In this latest release to prod version: (testflight), two things I noticed when I installed. When the app opened to the map screen, no bottom card was present. Tapping on avatars didn't make it appear. Only when I moved the map did the card suddenly appear. Once the bottom card was working. When I tapped on my dads avatar everything appeared as it should, but then I tapped on my avatar and the map updated but the bottom card remained the card for my dad. That card finally updated to my card about 10 seconds after I initially tapped on my avatar.

bengtan commented 4 years ago

(Speculation)

I wonder if the card is prevented from being displayed because the (to-be-displayed) user doesn't have a location data point yet ??

bengtan commented 4 years ago

@mstidham:

Hmmm ... I wonder if an upgrade or a 'reset cache' makes this happen more frequently.

Can you try the following test please?

Also, instead of 'reset cache', do an upgrade and see if this happens 'soon' afterwards. For example, on iOS, you could upgrade/downgrade/switch between 4.40.2 and 4.40.1 (and even the upcoming 4.41.0).

mstidham commented 4 years ago

@bengtan I'm not seeing this issue with a reset cache or an upgrade. I feel like it's more related to maybe a poor connectivity area or something. If I shut WiFi off and load the app it does seem to load the card a bit slower but haven't been able to get the card stuck. I will get out today in area with poor service and document what I see.