# Disable Android back button?

**URL:** <https://forum.adalo.com/t/disable-android-back-button/724>\
**Category:** Get Help\
**Created:** [April 13, 2020, 10:43pm UTC](https://forum.adalo.com/t/disable-android-back-button/724 "2020-04-13T22:43:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulDJ87](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@PaulDJ87](https://forum.adalo.com/u/PaulDJ87)\
**Post date:** [April 13, 2020, 10:43pm UTC](https://forum.adalo.com/t/disable-android-back-button/724/1 "2020-04-13T22:43:12Z")

</div>

Just testing on my Android device and noticed that if I use the device back button it does some strange things like showing the modal screen again. Is there any way to disable the Android back action?

---

<div class="post-metadata">

**Author:** ![synergii](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/synergii/32/102_2.png) [@synergii](https://forum.adalo.com/u/synergii)\
**Post date:** [May 1, 2020, 10:44pm UTC](https://forum.adalo.com/t/disable-android-back-button/724/2 "2020-05-01T22:44:49Z")

</div>

I have ACTION with Title Back button. And when user uses Android back button, ACTION is not executed. So can we either disable it or link it with Back button?

---

<div class="post-metadata">

**Author:** ![ajw](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ajw/32/1171_2.png) [@ajw](https://forum.adalo.com/u/ajw)\
**Post date:** [June 24, 2020, 9:10am UTC](https://forum.adalo.com/t/disable-android-back-button/724/3 "2020-06-24T09:10:26Z")

</div>

Need to bump this …

This is a pretty small but significant issue (IMO).

I’ve tried to set up conditions where (when user visits the page - check if logged in or not).  
What doesn’t work, is if the user is not logged in, you cant re-direct back to the log in screen.

And you cant have more than one link action (with conditions) on a button either.

It’s like they need “If” and “Else” statements in the conditions.

i.e.

If, logged in = True, then: Do this.  
Else: Do this instead.

In a nutshell what’s happening is…

When a user “logs out” (back to the log in screen).  
User can click “back” in the app … showing the previous screen (not logged in).

I think a “Clear browser history” javascript function might work (as a custom action?),  
but I really dont want to pay $50 a month to find out if this is the right way to do it …

there’s a lot of development to go, if there was a $20p/m option it wouldn’t be so bad … and Im sure you’d get more ppl signing up (that dont need to publish on the app stores).

Hope someone can help!

---

<div class="post-metadata">

**Author:** ![ashley](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ashley/32/1635_2.png) [@ashley](https://forum.adalo.com/u/ashley)\
**Post date:** [June 29, 2020, 10:58pm UTC](https://forum.adalo.com/t/disable-android-back-button/724/4 "2020-06-29T22:58:30Z")

</div>

We are working on a fix so that unauthenticated users are redirected to a welcome screen.

---

<div class="post-metadata">

**Author:** ![ajw](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ajw/32/1171_2.png) [@ajw](https://forum.adalo.com/u/ajw)\
**Post date:** [June 30, 2020, 12:03am UTC](https://forum.adalo.com/t/disable-android-back-button/724/5 "2020-06-30T00:03:29Z")

</div>

ah, that’s super kool thank you!

---

<div class="post-metadata">

**Author:** ![Deepakjain](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@Deepakjain](https://forum.adalo.com/u/Deepakjain)\
**Post date:** [November 7, 2020, 11:22am UTC](https://forum.adalo.com/t/disable-android-back-button/724/6 "2020-11-07T11:22:43Z")

</div>

Is there a Bug (or something) ticket created on this issue? Since we all are still facing this issue and it’s really confusing for users (I’ve also created a ticket)

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [November 9, 2020, 12:38pm UTC](https://forum.adalo.com/t/disable-android-back-button/724/7 "2020-11-09T12:38:13Z")

</div>

Hi @Deepakjain, I already answered this in the other topic ([Native App working like a web app - #13 by Devops](https://forum.adalo.com/t/native-app-working-like-a-web-app/5479/13)). Please don’t revive topics from 4 months ago for duplicate issues. Thanks
