cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jlister
Level 8

Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

Hello,

I am using iOS 12 with PowerApps release 3.18094.26. I am using the formula Set(CurrentLatitude,Location.Latitude) on the OnSelect action for a button. The variable, CurrentLatitude is set as the text value in a label. The issue I am experiecing is when opening the application on the first attempt, the app is requesting permission to use location services; however, the Location.Latitude remains blank. Only when I close and re-open the app is the CurrentLatitude populated with the Location.Latitude. As a work-a-round, I thought I could just use the Launch formula to re-launch the app. However, Launch doesn't seem to work when launching an app that is already open.

Any suggestions or ideas on how to handle retrieving Location.Latitude & Location.Longitude on the initial launch in iOS? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

Hi @jlister,

Just an update - The PowerApps Support Team is investigating this issue, and they are currently releasing a fix with version 3.18101.29 for both Android and iOS which will be live in the stores by this Friday.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 REPLIES 5
jlister
Level 8

Possible bug: Location services

The issue I am experiencing is not being able to retrieve Location.latitude and Location.longitude when opening an app on the first launch. I am using PowerApps release 3.18094.26 and tested on iOS 11 and iOS12 with multiple devices. On the initial launch, PowerApps does request to use location services, which I did accept and PowerApps is allowed to "Always use" location services on both devices. The longitude and latitude values are outputted to a label and they appear correctly on all subsequent attempts to launch the app, just not on the initial launch. Please help.

I would like to avoid instructing the users from having to relaunch the app just to use the location services. I hope someone can look into this issue and report back.

Thank you,

John

 

Community Support Team
Community Support Team

Re: Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

Hi @jlister,

Thanks for your feedback, I have made a test, and the issue is confirmed on my side.

I think this issue is related to Location function, I would post this issue to my product team, if the issue is solved, I would reply here.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Community Support Team

Re: Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

Hi @jlister,

Just an update - The PowerApps Support Team is investigating this issue, and they are currently releasing a fix with version 3.18101.29 for both Android and iOS which will be live in the stores by this Friday.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jlister
Level 8

Re: Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

Thanks for the quick response.

luuminhvuong93
Level: Powered On

Re: Location.Latitude and Location.Longitude iOS - must close and re-open app on 1st attempt

@v-xida-msft Did this issue got solved? I am still having users having frozen GPS location because of this

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 4 members 4,265 guests
Please welcome our newest community members: