title: How to add Diagonastic plugin to IBM Mobile First Project?
body: <p>In our project we are using camera feature,how to know user permission granted or not for iphone ?</p>
  
  <p>I tried with using cordova diagnostic method <code>cordova.plugins.diagnostic.getCameraRollAuthorizationStatus()</code> </p>
  
  <p>To use this method we need to add <strong><code>cordova.plugin.diagnostic</code></strong> plugin to our project.</p>
  
  <p>I added plugin in config.xml in iphone environmentfile as below</p>
  
  <pre><code> &lt;feature name="Diagnostic"&gt;
   &lt;param name="ios-package" value="cordova.plugins.Diagnostic" /&gt;
   &lt;/feature&gt;
  </code></pre>
  
  <p>After adding this plugin i deployed my project to mobile first server,then the plugin should automatically added to <em>cordova_plugin.js</em> but its not happening.</p>
  
  <p>Can any one suggest the steps I followed are correct or not, If not suggest me the steps to add plugin manually in Mobile First project.</p>