Closed katiahristova closed 11 months ago
There is a problem with the update user API. It returns a success but in reality the first and last name are null after fetching the user's profile. Only once happened to see that the names were saved successfully. Here is a screenshot of the request and response. I debugged and made sure that we have a valid JWD token.
For the body I'm passing only firstName & lastName. Everything else is passed as an empty string.
body: jsonEncode({ 'user_fname': firstName, 'user_lname': lastName, 'user_uname': userName, 'user_phone': phone, 'user_gender': gender, 'user_birth': birth, 'userPhotoURL': photo, }))
@katiahristova I was able to go around this by using a different screen that used to build user's profile. Essentially just gives some more time for the backend to arrange its internal things. It seems to be working now. Test it and will create a PR if all is good. There was one more thing that I fixed. The logic for the user's icon was messed up. It's fixed as well. You can add another 30min on top of all.
@sami79031 a couple of questions:
@katiahristova please test
@sami79031 Onboarding works for me now, I tested. Tom says the source of the error was some resource allocation thing. If you see any errors still please make comments below. If not, we can move on with the new flow:
The onboarding flow will now have just one screen.
Tom says the API is ready to handle not receiving values for the extra parameters.
As you reroute the onboarding flow please don't delete any of the screens that we no longer show, because they are or will be used in other parts of the app.