# \[Solved\] How can I share my location with another user of my app?

**URL:** https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597
**Category:** Questions about Thunkable X
**Tags:** locationsensor, map, cloud-variable
**Created:** [April 22, 2022, 1:29pm UTC](https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597 "2022-04-22T13:29:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cerise](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cerise](https://community.thunkable.com/u/cerise)
#### Post date: [April 22, 2022, 1:29pm UTC](https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597/1 "2022-04-22T13:29:02Z")

</div>

I’m trying to make an app that makes one user to track location of the other. Each user types their phone and their friend’s phone. Then, the user that wants location to be tracked, ‘me’, calls the location sensor and writes the longtitude and latitude to the dynamically named cloud variable, the name being ‘friend’s phone’ stored variable. Then, the ‘friend’ device is able to access this cloud variable by plugging in ‘my phone’ stored variable as a name, and put the marker on a map. This process repeats every specified unit of time.  
It seems that my app should work, but it doesn’t, and I haven’t found any similar apps. Please, help me figure this out(thank you))  
Link to my app: [Thunkable](https://x.thunkable.com/copy/f6013788dd81cd2ba4439a71e23a6d11)

---

<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: [April 22, 2022, 1:49pm UTC](https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597/2 "2022-04-22T13:49:02Z")

</div>

> [@dz6jtds2jf178v](#):
>
> It seems that my app should work, but it doesn’t

Just saying **it doesn’t** is not helpful for anyone who has not coded or participated in the project to know what is wrong.

You need to explain what you expect the app to do and what actually happened. Walk us through your app and pin point where it failed.

**[Update]**  
I went through the project. One thing is keep your `Variables` initialization in the starting screen to avoid cashes.

See my changes,  
[https://x.thunkable.com/projectPage/6262adf260246f00120deea8](https://x.thunkable.com/projectPage/6262adf260246f00120deea8)

I tested it and it worked with me.

---

<div class="post-metadata">

### Author: ![cerise](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cerise](https://community.thunkable.com/u/cerise)
#### Post date: [April 24, 2022, 6:09pm UTC](https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597/3 "2022-04-24T18:09:19Z")

</div>

Thank you very much for your help and recommendations on communicating my issues!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [July 23, 2022, 6:09pm UTC](https://community.thunkable.com/t/solved-how-can-i-share-my-location-with-another-user-of-my-app/1843597/4 "2022-07-23T18:09:30Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
