# Screen Opens twice on Downloaded iOS App

**URL:** https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710
**Category:** Questions about Thunkable X
**Tags:** bugs, bug, thunkable-bugs, open-screen, blocks
**Created:** [September 23, 2020, 10:18pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710 "2020-09-23T22:18:32Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [September 23, 2020, 10:18pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/1 "2020-09-23T22:18:32Z")

</div>

First screen loads twice and triggers Screen.Opens block twice on the downloaded iOS app and sometimes triggers Screen.Starts block and sometimes doesn’t.

Here is a simple sample app to recreate:  
[https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer](https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer)  
Take note that this only happens on Downloaded app on iOS so you need to download the app to see the bug. This doesn’t happen on Thunkable Live companion app. It tested on Apple iPhone 7+ and Apple iPhone XR with iOS 13.6

This is a critical bug for my app because:

1. It doesn’t trigger the Screen.Starts and doens’t initialize my app
2. Triggers Screen.Opens twice which results to duplicate data and calculations
3. App seems really slow to start from the user perspective because Screen.Opens code runs twice
4. Animation on splash page shows twice which aesthetically is bad.

Need help on this. Please.

Here is another post I create related to this:

> [@Splash page opens twice on downloaded app on IOS](http://community.thunkable.com/t/splash-page-opens-twice-on-downloaded-app-on-ios/833717):
>
> The splash page or the first page of my app loads twice on a downloaded iOS app. This doesn’t happen when on the Thunkable Live companion. It happens on both iPhone 7+ and Apple XR and iOS 13.3.3. 3 issues because of this behavior: I have an animation on the splash page with Loop=False and this issue is noticeable because the animation loads twice every time I open the downloaded app on iOS. This makes the experience of the user to be slow because the splash page loads twice and it takes at l…

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [September 24, 2020, 5:53am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/2 "2020-09-24T05:53:22Z")

</div>

This is the case on Android as well. I have been experiencing the same and yes, it must be fixed asap.

---

<div class="post-metadata">

### Author: ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)
#### Post date: [September 24, 2020, 3:54pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/3 "2020-09-24T15:54:31Z")

</div>

Hi @maptheunknown and @Deluxe

This is copied from a private conversation I am having with maptheunknown. If anyone tests my app and gets a difference result from what I paste below, we’d love to hear about it!

I tried to replicate this issue, and I was not able to.

I tested [this app](https://x.thunkable.com/projects/5f314554b58e6b3dc34d831b) in the browser, and I downloaded it to an Android device and an iOS device.

As you can see, the app has two screens, and each screen has two labels. One says ‘starts’ and one says ‘opens’. When each screen starts, a ‘1’ is added to the end of the ‘starts’ label. When each screen opens, a ‘1’ is added to the end of the ‘opens’ label. You can navigate between the screens using a Button or the Bottom Tab Navigator.

The app behaves as expected: the ‘starts’ block is fired once when the app starts, and the ‘opens’ block fires every time the screen opens, including the first time. This behavior is consistent whether you navigate between screens with the Buttons or the Navigator.

If you test this app on a device and it does not behave this way, please let me know what behavior you see, and what device and OS (+version) you are using.

Thanks!

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [September 24, 2020, 4:38pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/4 "2020-09-24T16:38:13Z")

</div>

Hi @jane. The issue appeared about a month ago right after one of your back-end updates. My app has been live since last year and I have not been experiencing the issue, nor have I made any changes to the app’s first screen which now loads twice on both iOS and Android. I can make a video of the issue and send it to you privately. But I can tell you for sure, I am not dreaming, the issue is real.

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [September 24, 2020, 9:25pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/5 "2020-09-24T21:25:43Z")

</div>

> [@maptheunknown](#):
>
> [Thunkable](https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer)

I will try your project but I definitely can recreate it on the project I created.  
[https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer](https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer)

I’ll get back to you about your project but not sure why I need to since I can recreate it already on the project I shared. Can you try if you can recreate on your side using my project? [Thunkable](https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer)

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [September 24, 2020, 9:28pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/6 "2020-09-24T21:28:18Z")

</div>

This was the same for me. About a month ago when I started seeing my splash screen showing up twice. I didn’t think it was a big deal at that time and thought it was just the animation but now I realized and started seeing that it’s duplicating data and calculation and executing Screen.Opens block twice.

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [September 24, 2020, 10:52pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/7 "2020-09-24T22:52:41Z")

</div>

@jane I checked your project and you cannot see the issue because you only set the text. This only shows that Opens and Starts were triggered but doesn’t show if it was triggered twice and if the the text was actually set twice. To really see the issue you should use an Alert. If the Starts or Opens triggers twice then the alert will be called twice thus it will pop-up twice.

Here is a screen recording. You can see that the Starts and Opens were triggered twice thus the Starts and Opens alert popped-up twice. If you keep testing, you’ll notice that sometimes Starts is triggered 3x. And, if you remove Starts block then Opens gets triggered always twice or 3x.

> **[Thunkable Bug - Starts and Opens of first screen triggered twice.MOV (video)](https://drive.google.com/file/d/1ybPK4afzNAEgdjTnUvvqXEWhYir84yl3/view?usp=sharing)**
>
> Google Drive file.

Here is the link to a remix of your project. the only thing I added is an Alert.  
[https://x.thunkable.com/projects/5f6d0e3d8f8941615d84354f/67c4e6e8-69fa-454b-803c-d7a9f645e66c/blocks](https://x.thunkable.com/projects/5f6d0e3d8f8941615d84354f/67c4e6e8-69fa-454b-803c-d7a9f645e66c/blocks)

You can also reference my original project to see this issue.  
[https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer](https://x.thunkable.com/projects/5f6ba95c59f6b6033531dbbe/541aba80-c79f-43f4-9d84-d30ce4d5c918/designer)

Thanks,  
Marco

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [September 29, 2020, 11:35am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/8 "2020-09-29T11:35:43Z")

</div>

@jane - Any update on this? This is critical for my app to be released. Were you able to reproduce? Are you guys working on this? Any estimate on when it will be fixed?

---

<div class="post-metadata">

### Author: ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)
#### Post date: [October 3, 2020, 11:41am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/9 "2020-10-03T11:41:41Z")

</div>

Hi there,

We are still working on this issue. As a workaround, you can add a Timer to your app, set it to go off after 100 milliseconds, and put your ‘when Screen Opens’ blocks inside a ‘when Timer Fires’ block.

Thanks,  
​Jane

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [October 3, 2020, 3:34pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/10 "2020-10-03T15:34:56Z")

</div>

Hello @jane,

Thanks for the update and for the work around. I’ll try that workaround today.

Please keep us posted when it’s fixed.

Thanks,  
Marco

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [October 3, 2020, 7:54pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/11 "2020-10-03T19:54:30Z")

</div>

@Jane I just noticed the same behavior in a project I’m working on too!

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [October 25, 2020, 8:09pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/12 "2020-10-25T20:09:50Z")

</div>

Any updates?

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [November 9, 2020, 11:55am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/13 "2020-11-09T11:55:41Z")

</div>

@jane is there any update you can share with us on this? Any progress, something, anything? This issue is killing us! Would creating a Git issue make any difference? C’mon!

---

<div class="post-metadata">

### Author: ![83c4d26aa4d240](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/83c4d26aa4d240/32/61682_2.png) [@83c4d26aa4d240](https://community.thunkable.com/u/83c4d26aa4d240)
#### Post date: [November 9, 2020, 5:06pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/14 "2020-11-09T17:06:49Z")

</div>

I already created a github issue

> <https://github.com/thunkable/thunkable-issues/issues/724>
>
> Platform : ✕
> Issue Origin : The issue appear when starting de the app once downloaded and installed on the phone ,...

But not answer for the moment

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [November 9, 2020, 9:45pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/15 "2020-11-09T21:45:12Z")

</div>

Thanks for creating the github issue. I hope this gets fixed soon. This is the only critical bug we are waiting to fix to be able to release our app publicly in the app store.

---

<div class="post-metadata">

### Author: ![maptheunknown](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@maptheunknown](https://community.thunkable.com/u/maptheunknown)
#### Post date: [December 26, 2020, 8:29pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/16 "2020-12-26T20:29:39Z")

</div>

@jane Any update on this? Is this fixed? Can we start testing if the fix worked?

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [January 24, 2021, 8:56pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/17 "2021-01-24T20:56:37Z")

</div>

Any updates?

---

<div class="post-metadata">

### Author: ![zanderjordankent4](https://avatars.discourse-cdn.com/v4/letter/z/8491ac/32.png) [@zanderjordankent4](https://community.thunkable.com/u/zanderjordankent4)
#### Post date: [February 14, 2021, 7:49pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/18 "2021-02-14T19:49:04Z")

</div>

Any update on this issue?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [February 14, 2021, 7:56pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/19 "2021-02-14T19:56:54Z")

</div>

@jane @domhnallohanlon

It’s still happening while previewing in a browser, live testing in Thunkable Live and when downloaded as an app.

It makes most apps unusable so I hope it’s fixed soon. We’re going on 5 months since this issue was reported.

I’d also like to see a sample project that uses a timer as a workaround. I’m not clear about where the ‘when Timer Fires’ block goes.

**Edit:** it doesn’t seem to happen with new projects I create:

Drag & Drop → [Thunkable](https://x.thunkable.com/projects/602980cb451fa3794aca0024/e565de03-e6d1-4066-a1fb-c88beb744e18/designer)  
Legacy → [Thunkable](https://x.thunkable.com/projects/602982658ce4f67c8695e5f3/3428e228-0152-4513-8528-515cb74f17b5/designer)

---

<div class="post-metadata">

### Author: ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)
#### Post date: [February 17, 2021, 1:47pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/20 "2021-02-17T13:47:52Z")

</div>

Any updates? Seriously…

[Next page](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710.md?page=2)
