# Location blocks crash whole app

**URL:** <https://community.thunkable.com/t/location-blocks-crash-whole-app/625537>\
**Category:** Questions about Thunkable X\
**Tags:** bugs\
**Created:** [June 19, 2020, 6:35pm UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537 "2020-06-19T18:35:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chris/32/78883_2.png) [@Chris](https://community.thunkable.com/u/Chris)\
**Post date:** [June 19, 2020, 6:35pm UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/1 "2020-06-19T18:35:25Z")

</div>

Hi,

can you explain me why following blocks suddenly crash the whole app in companion while they used to work fine?

 ![Bildschirmfoto 2020-06-19 um 20.33.13](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/a/fab1e168d6538eed4c22da65e9d25767653760bb.png)

I use the latest companion and it will just freeze in a blank screen and not update at all afterwards. It works when I remove those blocks but there shouldn’t be any error in the blocks as they used to work fine before? Also use almost the same blocks in another app where (except from some recent bug that would always re-focuse the users location instead of just doing it once) it works…

 ![Bildschirmfoto 2020-06-19 um 20.43.04](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/f/8f9350464e30512fc15354cfbbf74497850e52b5.png)

The only current way to prevent the crash is to remove these blocks but the same blocks work fine in the other app?! It does not make any sense to me 🙄

![Bildschirmfoto 2020-06-19 um 20.48.40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/1/b1af65b0a31a9fef01ae8c13a23a0c4857c30168.png)

Btw: the current builder is not working in Safari on Mac - I cannot scroll at all through the components ☹

Best, Chris

---

<div class="post-metadata">

**Author:** ![Chris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chris/32/78883_2.png) [@Chris](https://community.thunkable.com/u/Chris)\
**Post date:** [June 19, 2020, 6:54pm UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/2 "2020-06-19T18:54:24Z")

</div>

Also these blocks mess up the project on map touch and again result in a blank screen and freeze:

 ![Bildschirmfoto 2020-06-19 um 20.53.18](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/6/864bd9e5591bd49caf79ea4d41be593e703bb011.png)

Did you change something relating the coordinate component? If this no longer works, this would f\*ck up most of my projects on Thunkable 🙄

---

<div class="post-metadata">

**Author:** ![Chris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chris/32/78883_2.png) [@Chris](https://community.thunkable.com/u/Chris)\
**Post date:** [June 19, 2020, 7:00pm UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/3 "2020-06-19T19:00:05Z")

</div>

Update: After I did nothing except for re-opening the other project that includes the same blocks (mentioned in the first post), it also messed it up completely and now it will immediately result in a blank screen… This project worked fine before and was not changed - there’s even a released build on the app store - seems like changes to the platform cause this to suddenly have problems?

Also happens in the built app that is exactly the same as the one currently in the app store except that is was built today and the app store version was built some weeks ago…

Best, Chris

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 20, 2020, 8:43am UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/5 "2020-06-20T08:43:47Z")

</div>

Hi,

Problem with the Map component. The white screen occurs because this component does not return an event object, and you are trying to call properties for it.

At the moment, I see only one good solution - to use Google Map in Javascript.

---

<div class="post-metadata">

**Author:** ![Chris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chris/32/78883_2.png) [@Chris](https://community.thunkable.com/u/Chris)\
**Post date:** [June 20, 2020, 8:50am UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/6 "2020-06-20T08:50:02Z")

</div>

thanks but that would not work well I guess (how do you imagine to do this? because we can’t even communicate between the app and a webview, right?) Also I honestly don’t want to re-do all the work again… pretty annoying that this was messed up all of a sudden 🙄

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 20, 2020, 9:10am UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/7 "2020-06-20T09:10:03Z")

</div>

Now we can easily exchange data between WebViewer and App, but as you correctly noted, this is not the solution to the problem, because then the question arises, if it can be programmed in JavaScript, then what are the blocks for?

---

<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, 11:25am UTC](https://community.thunkable.com/t/location-blocks-crash-whole-app/625537/8 "2024-11-08T11:25:37Z")

</div>


