App does not ask for photos, media , and files on P9 lite?

oscar_csl

New member
Aug 9, 2017
1
0
0
I have a P9 lite, with Android 6.0, EMUI 4.1.1.

The app that I am developing does not ask for READ_EXTERNAL_STORAGE permission: thats the one that pops up and says "Allow (app name) to access photos, media, and files on your device? ". Is there something that might be blocking it from asking this question?

It does ask for the matching WRITE_EXTERNAL_STORAGE permission: thats the one that says "Allow (app name) to write to your SD card"

Why would it be able to ask for one permission but not the other? As far as I know, on Marshmallow, the app HAS to ask for this permission.

On another phone, a Samsung A3 with Android 6.0.1, it does work and does ask for the read permission - using the exact same .apk file.

Is there some kind of phone specific feature that might be causing this?
 
Your programming question would be best asked in the Developers Lounge or other programming forum.
 

Latest posts

Trending Posts

Forum statistics

Threads
956,367
Messages
6,967,835
Members
3,163,520
Latest member
kiki2025