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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard