Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google Play ask to accept custom permission as like in built permissions in case of auto update

I am working on an app where I am using a custom permission as defined by another developer in their SDK.

According to Google, if we add a pre-defined permission, such as <uses-permission android:name="android.permission.INTERNET" />, then, when a user updates the app, they will be prompted to approve this new permission. This happens before the app is updated; if the user does not accept, the app is not updated.

Now, we want to add in this custom permission. Will the Play Store still ask users to accept this new permission prior to updating the app when we release the new version on the Play store?

like image 859
N Sharma Avatar asked Apr 05 '15 15:04

N Sharma


People also ask

Does Google Play need all permissions?

Google Play services automatically obtains all permissions it needs to support its APIs. However, your app should still check and request runtime permissions as necessary and appropriately handle errors in cases where a user has denied Google Play services a permission required for an API your app uses.

What permissions does Google app need?

It's the “dangerous” permissions that Android requires your permission to use. These “dangerous” permissions include access to your calling history, private messages, location, camera, microphone, and more. These permissions are not inherently dangerous, but have the potential for misuse.

How do permissions work in Google Play?

You can allow some apps to use various features on your phone, such as your camera or contacts list. An app will send a notification to ask for permission to use features on your phone, which you can Allow or Deny. You can also change permissions for a single app or by permission type in your phone's Settings.


2 Answers

Yes all permissions are required to be approved by the user. If the updated version has new permissions : grouped or others, they need to be approved by user.

From Google's policies:

Users who wish to have full control over new individual permissions being added to an app can review individual permissions for an app at any time, or may consider turning off auto-updates for one or more apps. Any permissions that are not part of a permissions group, including those that are not shown in the main permissions screen, will be shown in the "Other" group.

Update

From M the permission model will change. Users will control the permissions at runtime. Good for users but more work for developers, as now we have to handle the permission denial. Read more here.

like image 81
Karan Avatar answered Sep 23 '22 00:09

Karan


When people download your app they have to accept the permissions that you set in your manifest.

If you set a new permission in the android manifest of your app, then people who have downloaded your app will need to accept the new permission first. So if you update your app and you have new permission it won't auto update and people need to first accept it in the google play store.

From Google's support page:

When an app updates, it may need to use additional capabilities or information controlled by permissions.

If you have automatic updates enabled, you won't need to review or accept these permissions as long as they are included in a permissions group you already accepted for that app.

If the app needs access to an additional permissions group, you'll be asked to accept the update, even if you've set an app to update automatically.

If you prefer to review each update manually, you can change your update settings.

like image 45
Laurenswuyts Avatar answered Sep 21 '22 00:09

Laurenswuyts