on 2025 Mar 25 8:32 AM
Hey everyone,
I've been trying to publish an update for my app on the Google Play Store for a while now, but I keep getting an error asking for an explanation about why I’m using these two permissions:
- android.permission.READ_MEDIA_IMAGES
- android.permission.READ_MEDIA_VIDEO
The issue is that my app isn’t supposed to access photos or videos on the device—I only use Set and Get item from storage. Do you think these permissions could be related to that?
Also, is there a way to check which permissions the app uses before compiling it?
Thanks!
(I'm using v.4.12.218)
Request clarification before answering.
Hallo Alek, In SAP Mobile Services, specifically for the SAP Mobile Development Kit (MDK) Android apps, several permissions are requested by default. These permissions are essential for various functionalities within the app. Below are some of the key permissions and their use cases:
android.permission.CAMERA
android.permission.ACCESS_COARSE_LOCATION
android.permission.READ_EXTERNAL_STORAGE
To disable a default permission, you can create a partial manifest in your .mdkproject as shown below:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" tools:node="remove" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" /> </manifest>
Note: Disabling a necessary app permission can break your app's functionality
If your app manages files such as downloaded attachments or images captured using the device camera, consider how these files are stored and how they can be passed to external viewers. Android provides content providers that you can use to manage this data. For more information, see Content providers
For more details on image assets and configuring permissions for your app built with SAP Build Apps, refer to the Image Assets and iOS Usage Strings guide
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.