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

Community site session details

Session Id : qQYZF+SxmewvPVYz6Cwjcz
Power Apps - Building Power Apps
Suggested answer

Location permission when opening a Canvas App

Like (1) ShareShare
ReportReport
Posted on 12 Mar 2025 05:41:22 by 2
Hi,
 
I have a Canvas App and on one screen I need user's location (I'm saving longitude and latitude in a context variables). The problem is, that I'd like the app to ask for permission on user's location only when that screen opens. Now it asks for it when the app opens. Is there any way to accomplish this kind of behavior?
 
(there is also possibility to not give permission for location and that is handled differently in the app)
Categories:
  • kaisalo Profile Picture
    2 on 13 Mar 2025 at 05:03:18
    Location permission when opening a Canvas App
    Yeah I tried that but still the app asks permissions when the app starts, not when the screen is visible
  • Suggested answer
    Michael E. Gernaey Profile Picture
    45,386 Super User 2025 Season 2 on 12 Mar 2025 at 21:26:49
    Location permission when opening a Canvas App
     
    You can use the OnVisible property of the Location Screen
     
    I dont know where you have it now but more it to the above mentioned.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!