Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49171

Problem using cordova Image Picker plugin with ionic view app

$
0
0

@steigenhaus wrote:

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;

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>