Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Load from librabry image not working please suggest someone

$
0
0

@Nikhil_dhar123 wrote:

Please check the below code...

 this.camera.getPicture(options).then((imagePath) => {
      this.presentToast(imagePath);
      if (this.platform.is('android') && sourceType === this.camera.PictureSourceType.PHOTOLIBRARY) {
        this.filePath.resolveNativePath(imagePath)
          .then(filePath => {
          });

      }

in presentToast its printing the file path....

/storage/sdcard/img_2010_2104.jpg

but error giving

runtime error
uncaught in promise:[object object]

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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