Software Archive
Read-only legacy content
17061 Discussions

XDK Add Permissions manually

Florian_S_
Beginner
625 Views

Hey Guys,

how can I add the android-permission "CAMERA" permanently to the permissions?

The Permissions are specified in the *.xdk, if i add something in the "Add Permission" Inputbox in XDK it appears in 

"addlPermissions_": "",  


In the *.xdk file. But nothing I enter there actually works. For example:  android.permission.CAMERA

What and how do i have to enter it, that the Permission is set? I think adding other plugins i don´t need with the permission is way too dirty.
Thank you very much!

Kind regards,

Florian
 

0 Kudos
2 Replies
Elroy_A_Intel
Employee
625 Views

If you would like access to the device's camera, all that you need to add is CAMERA.

0 Kudos
Elroy_A_Intel
Employee
625 Views

Also, If you add the camera Cordova plugin via the Plugin management section on the Project tab, you will be able to gain access to the Camera.

0 Kudos
Reply