title: IBM Worklight - How to add barcode scanner phonegap plugin into config.xml in Xcode 5?
body: <p>I'm using IBM Worklight for my mobile app (iOS) project.</p>
  
  <p>My question is: How to add a Barcode Scanner PhoneGap plug-in into config.xml in Xcode 5? I just found this config.xml in xcode. I found <a href="http://docs.build.phonegap.com/en_US/3.1.0/configuring_plugins.md.html#Plugins" rel="nofollow">this documentation from phonegap's site.</a></p>
  
  <p><strong>config.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;widget&gt;
      &lt;preference name="AllowInlineMediaPlayback" value="false" /&gt;
      &lt;preference name="AutoHideSplashScreen" value="true" /&gt;
      &lt;preference name="BackupWebStorage" value="cloud" /&gt;
      &lt;preference name="DisallowOverscroll" value="false" /&gt;
      &lt;preference name="EnableViewportScale" value="false" /&gt;
      &lt;preference name="FadeSplashScreen" value="true" /&gt;
      &lt;preference name="FadeSplashScreenDuration" value=".25" /&gt;
      &lt;preference name="HideKeyboardFormAccessoryBar" value="false" /&gt;
      &lt;preference name="KeyboardDisplayRequiresUserAction" value="true" /&gt;
      &lt;preference name="KeyboardShrinksView" value="false" /&gt;
      &lt;preference name="MediaPlaybackRequiresUserAction" value="false" /&gt;
      &lt;preference name="ShowSplashScreenSpinner" value="false" /&gt;
      &lt;preference name="SuppressesIncrementalRendering" value="false" /&gt;
      &lt;preference name="TopActivityIndicator" value="gray" /&gt;
      &lt;preference name="GapBetweenPages" value="0" /&gt;
      &lt;preference name="PageLength" value="0" /&gt;
      &lt;preference name="PaginationBreakingMode" value="page" /&gt;
      &lt;preference name="PaginationMode" value="unpaginated" /&gt;
      &lt;preference name="EnableLocation" value="false" /&gt;&lt;!-- DEPRECATED --&gt;
      &lt;preference name="UIControls" value='{"TabBarSettings": {"position": "bottom", "height": 49}, "ToolBarSettings": {"style": "Default"}}'/&gt;
  
      &lt;feature name="LocalStorage"&gt;
          &lt;param name="ios-package" value="CDVLocalStorage" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Battery"&gt;
          &lt;param name="ios-package" value="CDVBattery" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Camera"&gt;
          &lt;param name="ios-package" value="CDVCamera" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Console"&gt;
          &lt;param name="ios-package" value="CDVLogger" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Contacts"&gt;
          &lt;param name="ios-package" value="CDVContacts" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Device"&gt;
          &lt;param name="ios-package" value="CDVDevice" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Accelerometer"&gt;
          &lt;param name="ios-package" value="CDVAccelerometer" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Compass"&gt;
          &lt;param name="ios-package" value="CDVCompass" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Notification"&gt;
          &lt;param name="ios-package" value="CDVNotification" /&gt;
      &lt;/feature&gt;
      &lt;feature name="File"&gt;
          &lt;param name="ios-package" value="CDVFile" /&gt;
      &lt;/feature&gt;
      &lt;feature name="FileTransfer"&gt;
          &lt;param name="ios-package" value="CDVFileTransfer" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Geolocation"&gt;
          &lt;param name="ios-package" value="CDVLocation" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Globalization"&gt;
          &lt;param name="ios-package" value="CDVGlobalization" /&gt;
      &lt;/feature&gt;
      &lt;feature name="InAppBrowser"&gt;
          &lt;param name="ios-package" value="CDVInAppBrowser" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Media"&gt;
          &lt;param name="ios-package" value="CDVSound" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Capture"&gt;
          &lt;param name="ios-package" value="CDVCapture" /&gt;
      &lt;/feature&gt;
      &lt;feature name="NetworkStatus"&gt;
          &lt;param name="ios-package" value="CDVConnection" /&gt;
      &lt;/feature&gt;
      &lt;feature name="SplashScreen"&gt;
          &lt;param name="ios-package" value="CDVSplashScreen" /&gt;
          &lt;param name="onload" value="true" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Vibration"&gt;
          &lt;param name="ios-package" value="CDVVibration" /&gt;
      &lt;/feature&gt;
  
  
      &lt;!--worklight--&gt;
      &lt;feature name="DeviceAuth"&gt;
          &lt;param name="ios-package" value="DeviceAuthPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="UserAuth"&gt;
          &lt;param name="ios-package" value="UserAuthPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="WebResourcesDownloader"&gt;
          &lt;param name="ios-package" value="WebResourcesDownloader" /&gt;
      &lt;/feature&gt;
      &lt;feature name="WLNotification"&gt;
          &lt;param name="ios-package" value="WLNotification" /&gt;
      &lt;/feature&gt;
      &lt;feature name="WLApp"&gt;
          &lt;param name="ios-package" value="WLApp" /&gt;
      &lt;/feature&gt;
      &lt;feature name="UIControls"&gt;
          &lt;param name="ios-package" value="UIControls" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Push"&gt;
          &lt;param name="ios-package" value="Push" /&gt;
      &lt;/feature&gt;
      &lt;feature name="NetworkDetector"&gt;
          &lt;param name="ios-package" value="NetworkDetector" /&gt;
      &lt;/feature&gt;
      &lt;feature name="NativePage"&gt;
          &lt;param name="ios-package" value="NativePage" /&gt;
      &lt;/feature&gt;
      &lt;feature name="SecurityPlugin"&gt;
          &lt;param name="ios-package" value="SecurityPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="StoragePlugin"&gt;
          &lt;param name="ios-package" value="StoragePlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="AnalyticsConfigurator"&gt;
          &lt;param name="ios-package" value="AnalyticsConfigurator" /&gt;
      &lt;/feature&gt;
      &lt;feature name="FIPSHttpPlugin"&gt;
          &lt;param name="ios-package" value="FIPSHttpPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="Badge"&gt;
          &lt;param name="ios-package" value="Badge" /&gt;
      &lt;/feature&gt;
      &lt;feature name="NotificationEx"&gt;
          &lt;param name="ios-package" value="NotificationEx" /&gt;
      &lt;/feature&gt;
      &lt;feature name="WifiPlugin"&gt;
          &lt;param name="ios-package" value="WifiPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="CoreLocationGetLocationPlugin"&gt;
          &lt;param name="ios-package" value="CoreLocationGetLocationPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="CoreLocationWatchPlugin"&gt;
          &lt;param name="ios-package" value="CoreLocationWatchPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="SignificantChangeWatchPlugin"&gt;
          &lt;param name="ios-package" value="SignificantChangeWatchPlugin" /&gt;
      &lt;/feature&gt;
      &lt;feature name="SignificantChangeGetLocationPlugin"&gt;
          &lt;param name="ios-package" value="SignificantChangeGetLocationPlugin" /&gt;
      &lt;/feature&gt;
  
      &lt;access origin="*" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>You can check my repo here: <a href="https://github.com/datomnurdin/worklight-mobile" rel="nofollow">https://github.com/datomnurdin/worklight-mobile</a></p>