You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot GET /_capacitor_file_/data/user/0/io.ionic.starter/cache/61944.1698760933784.jpeg
I've tried many forms of accessing this path, but when I get the response, I have a GET request error.
It only recognizes via src attribute of "img" html tag. GET request does not work.
Does anything changed on capacitor permission, or something else ?
Plugin(s)
Camera
### Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.5.1
@capacitor/core: 5.5.1
@capacitor/android: 5.5.1
@capacitor/ios: 5.5.1
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/cli: 5.0.5
@capacitor/android: 5.0.5
@capacitor/core: 5.0.5
Platform(s)
Android Mobile
Android Studio emulator
Current Behavior
The error occurs when it tries to fetch photo.webPath. As I said it only occurs when I try to access the photoPath as a request. When I use src attribute of "img" html tag, it displays the image.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of the plugin, please create a new issue and ensure the template is fully filled out.
Bug Report
I migrated from capacitor 3 to capacitor 5.
Now when I try to get a photo that I took from camera using webpath:
I am getting this error:
I've tried many forms of accessing this path, but when I get the response, I have a GET request error.
It only recognizes via src attribute of "img" html tag. GET request does not work.
Does anything changed on capacitor permission, or something else ?
Plugin(s)
Camera
Platform(s)
Android Mobile
Android Studio emulator
Current Behavior
The error occurs when it tries to fetch photo.webPath. As I said it only occurs when I try to access the photoPath as a request. When I use src attribute of "img" html tag, it displays the image.
Expected Behavior
On capacitor 3 I could get the base64 output correctly.
Code Reproduction
Minimal sample application
https://github.com/Akaori/vue-capacitor-camera
Other Technical Details
The text was updated successfully, but these errors were encountered: