# Location Sharing

**URL:** <https://community.thunkable.com/t/location-sharing/2587612>\
**Category:** Maps\
**Tags:** beginner\
**Created:** [September 10, 2023, 5:42pm UTC](https://community.thunkable.com/t/location-sharing/2587612 "2023-09-10T17:42:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![faresghanayem3id](https://avatars.discourse-cdn.com/v4/letter/f/ba8739/32.png) [@faresghanayem3id](https://community.thunkable.com/u/faresghanayem3id)\
**Post date:** [September 10, 2023, 5:42pm UTC](https://community.thunkable.com/t/location-sharing/2587612/1 "2023-09-10T17:42:37Z")

</div>

Hello, I am trying to build an SOS App, the app’s function is to call a certain number upon pressing a button, and also send your current location to the number. I am having difficulty with the location function, I tried setting the green block “location” in the [getcurrentLocation] block from the location sensor section as a variable, and using that variable in the share block, but when I tested the app, the text message was empty, I tried using the location block alone (not setting as a variable) and the same issue occurred, could anyone help me with this?

 ![thunk](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/e/beab58943f958fdcdf945e6167664ed1a9496b92.png)

---

<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/location-sharing/2587612/2 "2024-11-08T13:33:30Z")

</div>


