# Evolution of Location Permission in Android.

DevFeed: [Evolution of Location Permission in Android.](<https://devfeed.tech/articles/evolution-of-location-permission-in-android-24751.md>)

Original publisher: [Read original article](<https://medium.com/ymedialabs-innovation/evolution-of-location-permission-in-android-659448bd4e6d?source=rss----8b5620c36355---4>)

Author: Sree Kumar A.V

Published: 2023-04-04T14:47:43Z

Content type: article

Language: en

Sources: [ymedialabs-innovation - Medium](<https://devfeed.tech/sources/ymedialabs-innovation-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Security](<https://devfeed.tech/topics/security.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [background-location](<https://devfeed.tech/tags/background-location.md>), [location](<https://devfeed.tech/tags/location.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [permission](<https://devfeed.tech/tags/permission.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

This article explains how Android location and app permission handling evolved from install-time grants before Android 6.0 to runtime, case-by-case permission requests. It presents runtime permissions as improving user control, privacy, security, and transparency, and begins discussing separated foreground and background location permissions in Android 10.

## Source excerpt

Photo by Muhammad Zaqy Al Fattah on Unsplash Location permissions have come a long way since the early days of the Android platform, and today, they play a critical role in providing users with a tailored and personalized mobile experience. Android has made significant changes to its location permission model to enhance user privacy, security, and overall user experience. Install -Time Permission The list of an app's install-time permissions, which appears in an app store. Before Android 6.0 (Marshmallow), apps installed on Android devices had access to all requested permissions at the time of installation. This meant that users had to grant all requested permissions to an app before it could be installed on their device. The problem with this approach was that users didn't always know what permissions an app needed or why it needed them. This led to a lot of confusion and mistrust among users, as they were often asked to grant permissions that seemed unnecessary or invasive. In addition, apps could potentially abuse the permissions they were granted, as there was no way for users to revoke or limit permissions after the app was installed. To address these issues, Google introduced the concept of "runtime permissions" in Android 6.0. With runtime permissions, apps are no longer granted all requested permissions at the time of installation. Instead, they must request permissions as they are needed during app usage. This gives users more control over their devices and allows them to make informed decisions about which permissions to grant to each app. For example, if a photo editing app wants to access the camera, it can prompt the user for permission at the time they want to take a photo, rather than requiring permission upfront. Runtime Permission Runtime permission is a significant feature that was introduced in Android 6.0 (Marshmallow) to enhance user privacy and security. This feature allows users to grant or deny app permissions on a case-by-case basis, rather