Android Permissions System Deny Button

3

I'm trying to integrate the permissions system from android 6 onwards. The objective is to force the user to accept the permissions to be able to use the app. In the game CSR Racing they do it hiding in the System dialog of permissions the reject button, but I can not access this dialog or find a way to hide it

Any ideas?

Thanks !!

    
asked by Arva Otero 01.09.2016 в 12:38
source

1 answer

3

Android 6.0+:

  

The objective is to force the user to accept the permissions to be able to   use the app.

This is not allowed, you can not force the user to accept the permissions your application requires to work correctly.

What you can do is detect if you have permission or not, suggest accepting the permit and show the dialogue.

In the case of the application that you mentioned initially, it shows a window to suggest that you must accept the permissions required by the application:

Later it is required one by one:

If one or more of them you did not accept them, show this dialogue by suggesting again:

  
  • As an important note, the Android 6.0.1 operating system has a bug which sometimes shows only the allow button, and sometimes it does not   It has functionality.
  •   

There is no way you can hide the "Reject" / "Deny" button.

    
answered by 01.09.2016 / 17:50
source