title: $cordovaCamera.getPicture does not work in ios 11
body: <p>I am using a ionic v1 app deployed on an ipad running on ios 11. When  I try to run the app in ipad and click on the camera button , nothing happens. It stays as it is. I tried to look for issues mentioned similar to ios 10 and added relevant tags for info.plst file and also added the cross frame security bypass. I looked around but could not any solution to this. I have raised this question only after trying out all possible solutions that were specific for $cordovaCamera not working on ios 10. Even I tried to use the navigator.camera.getPicture() instead of $cordovaCamera.getPicture() but that didnt work either.</p>
  
  <p>In my view I have</p>
  
  <pre><code>&lt;a ng-click="takePicture()" style="color:#fff;"&gt;
  </code></pre>
  
  <p>In controller I have</p>
  
  <pre><code>$scope.takePicture = function (options) {
  
                    var options = {
                            destinationType: Camera.DestinationType.DATA_URL,
                            sourceType: Camera.PictureSourceType.CAMERA,
                            allowEdit: true,
                            quality: 100,
                            targetWidth: 300,
                            targetHeight: 300,
                            encodingType: Camera.EncodingType.JPEG,
                            popoverOptions: CameraPopoverOptions,
                            saveToPhotoAlbum: false,
                            correctOrientation:true
                    };
  
                   $cordovaCamera.getPicture(options).then(function(imageData) {
                                           console.log('here');
  
                       $scope.pictureUrl = "data:image/jpeg;base64," + imageData;
  
                       console.log(imageData);
                       $scope.img_update = 1;
                    }, function(err) {
                       console.log(err);
                    });
  
               };
  </code></pre>
  
  <p>In the controller I have also injected $cordovaCamera. </p>
  
  <p>In index.html I have added </p>
  
  <pre><code>&lt;meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file:; script-src &amp;apos;self&amp;apos; &amp;apos;unsafe-inline&amp;apos; &amp;apos;unsafe-eval&amp;apos; *; style-src  &amp;apos;self&amp;apos; &amp;apos;unsafe-inline&amp;apos; *"&gt;
  </code></pre>
  
  <p>In config.xml I have added these tags inside platform ios</p>
  
  <pre><code> &lt;plugin name="cordova-plugin-camera" spec="~2.3.0"&gt;
          &lt;variable name="CAMERA_USAGE_DESCRIPTION" value="The app would like to access the camera when you attach photos to content." /&gt;
          &lt;variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="The app would like to access the photo library when you attach images to content." /&gt;
      &lt;/plugin&gt;
      &lt;edit-config target="NSCameraUsageDescription" file="*-Info.plist" mode="merge"&gt;
          &lt;string&gt;need camera access to take pictures&lt;/string&gt;
      &lt;/edit-config&gt;
      &lt;edit-config target="NSPhotoLibraryUsageDescription" file="*-Info.plist" mode="merge"&gt;
          &lt;string&gt;need to photo library access to get pictures from there&lt;/string&gt;
      &lt;/edit-config&gt;
      &lt;edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge"&gt;
          &lt;string&gt;need location access to find things nearby&lt;/string&gt;
      &lt;/edit-config&gt;
      &lt;edit-config target="NSPhotoLibraryAddUsageDescription" file="*-Info.plist" mode="merge"&gt;
          &lt;string&gt;need to photo library access to save pictures there&lt;/string&gt;
      &lt;/edit-config&gt;
  </code></pre>