lenanex opened a new issue #196:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/196


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   Once I retrieve the media object after successful capture, I should get a 
valid URL to preview the image in the dom with
   
   `
   private win: any = window;
   [...]
   
   const photo = await this.mediaCapture.captureImage({limit: 1});
   
   const url  = this.win.Ionic.WebView.convertFileSrc(photo[0].localURL); `
   
   ### What does actually happen?
   
   It used to work up until now. 
   Since today, on my Android device, I can't access the url (404) and if I try 
to copy the file into another folder (just like in this guide : 
[https://devdactic.com/ionic-4-media-files-guide/](url) I'm getting also a code 
1 : not_found.
   
   ## Information
   
   ### Command or Code
   
   
   ### Environment, Platform, Device
   Ionic / testing it on a galaxy Note 10+
   
   
   
   ### Version information
   Ionic:
   
      Ionic CLI                     : 6.12.0 
(/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 5.4.0
      @angular-devkit/build-angular : 0.1000.8
      @angular-devkit/schematics    : 10.0.8
      @angular/cli                  : 10.0.8
      @ionic/angular-toolkit        : 2.3.3
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : 6.0.0, android 9.0.0, browser
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, 
cordova-plugin-ionic-webview 4.2.1, (and 14 other plugins)
   
   Utility:
   
      cordova-res (update available: 0.15.1) : 0.14.0
      native-run (update available: 1.2.2)   : 0.3.0
   
   System:
   
      NodeJS : v10.15.3 (/usr/local/bin/node)
      npm    : 6.14.8
      OS     : macOS Catalina
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to