# 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:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [February 17, 2021, 1:55pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/21 "2021-02-17T13:55:27Z")

</div>

Does anyone have any ideas for iviting this?

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [October 11, 2021, 12:14am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/22 "2021-10-11T00:14:39Z")

</div>

Hi Jane,

I’m experiencing the same issue across all my projects. Has this been resolved?

---

<div class="post-metadata">

**Author:** ![vishruth-ram](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vishruth-ram](https://community.thunkable.com/u/vishruth-ram)\
**Post date:** [October 11, 2021, 2:53am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/23 "2021-10-11T02:53:30Z")

</div>

@carlinmclellan please notice that **this topic is 8 months old**.

this issue is going on Thunkable live app too and the PC too. I experienced the same issue but when I removed a component it was gone.

---

<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:** [October 11, 2021, 3:44am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/24 "2021-10-11T03:44:21Z")

</div>

If I download the Drag & Drop example I posted above ([Thunkable](https://x.thunkable.com/projects/602980cb451fa3794aca0024/e565de03-e6d1-4066-a1fb-c88beb744e18/designer)) and open it on my iPhone, it shows 1 on the initial screen, then 2 when I tap “next” and then 3 when I tap “back”. This indicates that the screens are only loading once as expected.

What happens when you do the same with that sample project?

Also, can you explain how you know that a screen on your own project is loading twice? Post a screenshot of the blocks you’re using with “When screen opens” or “When screen starts”.

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [October 11, 2021, 4:26am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/25 "2021-10-11T04:26:52Z")

</div>

Thanks tatiang -

I’ve just recreated from the blocks in your project and it indicated the screen wasn’t opening multiple times. The issue seems to be with the animation itself. I’m using a .json I downloaded from Lottie. But I’ve run into this issue every time I’ve used animation in my projects.

I took a short screen recording to demonstrate the problem.

[![](https://img.youtube.com/vi/dZq8FyjSXFc/maxresdefault.jpg "RPReplay Final1633926024") ](https://www.youtube.com/watch?v=dZq8FyjSXFc)

It appears the animation starts half way through. It then repeats. Loop is set to FALSE.

Cheers  
Carlin

---

<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:** [October 11, 2021, 5:58am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/26 "2021-10-11T05:58:04Z")

</div>

Yes, I see that. The video is helpful. Any chance you can post a link to that project so I can take a look?

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [October 11, 2021, 7:02am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/27 "2021-10-11T07:02:27Z")

</div>

No pro - Here you go  
[https://x.thunkable.com/copy/4d465b547a9a816ad9fa2a683f36e9c6](https://x.thunkable.com/copy/4d465b547a9a816ad9fa2a683f36e9c6)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [October 11, 2021, 7:16am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/28 "2021-10-11T07:16:32Z")

</div>

Hello @carlinmclellan  
Check this post.  
I think it is reporting the same effect as you are describing

> [@GIF as a Column's Background Picture](https://community.thunkable.com/t/gif-as-a-columns-background-picture/1276484):
>
> If I set the background picture of a column to a GIF, it plays only 2 times, and that’s all. I want that it plays only one time. I have tried this way as well, but it didn’t work for me, any idea? [image]

---

<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:** [October 11, 2021, 8:16am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/29 "2021-10-11T08:16:16Z")

</div>

The invisible column confuses things a bit during testing so I made it visible. I also duplicated the animation component and pulled the duplicate out of the column for comparison.

When launching the downloaded app on my iPhone 11, each animations plays **once**.

Your screen open count isn’t going to work at all because you are using `app variable open count` inside of a block that expects a variable **text string** name:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/1/e1fd1c57e364080e4bdbfa3a8c66c555e81efe71.png)

That block normally looks like this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9e50ade96cd5d51c4e1c95a92bfc3156d001a101.png)

When it gets evaluated by the compiler, it substitutes the value of `app variable open count` (which is 0) and tries to change an app variable called “0” by 1. That variable doesn’t exist so it fails.

To get it to work, you need to use this block:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad93c6ea6a1ff3141ba1c5defaac28986aa0e392.png)

---

<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:** [October 11, 2021, 8:28am UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/30 "2021-10-11T08:28:21Z")

</div>

After fixing that, the `app variable open count` displays as **1** when launching it on my iPhone.

---

<div class="post-metadata">

**Author:** ![carlinmclellan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/carlinmclellan/32/77831_2.png) [@carlinmclellan](https://community.thunkable.com/u/carlinmclellan)\
**Post date:** [October 13, 2021, 7:45pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/31 "2021-10-13T19:45:26Z")

</div>

Thanks tatiang, that’s good to know!

Hmm interesting. On my iPhone 6S it is playing twice and just seems a bit slow and glitchy in the playback. Does the animation seem sluggish at all on the 11?

---

<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:** [October 13, 2021, 11:04pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/32 "2021-10-13T23:04:11Z")

</div>

No, I didn’t notice that.

---

<div class="post-metadata">

**Author:** ![cassandra](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cassandra/32/115809_2.png) [@cassandra](https://community.thunkable.com/u/cassandra)\
**Post date:** [October 14, 2021, 9:38pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/33 "2021-10-14T21:38:55Z")

</div>

Hi @carlinmclellan - do you mind DMing or emailing me a screen recording (we like to use [Loom](https://www.loom.com/)!) so we can see exactly what you are referencing?

---

<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, 12:19pm UTC](https://community.thunkable.com/t/screen-opens-twice-on-downloaded-ios-app/843710/34 "2024-11-08T12:19:25Z")

</div>



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