title: iOS app (MobileFirst) is rejected by Apple (NSPhotoLibraryUsageDescription)
body: <p>Our hybrid mobile app for iOS (that is developed with MobileFirst 7.1) was rejected recently by Apple:</p>
  
  <blockquote>
    <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>
  </blockquote>
  
  <p>However, the app does not use Photo Library. So, the issue should come from one of the libraries we use. Besides CordovaLib (that comes with MobileFirst), we use email-composer (cordova-plugin-email-composer), PushPlugin (<a href="https://github.com/phonegap-build/PushPlugin" rel="nofollow">https://github.com/phonegap-build/PushPlugin</a>) and barcodescanner (<a href="https://github.com/phonegap/phonegap-plugin-barcodescanner" rel="nofollow">https://github.com/phonegap/phonegap-plugin-barcodescanner</a>). Barcodescanner requires camera access (the key was included to Info.plist before submission), but not photo library access. For the other two plugins there is no information on their web pages about iOS 10 and their use cases is too far away from Photo Library. </p>
  
  <p>So, the questions are:</p>
  
  <ul>
  <li>can cordovaLib cause such an issue? (MobileFirst)</li>
  <li>is camera access somehow connected to photo library? (e.g. camera usage implicitly needs access to photo library)</li>
  <li>how to check what exactly causes such issues? Is there a tool that can tell in advance that using of some class will cause issues with privacy settings?</li>
  </ul>
  
  <p>P.S. I know that I can just add NSPhotoLibraryUsageDescription key to Info.plist, but thats not what I want: the app does not need photo library and I don't want to add such a key.
  Can not post a link to email-composer due to stack overflow restrictions.</p>