title: Usage description issue in Ionic and iOS 10 builds
body: <p>My ionic application for iOS worked fine, till today when I wanted to make a new build.</p>
  
  <p>This is what get's returned by Apple:</p>
  
  <blockquote>
    <p>Dear developer,</p>
    
    <p>We have discovered one or more issues with your recent delivery for
    "AppName". To process your delivery, the following
    issues must be corrected:</p>
    
    <p>This app attempts to access privacy-sensitive data without a usage
    description. The app's Info.plist must contain an
    NSPhotoLibraryUsageDescription key with a string value explaining to
    the user how the app uses this data.</p>
    
    <p>This app attempts to access privacy-sensitive data without a usage
    description. The app's Info.plist must contain an
    NSCameraUsageDescription key with a string value explaining to the
    user how the app uses this data.</p>
    
    <p>Though you are not required to fix the following issues, we wanted to
    make you aware of them:</p>
    
    <p>Missing Push Notification Entitlement - Your app includes an API for
    Apple's Push Notification service, but the aps-environment entitlement
    is missing from the app's signature. To resolve this, make sure your
    App ID is enabled for push notification in the Provisioning Portal.
    Then, sign your app with a distribution provisioning profile that
    includes the aps-environment entitlement. This will create the correct
    signature, and you can resubmit your app. See "Provisioning and
    Development" in the Local and Push Notification Programming Guide for
    more information. If your app does not use the Apple Push Notification
    service, no action is required. You may remove the API from future
    submissions to stop this warning. If you use a third-party framework,
    you may need to contact the developer for information on removing the
    API.</p>
  </blockquote>
  
  <p>This are my dependencies:</p>
  
  <ul>
  <li><code>"ngstorage": "~0.3.10",</code></li>
  <li><code>"ion-image-lazy-load": "*",</code></li>
  <li><code>"ngCordova": "~0.1.24-alpha",</code></li>
  </ul>
  
  <p>And I use the Barcode scanner in ngCordova. So I did this:
  <code>
  $ cordova plugin rm phonegap-plugin-barcodescanner 
  $ cordova plugin add phonegap-plugin-barcodescanner --variable CAMERA_USAGE_DESCRIPTION="Scan QR-Codes" --save
  </code></p>
  
  <p>The <code>config.xml</code> has this in the bottom now:</p>
  
  <pre><code> &lt;plugin name="cordova-plugin-camera" spec="~1.2.0"&gt;
          &lt;variable name="CAMERA_USAGE_DESCRIPTION" value="description" /&gt;
          &lt;variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="description" /&gt;
      &lt;/plugin&gt;
      &lt;plugin name="phonegap-plugin-barcodescanner" spec="https://github.com/phonegap/phonegap-plugin-barcodescanner.git"&gt;
          &lt;variable name="CAMERA_USAGE_DESCRIPTION" value="Scan QR-Codes" /&gt;
      &lt;/plugin&gt;
  </code></pre>
  
  <p>But still I get the same e-mail from Apple that my app has one or more issues..</p>