# Permissions for using camera IOS

**URL:** <https://forum.servoy.com/t/permissions-for-using-camera-ios/19293>\
**Category:** Classic Servoy\
**Created:** [June 9, 2017, 12:02pm UTC](https://forum.servoy.com/t/permissions-for-using-camera-ios/19293 "2017-06-09T12:02:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas.shuttleworth](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@Thomas.shuttleworth](https://forum.servoy.com/u/Thomas.shuttleworth)\
**Post date:** [June 9, 2017, 12:02pm UTC](https://forum.servoy.com/t/permissions-for-using-camera-ios/19293/1 "2017-06-09T12:02:37Z")

</div>

Hi,

I’m using the Phonegap plugin to take a picture and/or to get a picture from the camera roll and display it, in a similar fashion to the svyMobile demo. I’ve got the app running on my iPhone through Safari but haven’t had any luck getting the camera to work. I imagine the problem is with my permissions and so I was wondering if anyone has a way to request camera permissions from within my application.

Thanks

---

<div class="post-metadata">

**Author:** ![ProRM](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/prorm/32/4861_2.png) [@ProRM](https://forum.servoy.com/u/ProRM)\
**Post date:** [June 11, 2017, 9:52pm UTC](https://forum.servoy.com/t/permissions-for-using-camera-ios/19293/2 "2017-06-11T21:52:14Z")

</div>

Hi Thomas,

Did you generated the app with Phonegap Build? I think you need to include the URL of your Servoy app in an iframe in an index.html and also a config.xml file where you say Phonegap what mobile services you will use from your app. At least that´s what we did, based on the Demo Patrick did at SW2015.  
Just running a web app in the mobile will not give you access to the native hardware.

Regards,

---

<div class="post-metadata">

**Author:** ![Thomas.shuttleworth](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@Thomas.shuttleworth](https://forum.servoy.com/u/Thomas.shuttleworth)\
**Post date:** [June 12, 2017, 8:20am UTC](https://forum.servoy.com/t/permissions-for-using-camera-ios/19293/3 "2017-06-12T08:20:24Z")

</div>

Hi Juan,

I hadn’t started the app with Phonegap Build, i’ll take a look at that now, I’d heard somewhere about the config.xml, that’s where I include the permissions, if i’m not mistaken.

Thanks for your help

Thomas
