Current user record not updating

I am creating an eBike rental app for hire from different hotels. Once a user signs up and choosing a hotel, Ihave a screen to show eBikes available for hire in real time. If the user then logs in , choosing a different hotel the users hotel remains static! ie does not change to current hotel. The users record does not update even though I have created a visible field in LOG IN as a dropdown to select current hotel.

Hello,

It’s hard to troubleshoot without the screenshots. I guess you save the chosen hotel after the initial selection, based on the saved value you show the eBikes. Why it doesn’t update? My guess is because once the user selects a different hotel, you are not updating the selected hotel.

Send some screenshots of your set up, that will help to troubleshoot.

Hi Vladyslav,

Thank you for your reply.

If it’s okay I’ll send a couple of screenshots to you tomorrow.

Thanks again.

Kind Regards

Paul Kennard (CEO)

EcoBicis Hoteles SL

Av, Mar Azul.12 30877, Mazarron,Murcia

NIF: B21763370

Hi again, I have taken a few screen shots and pasted into word. So what’s happening / not happening. New user signs up, I have a dropdown for >Selected Hotel< so new user then is taken to Home Screen, flow works, current hotel image and available bikes (not on hire) displayed correctly. But if user then logs out and logs in as a current user ( I have deleted the >Check Hotel< button on the simple login screen, but created another screen to test a >Check Hotel< function the database does not update users >current hotel< I am guessing that for this to work we would need a >Check Your Current Hotel< to be part of the booking flow? I’ve spent 7 days on this issue, even using Genspark and Chat GPT to no avail .

Hmmm I’m a little confused and the resolution of the images is small, so it’s hard to examine them…

Do you get the user to select the hotel, before the user’s account is created?

After the account is created, and the user goes back the screen they are no longer able to select a different hotel?

Do I understand it right?

Maybe try to record a video of both your app config and the flow that reproduces the unexpected behaviour.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.