web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to get gps coor...
Power Apps
Unanswered

Unable to get gps coordinates

(0) ShareShare
ReportReport
Posted on by 19

Hi,

In an PowerApps application, we use the user's location and a destination address by clicking on a button to calculate the route that the user must take to reach this address (find below the formula).

Enable(Location);
Launch(Concatenate("http://bing.com/maps/default.aspx?rtp=pos.", Substitute(Text(Location.Latitude), ",", "."), "_", Substitute(Text(Location.Longitude), ",", "."), "~adr.", Substitute(Text(Concatenate(TextAdresseDetail.Text, " ", TextCodePostalDetail.Text, " ", TextVilleDetail.Text))," ","+"),"&rtop=0~1~0"));
Disable(Location)

 

During the development, this action was working well. But when we export/import the application to test it like a user, retrieving the user's location is not possible.

 

When we launch the imported application on a mobile (Android or IOS), PowerApps don't ask us for the location permission.
So, when we try to use our button, the application cannot use the user's location (longitude and latitude are empty).

But if we make a change within the application (even on something that is not linked with this action), publish the modification and launched one more time the application on mobile, then the location permission is asking by PowerApps and the action is working well after the agreement.

Furthermore, on desktop, using a web browser, even if PowerApps didn't ask us for location permission, the application is working well.

 

What's the difference between desktop and mobile ? And why does Powerapps need a udpate within the application to ask us for a location permission ?

Is this a bug in PowerApps side ?

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @chcop ,

     

    Have you tested with multiple mobiles? 

     

    Regards,

    Mona

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 502

#2
Vish WR Profile Picture

Vish WR 454

#3
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

Last 30 days Overall leaderboard