This is a migrated thread and some comments may be shown as answers.

NSCameraUsageDescription

3 Answers 296 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
DTS Admin
Top achievements
Rank 1
DTS Admin asked on 18 Jan 2017, 04:54 PM
I recently migrated my app to the latest supported (non experimental) version of Cordova - 5.0.0.  After doing so I am required to include the NSCameraUsageDescription and NSPhotoLibraryUsageDescription key/value pairs in the .plist file in order to support a valid iOS build. I entered the key/value pairs into my .plist file under \\root\App_resources/iOS/Info.plist. I then deployed to the app store. My app was rejected because NSCameraUsageDescription required a value.  So i exampled the .plist file that was compiled (under \\root\bin\release\iOS) and the NSCameraUsageDescription key was missing the value i had set.  Meanwhile, the NSPhotoLibraryUsageDescription key had retained its value. I have searched the forum for help with no avail. Any help would be greatly appreciated.

3 Answers, 1 is accepted

Sort by
0
DTS Admin
Top achievements
Rank 1
answered on 18 Jan 2017, 05:25 PM
The post below me has a similar problem, I saw it right after i posted my question. My current problem, based off the response from the post below me, is that the "Configure" button is greyed out (see photo)
0
DTS Admin
Top achievements
Rank 1
answered on 18 Jan 2017, 09:08 PM
I kinda solved the issue. I upgraded even further (to the most recent experimental Cordova, 6.4.0) and the settings options appeared and I was able to configure the permissions variables. Downside is that i need to use an unstable build in order to support iOS 10+.
0
Preslav
Telerik team
answered on 23 Jan 2017, 02:39 PM
Hello Bob,

I am glad to see that you were able to find a workaround for this problem.

Unfortunately, I was not able to reproduce the issue. On my side, I added the following code to the Info. file:
<key>NSCameraUsageDescription</key>
<string>Test</string>
After building the app with Cordova 5.0, I examined the Info.plist in the IPA file and the configuration was present there.

The above said, in order to investigate the issue further, could you please provide a sample application that clearly reproduces the issue? For this purpose, I'd recommend that you open a support ticket, which is private and comes with a guaranteed response time and share the application there.

Regards,
Preslav
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder extension for Visual Studio
Asked by
DTS Admin
Top achievements
Rank 1
Answers by
DTS Admin
Top achievements
Rank 1
Preslav
Telerik team
Share this question
or