-1

I made an android app and published it on play store. I mentioned all the app specific required permissions in manifest.xml file, But when I am installing it from playstore it not asking the permissions like it asked for other apps. I found one similar question here But did'nt get what I am looking for

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.agrawalgaurav.www.nighttorch">
    <uses-permission android:name="android.permission.INTERNET" />

    <uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="15" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera" />
Community
  • 1
  • 1
Brian
  • 61
  • 3
  • 10
  • 1
    If your `targetSdkVersion` is 23 or higher, the behavior that you are seeing is expected, as you have to ask for the `CAMERA` permission at runtime. – CommonsWare Feb 21 '17 at 14:59

2 Answers2

0

You might have installed the app in a phone running Android version 6.0 or above where the user should be requested permission on runtime and not at install time

Refer this https://developer.android.com/training/permissions/requesting.html

arjun
  • 3,514
  • 4
  • 27
  • 48
0

If you have Android 6 or higher permissions will be asking in runtime. Some permissions probably will not be asking in runtime, for example Internet permission, because they are from Normal Permissions group.

kostyabakay
  • 1,649
  • 2
  • 21
  • 32