0
Hi, I’m trying to send my first app to apple, but it’s giving a bit of a headache.. I already searched all my code, I did a total cleaning but I can not find anything on camera, and use, but I’m getting this error when sending the app for review:
Has anyone gone through it? Please, can you help me? I’ve tried some solutions I found on the internet, but I couldn’t.. I’ll be happy if anyone has an answer to that. I thought maybe this error might be the facebook plugin, but it doesn’t make sense because it doesn’t use camera, just grabs the image and the profile name.
In the
info.plist
from your app you have to put a text stating that the app usesCamera [NSCameraUsageDescription]
and theBiblioteca de fotos [NSPhotoLibraryUsageDescription]
.– Icaro Martins
Hey @Icaromartins, thanks for answering, but where do I get this file info.plist? within the project I did not find, just config.xml
– Felipe XST
It’s been a long time since I’ve used Ordova, I don’t think I’ve changed so much, just take a look at this link https://stackoverflow.com/a/47897726/2456894 in this reply shows how to put in config.xml, and in a reply above shows info.plist
– Icaro Martins
You can include by
config.xml
:<edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription"> <string>This app needs access to the camera to take photos and to scan barcodes.</string> </edit-config>
and<edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription"> <string>This app requires access to the photo library.</string> </edit-config>
.– Renata
I used your solution @Renata as always correct. Thank you very much!!! = D
– Felipe XST