Win10 Mobile "Location Authorization" Reminder + Location Settings Improved

  

Computer Store News: Win10 Mobile is still in the technology preview stage, based on user and developer feedback, Microsoft's location-related consent reminder feature in Windows 10 Mobile A number of improvements have been made and are available for all applications running on Windows 10 Mobile, regardless of which Windows Phone system version the app was developed for.


Improvements:

1. Remove the location consent reminder from the app store before the app is installed and updated, which will significantly simplify the user download/update app. Process.

2. When requesting a location service for the first time, join the system to provide a location consent reminder at runtime. This reminder will automatically pop up on your app, so you don't have to create custom alerts and handle the logic behind them.

3. Add an API called Geolocator.RequestAccessAsync that allows you to request location access. Note: An app will only pop up a request reminder to the user. Regardless of whether you allow or deny the first reminder, the reminder will not pop up again in the future. The application calls the RequestAccessAsync method before accessing the user's location.

To ensure that the consent reminder pops up during the first location access, your app must be in the foreground and RequestAccessAsync must be called from the UI thread. Your app can't access location data until the user agrees that your app is accessing their location. To ensure backward compatibility with existing apps that don't use the new API, the new consent reminder will be automatically lifted when the app first tries to request the current location.

4. The location switch for each app provided by the system will appear in the Settings app (“Settings>>“Privacy”>“Location”), support user control Location access for each app. These automatic pop-up reminders for all apps have location capabilities, so you don't have to create custom switches and handle the logic behind them. Note: When the upgraded App Store policy is announced next week, we will remove the custom location switch request from your app.

In short, the new Windows 10 Mobile system will automatically handle some aspects of location permission reminders and provide users with a unified settings page for users to set location access switches for each app. This is different from the way the WP8.1 system handles location data, which in the past was the responsibility of the developer.

Microsoft's move is convenient for users and developers. When users download apps from the app store, they no longer have to deal with location access reminders, making the entire download experience smoother. In addition, the reminder function is also very convenient for Win10 Mobile users to use the map application.

Copyright © Windows knowledge All Rights Reserved