Android asking for: “allow to access photos, media, and files on your device?” But I don't need


#1

When I download and run my ionic app on a device, it is asking for phone calls and photos permissions even though I don’t need that and I didn’t write any code for those permissions.

Are there any plugins that might be triggering this?

“plugins”: {
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-statusbar”: {},
“cordova-plugin-whitelist”: {},
“ionic-plugin-keyboard”: {},
“cordova-plugin-app-version”: {},
“cordova-sqlite-storage”: {},
“com.testfairy.cordova-plugin”: {},
“cordova-plugin-network-information”: {},
“cordova-plugin-inappbrowser”: {},
“cordova-plugin-x-socialsharing”: {},
“cordova-plugin-google-analytics”: {},
“cordova-plugin-ionic-webview”: {},
“cordova-plugin-add-swift-support”: {},
“onesignal-cordova-plugin”: {},
“cordova-plugin-apprate”: {},
“cordova-plugin-ionic”: {
“APP_ID”: “”,
“CHANNEL_NAME”: “”,
“UPDATE_METHOD”: “”,
“UPDATE_API”: “”,
“MAX_STORE”: “2”
}
},


#2

The message it shows users it:

ionic android always show message “allow to access photos, media, and files on your device?”

I want to prevent this, my app doesn’t need access to photos or media


#3

I’m using the social sharing app only to allow users to share my app to facebook. Would this be firing the permissions?


#4

I have the same question. i don’t want any permissions and looks suspicious for the user to be asked for this access when the app dont need it.