I have installed cordova Image Picker plugin to my ionic application (plugin for multiple image choosing from photo gallery).
It works well at ios simulator, also it works well if I build app and install it directly to iPhone. But it doesn’t work at all if I try upload app to my Ionic View application.
source code:
$cordovaImagePicker.getPictures(options)
.then(function (results) {
for (var i = 0; i < results.length; i++) {
$scope.newPost.photos.push(results[i])
}
console.log($scope.newPost.photos);
$scope.$broadcast("REFRESH");
}, function(error) {
// error getting photos
});
break;