title: Cordova project configuration: plugin VS gap:plugin
body: <p>What is the difference between these plugin declarations?</p>
  
  <p>I can't figure out why I have them declared in different ways, however, everything works fine in my project.</p>
  
  <pre><code>&lt;gap:plugin name="org.apache.cordova.device"/&gt;
  &lt;gap:plugin name="org.apache.cordova.device-motion"/&gt;
  &lt;gap:plugin name="org.apache.cordova.device-orientation"/&gt;
  &lt;gap:plugin name="org.apache.cordova.file"/&gt;
  &lt;gap:plugin name="org.apache.cordova.file-transfer"/&gt;
  &lt;gap:plugin name="org.apache.cordova.geolocation"/&gt;
  &lt;gap:plugin name="org.apache.cordova.splashscreen"/&gt;
  &lt;gap:plugin name="org.apache.cordova.vibration"/&gt;
  &lt;plugin name="cordova-plugin-whitelist" version="1"/&gt;
  </code></pre>
  
  <p>Also, I'm not sure why I have to add plugins using this command:</p>
  
  <pre><code>cordova plugin add [PLUGIN_ID]
  </code></pre>
  
  <p>And then keep these references in config.xml.</p>
  
  <p>Thanks a lot!</p>