Open sumannits opened 5 years ago
I'm guessing you're using the ionic wkwebview? If you are, I'm having the same issue as you are. ionic wkwebview has a warning for this.
Note: Core cordova plugins also allow you to reference a file via the cdvfile:// protocol. Unfortunately, we cannot rewrite this path as it is something that gets resolved in native code. We suggest that when ever you reference a file, use the full path for rewrites, not cdvfile://.
I'm still trying to find a workaround.
is there any way to resolve it?
+1 Same issue
+1
Hi, I am trying to use this plugin in IOS. But I am getting file path like this : - "cdvphotolibrary://photo?photoId=ADB24867-0CCB-4207-923A-DC9D44233434%2FL0%2F001"
I have tried to put that on img src but it is not showing. Some of the files are returning the file url like this : - filePath: "/var/mobile/Media/DCIM/100APPLE/IMG_0652.JPG"
I am able to show those but not able to show "cdvphotolibrary". Can anybody tell me how can I show this.