DmcSDK / cordova-plugin-mediaPicker

cordova android ios mediaPicker support selection of multiple image and video gif ✨ cordova android 和 ios 图片视频选择cordova插件,支持多图 视频 gif,ui类似微信
MIT License
139 stars 93 forks source link

Please what parameters/args is should be passed to the takePhoto() #56

Closed carter3rix closed 5 years ago

carter3rix commented 5 years ago

This is what i done so far similar to the one provided with cordova camera plugin but seems not to be working... But am able to take the new picture alright... Any assist... Thanks `$scope.takeNewPicture = function(){

var options = {
  allowEdit: true,
  encodingType: Camera.EncodingType.JPEG,
  targetWidth: 100,
  targetHeight: 100,
  popoverOptions: CameraPopoverOptions,
};

MediaPicker.takePhoto(options, function(picture){
  console.log(picture);
});

}`

DmcSDK commented 5 years ago

sorry takePhoto() support only android .

DmcSDK commented 5 years ago

@carter3rix I am supporting this feature, the next version will be released