Skip to main content
Participating Frequently
Mar 11, 2018 5:05 AM UTC
Answered

Air 28 and 29 can't get camera to come although have privacy settings correct in XML. Could be related to NSPhotoLibraryAddUsageDescription being required but not properly interpreted in the system. I open the plist it does not have the "privacy - "

Camera permission never comes up.

pravishtis​ let me know...

This topic is closed to new replies. Start a new post to keep the conversation going.
Lars Laborious
Lars LaboriousCorrect answer
Legend
Mar 12, 2018 9:31 AM UTC

Have you remembered to use requestPermission() on the camera object, in your code?

3 replies

Lars Laborious
Lars LaboriousCorrect answer
Legend
Mar 12, 2018 9:31 AM UTC

Have you remembered to use requestPermission() on the camera object, in your code?

Translate
mente12Author
Participating Frequently
Mar 13, 2018 2:27 AM UTC

Since I jumped from SDK 20 to 28 I had not realized requestPermission() was needed. That resolved the issue. Thanks

Lars Laboriousthank you....

pravishtis​ always prompt and great help!

Translate
pravishtis
Adobe Employee
Adobe Employee
Mar 12, 2018 6:58 AM UTC

Hi,

We checked with the app-xml code provided by you at Re: Unable to set iOS camera permissions with AIR SDK 24​ with AIR 28 and 29 and permissions tags are coming with "Privacy - " in info.plist. Can you please check once with the attached app-xml at your end and let us know if you still face issues.

Also, can you please specify the java version you're using and your packaging command. Are you packaging through Win or Mac ?

Thanks,

Pravishti | Adobe AIR Engineering

Translate