# Live Test on Device Keeps Asking for New Codes and Doesn't Reflect Changes

**URL:** <https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316>\
**Category:** Issues / Bugs\
**Tags:** bugs, bug, livetest, thunkable-bugs\
**Created:** [December 5, 2023, 9:05pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316 "2023-12-05T21:05:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![user829](https://avatars.discourse-cdn.com/v4/letter/u/8edcca/32.png) [@user829](https://community.thunkable.com/u/user829)\
**Post date:** [December 5, 2023, 9:05pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/1 "2023-12-05T21:05:54Z")

</div>

Every time I click “Live Test on Device” in the editor I get asked for a code (even if I’ve logged into “Thunakble Live” on my phone with Gmail or a code already). However, the only time I get a code on my phone is when I’m logged out and then I log back in via the “Email sign in - Generate test code” option. And, the only time changes to the app are reflected on the phone is on first login to the “Thunkable Live” app after re-installing it.

e.g.

1. Install Thunkable Live app
2. Click “Live Test on Device” and get prompted for a code
3. Log in with “Email sign in - Generate test code” on phone and enter code in web editor
4. App works on phone as expected
5. Change app in web editor and click “Live Test on Device” and get prompted for a code
6. No code is seen on phone
7. Log out on phone and log back in via “Email sign in - Generate test code”
8. Changes to app in web editor are not seen on phone–old version runs

Similar results are seen when using Gmail to log in on phone.

Test Environment:  
Samsung Galaxy S23, Android Version 13, Sept 1 2023 Android Security Patch Level  
Thunkable Live v434-2  
Tested on both Firefox and Chromium

---

<div class="post-metadata">

**Author:** ![emlee703](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emlee703/32/165400_2.png) [@emlee703](https://community.thunkable.com/u/emlee703)\
**Post date:** [December 5, 2023, 9:41pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/2 "2023-12-05T21:41:43Z")

</div>

Hi, @user829 Welcome to the community!  
You did an amazing job asking your question! Clearly you probably checked out these links on how to post, if you haven’t, look here: [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1) + [Community Guidelines](https://community.thunkable.com/t/community-guidelines/78)

1. If your Thunkable account is google based, just log into your google account on the Live App. You will see your projects (apps) in a list. Click on the one you want to test and the test it! (You do **NOT** need to press the “Live Test on Device” button if your testing with google. You just need to log onto the same google account you use for Thunkable projects, on your Live App).

2 hours later: Man I didn’t read this 100% correctly!

1. Here’s some more info on the real-time changes:

> [@Why my live test in ios, not Live ? How can i refresh for Live test?](https://community.thunkable.com/t/why-my-live-test-in-ios-not-live-how-can-i-refresh-for-live-test/2590492/34):
>
> For me (I have a Samsung Galaxy A13 and use my google account), it changes live while I edit it, but when my phone screen turns off (or if I exit the Live app, but keep it open in the background while I use another app), and then I turn it back on, it no longer changes live when I edit. I have to close my Live app, and then re-open it, and then it changes live when I edit it, but if my phone’s screen turns off (or if I leave it in the background), then it happens again! Any explanation? (It might be on my end, but I’m not 100% sure)

1. You just need to have a good internet connection to see your code on your phone, and sometimes if you change the code on your phone, it may not save on your project, so its best (and probably easier) to do it on computer.

Thanks @martint for pointing this out.

---

<div class="post-metadata">

**Author:** ![martint](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/martint/32/96689_2.png) [@martint](https://community.thunkable.com/u/martint)\
**Post date:** [December 5, 2023, 10:07pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/3 "2023-12-05T22:07:18Z")

</div>

> [@Why my live test in ios, not Live ? How can i refresh for Live test?](https://community.thunkable.com/t/why-my-live-test-in-ios-not-live-how-can-i-refresh-for-live-test/2590492):
>
> Hello , How can i refresh Live time with Thunkable APP in ios. I has login in my account, but always not Live Testing. It’s can’t refresh. Thanks.

---

<div class="post-metadata">

**Author:** ![user829](https://avatars.discourse-cdn.com/v4/letter/u/8edcca/32.png) [@user829](https://community.thunkable.com/u/user829)\
**Post date:** [December 6, 2023, 9:05pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/5 "2023-12-06T21:05:02Z")

</div>

Thanks @emlee703 it is mostly working now but sometimes it will still get “stuck” (i.e. changes on laptop won’t show up on phone). Maybe the cause is network instability on my end (but that doesn’t seem likely). Either way it would be nice if there was some feedback in the web editor to show when the phone connection is active/disabled/broken. It might be more clear if that state was reflected in the “live test on device” button so when you press it with an already-active connection you don’t get prompted for a code again (and the button could change its color and mouse over message depending on connection state). When the phone is connected but changes aren’t showing up on the phone, getting prompted for a code again is misleading (makes it look like an authentication issue instead of possibly a connection issue). Anyways, I hope those are useful suggestions, thanks!

---

<div class="post-metadata">

**Author:** ![emlee703](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/emlee703/32/165400_2.png) [@emlee703](https://community.thunkable.com/u/emlee703)\
**Post date:** [December 6, 2023, 9:48pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/6 "2023-12-06T21:48:47Z")

</div>

@user829 Yeah. It’s a known bug. Do you lose connection when your phone screens turn off, or when you keep the app open in the background, and then open another app? Thats what happens to me. The live app is connected to my project, as long as I stay on the Thunkable Live App, and my screen remains on. Are you experiencing this to?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/live-test-on-device-keeps-asking-for-new-codes-and-doesnt-reflect-changes/2740316/7 "2024-11-08T13:33:18Z")

</div>


