NSCameraUsageDescription

4 posts, 0 answers
  1. DTS Admin
    DTS Admin avatar
    3 posts
    Member since:
    Oct 2013

    Posted 18 Jan Link to this post

    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.
  2. DTS Admin
    DTS Admin avatar
    3 posts
    Member since:
    Oct 2013

    Posted 18 Jan Link to this post

    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)
  3. DTS Admin
    DTS Admin avatar
    3 posts
    Member since:
    Oct 2013

    Posted 18 Jan Link to this post

    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+.
  4. Preslav
    Admin
    Preslav avatar
    233 posts

    Posted 23 Jan Link to this post

    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.plist 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.

     
Back to Top