# Always open app on home tab?

**URL:** <https://community.glideapps.com/t/always-open-app-on-home-tab/4059>\
**Category:** Ask for Help\
**Created:** [January 29, 2020, 7:38am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059 "2020-01-29T07:38:52Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![doclures](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@doclures](https://community.glideapps.com/u/doclures)\
**Post date:** [January 29, 2020, 7:38am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/1 "2020-01-29T07:38:52Z")

</div>

G’day all,

Newbie question, so apologies if it’s been answered before, but have searched and searched without finding the answer…

I’d like my app to always open on the home tab, is there a way to do this? Currently if I close the app and reopen it brings up whatever tab/component I was on when I last used it.

Cheers  
doc

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [January 29, 2020, 8:04am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/2 "2020-01-29T08:04:38Z")

</div>

This behavior is “normal”, not due to Glide but to Android os. When you exit an app using the device keys, it remains in cache for some time. So if you launch the app again, the system puts it back to the screen.

If you close the app, kill all apps running in background, then your app will start as expected (home page first).

---

<div class="post-metadata">

**Author:** ![doclures](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@doclures](https://community.glideapps.com/u/doclures)\
**Post date:** [January 29, 2020, 9:22am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/3 "2020-01-29T09:22:47Z")

</div>

Thanks for the help Christophe, but not sure if that’s the issue. I’m viewing the app on iPhone, not android and it still picks up from wherever I left off.

But what I’m after is for my users to be directed to the home tab when they first open the app. That’s where they’ll be able to register for the upcoming workshops.

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [January 29, 2020, 9:26am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/4 "2020-01-29T09:26:55Z")

</div>

I really think the issue is about app caching by the device is. Not sure if there’s a way to automatically redirect your users to the home tab, nevertheless as a quick workaround you can add a button somewhere in your screen(s), at the top or the bottom, with a label such as “back to home” or “registration” and set this button with the action “link to sheet” (selecting the home sheet). This is a manual, but it will work.

---

<div class="post-metadata">

**Author:** ![doclures](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@doclures](https://community.glideapps.com/u/doclures)\
**Post date:** [January 29, 2020, 10:27am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/5 "2020-01-29T10:27:46Z")

</div>

No worries, thanks, appreciate your advice. Unfortunately that means a lot of users might miss my main offer, so Glide may not work for me unless I can find a workaround… ☹

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [January 29, 2020, 10:57am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/6 "2020-01-29T10:57:07Z")

</div>

I understand, nevertheless you will have this problem with any other app or framework.

When you launch your Glide app, if it has not been cached by the device os, it will start by displaying first the splash screen (with your app icon) and then will open the main tab.

In your case, if you exit the app and open it again and don’t have the splash screen, it means your app has been cached, so has not been really closed by your device os. You should have a look on your device settings, and ensure apps are closed when exiting, and not remain active for some time…

---

<div class="post-metadata">

**Author:** ![doclures](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@doclures](https://community.glideapps.com/u/doclures)\
**Post date:** [January 29, 2020, 11:09am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/7 "2020-01-29T11:09:35Z")

</div>

Thanks again Christoph, much appreciated.

---

<div class="post-metadata">

**Author:** ![Melanie.Schaekers](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/melanie.schaekers/32/22804_2.png) [@Melanie.Schaekers](https://community.glideapps.com/u/Melanie.Schaekers)\
**Post date:** [April 10, 2021, 8:02pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/8 "2021-04-10T20:02:11Z")

</div>

Hi, has someone figured out how Glide chooses which tab to open first when logging in to the app? Is there some logic behind this?

@Christophe_HK mentioned that when launching the Glide app it will open the “main tab”. How does Glide know what the “main tab” is?

If I understand correctly :

The difference between my question and that of @doclures is that my question is about which tab shows when launching the app, logging in or reopening the app, while the question of @doclures is about which tab is shown when opening the app, when the app is already open and running in the background of your smartphone.

Greetings,  
Tine

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 10, 2021, 10:20pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/9 "2021-04-10T22:20:50Z")

</div>

Isn’t it the first tab (from top down to bottom) that has a matching visibility condition?

---

<div class="post-metadata">

**Author:** ![Malcolm\_Lewis](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Malcolm\_Lewis](https://community.glideapps.com/u/Malcolm_Lewis)\
**Post date:** [November 4, 2021, 4:48pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/10 "2021-11-04T16:48:01Z")

</div>

@ThinhDinh I read this and wanted it to be true.

But see below.

For new app opens, the default tab is always **Users**. I’d like it to be **Home**.

Any suggestions? As an aside, I will vote for the feature request that allows us to select an explicit opening tab.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cd2f492bddf8141389b5ebbc80a2304eed07eaad.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 4, 2021, 4:51pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/11 "2021-11-04T16:51:27Z")

</div>

Do you have visibility conditions on any of those other tabs?

---

<div class="post-metadata">

**Author:** ![Malcolm\_Lewis](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Malcolm\_Lewis](https://community.glideapps.com/u/Malcolm_Lewis)\
**Post date:** [November 4, 2021, 4:55pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/12 "2021-11-04T16:55:07Z")

</div>

Yes. But none would preclude the **Home** tab from being visible to the current user (Malcolm, in the screenshot).

The only condition on the Home tab is that user email is not empty.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b639b44baeabb3d353e34b668dd503a547ba02f.png)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 4, 2021, 4:57pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/13 "2021-11-04T16:57:25Z")

</div>

I’d check those very carefully. I’ve never seen this not work as @ThinhDinh described.

---

<div class="post-metadata">

**Author:** ![Malcolm\_Lewis](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Malcolm\_Lewis](https://community.glideapps.com/u/Malcolm_Lewis)\
**Post date:** [November 4, 2021, 4:58pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/14 "2021-11-04T16:58:26Z")

</div>

I expanded my answer above. The only visibility condition is email is not empty. And if I inspect the data, email is def not empty, as you would expect when I have a signed-in user selected.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/4/b4e1c459f0d203a157b73842b6c5eb83ac61c302.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 4, 2021, 5:03pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/15 "2021-11-04T17:03:23Z")

</div>

What happens if you remove that visibility condition?

You might be better with `email is signed-in user`

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 4, 2021, 5:16pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/16 "2021-11-04T17:16:25Z")

</div>

Your screenshots show the builder. Are you experiencing this in the live app?

---

<div class="post-metadata">

**Author:** ![Malcolm\_Lewis](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Malcolm\_Lewis](https://community.glideapps.com/u/Malcolm_Lewis)\
**Post date:** [November 4, 2021, 5:46pm UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/17 "2021-11-04T17:46:16Z")

</div>

Thanks @Jeff_Hager. Works as desired/expected on my phone.

@Darren_Murphy will adjust the visibility condition and good idea re testing it. Thanks.

---

<div class="post-metadata">

**Author:** ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)\
**Post date:** [January 15, 2022, 3:34am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/18 "2022-01-15T03:34:56Z")

</div>

I just ran across this on an app I’m working on. I had a visibility condition attached to every tab except one, and the builder was defaulting to that page without a condition. The app still defaulted to the highest appropriate one on the list.

I added a visibility condition (welcome screen completed) to the one page without a condition and the builder defaulted to the first one on the list that is appropriate given the visibility conditions.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 12, 2024, 1:49am UTC](https://community.glideapps.com/t/always-open-app-on-home-tab/4059/19 "2024-01-12T01:49:59Z")

</div>


