Skip to main content
← Design & Bravo Tags
Design & Bravo Tags June 29, 2022 · 5 replies

Post login (once) opens on back button from Home

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Just as the title says, I m using Post Login (once) page and Firebase email auth. 

I get to the home screen, but when i press Android Back button, it goes back to the Post login page instead... back button being disabled

5 replies

app.monster June 29, 2022

What would you expect from the back button (other than going to the previous screen)?

Branimir June 29, 2022

Yes, going to a previous screen should be expected with a back button, but not on a Home screen, and not after a login flow. 

This is a native mobile pattern

app.monster June 30, 2022

So you would rather close the app? I don't think that's possible, neither is deactivating Android core functions

Branimir June 30, 2022

No I wouldnt. i just dont want to go back to login or post login flow once i get to my Home screen, since I use the post login to save Firebase user.id and Username to Airtable using httpbin.

Im using Post login page to fetch the user.id data i just created in Firebase and add a Username, and save all that data to my Airtable so I can filter by that id. There might be a better way to do that but I havent found it on any tutorial since there are pretty skimp on that particular issue.

So the problem is, once I enter my Username and Have user.id fetched from firebase and saved in Airtable (i use invisible text field to not show it just have it there saved) I get to my Home page, and I dont want to go back since going back to postlogin then back to the Home page again, means making another entry in Airtable with the same user.id

app.monster June 30, 2022

I see, that makes sense, thanks for clarifying the use case.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord