148
Views
14
Comments
Remove android.permission.CAMERA from generated app
Application Type
Mobile

Hi, we are generating an app that would be deployed in the Google Play Store, but upon uploading our APK, Play console warns that our app has android.permission.CAMERA permission and therefore would need a privacy policy.
We do not have a privacy policy and our app does not need to use the camera to function, is there any way to remove this permission when generating the app? Thanks in advance.


Plugins used: Common Plugin, Firebase Mobile, InAppBrowser Plugin, Silk UI Mobile

2018-12-10 12-16-21
Goncalo Duarte Almeida

Hi @Nygel Ramos 

Check if you have any reference to the camera plugin and remove it


Regards

Gonçalo Almeida

UserImage.jpg
Nygel Ramos

Hi

Our app has no references to the CameraPlugin.

Only plugins used are: Common Plugin, Firebase Mobile, InAppBrowser Plugin, Silk UI Mobile 

2020-05-01 10-17-24
Luis Amador

Hi,

I created a new (blank) Android App and the apk is generated with these permissions:


The android.permission.CAMERA permission should not have been included.

2022-10-31 11-16-22
Tamour Ahmad
Staff

At times, Upload Widget also adds the android.permission.CAMERA.

UserImage.jpg
Chan Yuvern

Hi Nygel, 
Have you figured out the solution for this problem? I'm facing exact problem as you

2022-07-03 19-04-02
Carlos Junior

Facing the same problem here.

UserImage.jpg
Wendy Tromp

I noticed this as well, we have READ_MEDIA_IMAGES  and READ_MEDIA_VIDEO  in our app and Google is not happy with that. I am still trying to figure out how to get rid of them :(

https://www.outsystems.com/forums/discussion/99278/how-can-i-remove-permissions-read-media-images-and-read-media-video-from-our-app/?utm_source=community&utm_medium=email&utm_campaign=forum-reply#Post430617

2022-07-03 19-04-02
Carlos Junior

I somehow managed to remove the RECORD.AUDIO from the manifest android, if u need some documentation let me know.

UserImage.jpg
Wendy Tromp

Yes please! I don't have a way to fix this yet

UserImage.jpg
Cagri Keskin
2022-10-31 11-16-22
Tamour Ahmad
Staff


OutSystems released MABS 11.1; starting with it the Upload Widget by default only allows selecting pictures or videos from the device's gallery. If you wish to capture pictures or videos from the device's camera, you need to add the capture attribute with the value environment to the Upload Widget in the IDE (see below) and then publish your app. This change only affects Android applications with the AddUploadWidgetPermissions preference set to true. 


As it does not by default allow camera capture, it will not add permissions.


Review release notes here.

UserImage.jpg
Cagri Keskin

Hello Tamour

the problem which I have is opposite :)

I don't have upload widget and I don't need.

but even if I don't have the widget, system added permissions and now play store is rejecting my app :)

I'm trying to find a way to remove the permission.


talking about these:

READ_MEDIA_IMAGES  and READ_MEDIA_VIDEO 

2022-10-31 11-16-22
Tamour Ahmad
Staff

Please check other components you are using in your application.

UserImage.jpg
Cagri Keskin

I did but I couldn't find any

it is discussed here also

https://www.outsystems.com/forums/discussion/99278/how-can-i-remove-permissions-read-media-images-and-read-media-video-from-our-app/

I think without any widget, these permissions are being added automatically.

I tried to use the suggested solution but it didn't work. as topic is solved I can't get answer :)

I think I will raise another topic.

thanks for your support 


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