76
Views
7
Comments
Music and Video permissions needed when uploading an image
Question
Application Type
Mobile

To upload a profilepicture in our native app we use the upload function of Outsystems.
For this function to work you obviously need some permissions from the users phone like Camera and the Photo's, but I also need to give permission for Music and Video for hte function to work, until I grant those permissions I can't upload an image.

I would imagine the Music and Video permission is only needed when you want to upload a video, which is something you specify, we specified Image.

Now people are having difficulties uploading a profile picture because they don't want to give permissions or don't understand why we would need access to their music and video.

Is this something we can turn off? And just keep the camera and photo's permissions?

These are our current settings for the upload function:

2025-04-15 04-00-33
Prakhar Sharma

Hi @Aranka van der Zwaard,

Try using the below forge component. This might help you to manage all the permissions on your android app.

https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin-o11

Hope this helps!

Regards,

Prakhar Sharma

2023-08-23 08-14-16
Aranka van der Zwaard

Hi @Prakhar Sharma,

Thanks for replying! I am already using this feature to be able to make our users aware of it but it doesn't change the fact that I would rather not have the need to ask for Music and Video permissions.

It seems like this is part of the Upload function of the Outsystems core as we use that function and it will always ask those permissions as mandatory.

Kind regards,

Aranka

2025-04-15 04-00-33
Prakhar Sharma

I guess there have been some changes in the android permissions since Android 13. 

So you might want to check that as well once, because like some general permissions like "Storage" have been split into many other permissions like Audio, Video, Photos etc. I looked into this way back, but this might give you some insights.

2023-08-23 08-14-16
Aranka van der Zwaard

I think this is indirectly the cause because we do see that lose items like Photos and Video need to be accepted but this is not what we want.

I want my users to have to accept:
- Camera
- Photos

But not:
- Video/Music
It doesn't make sense that we need permission to video/music when all we need is an image.

2018-10-16 10-30-21
Allan Alves

Hello.

I'm dealing with the same issue when accessing a mobile app through some adroid devices. It requests for Music and video gallery permissions when the upload must only consider images and camera access.

Is there any other suggestion on this case?

Thank you.

2022-12-01 23-45-12
José Gandarez

Same issue here. Works fine in iOS, but not on Android.

The permissions were changed on Android version 13 - https://developer.android.com/reference/android/Manifest.permission#READ_EXTERNAL_STORAGE.

I also added those permissions on the Extensibility Configurations.

And, I am also using that forge component to check and request permissions.

Works fine for Android 12 and prior. Doesn't work for Android 13 and upwards.

2022-12-01 23-45-12
José Gandarez

This is the solution I implemented to check and request the permissions necessary for file upload. Only for Android.


Works fine for Android version 12 and downwards. Still testing if it works for 13 and upwards.

On error, I am displaying a message that the user needs to allow those permissions on their device settings.

Configurations on the mobile module:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.