cordova-plugin-photo-library
cordova-plugin-photo-library copied to clipboard
Can't save image due to some authentication constraint
Hi, I'm using this plugin to download images and videos from server, where there are some authentication applied. Image download works fine from our web-application, because it uses session stored in cookies to download image, based on which authentication gets successful.
In mobile application, when I check, session is stored in cookies and can be used. But it seems, plugin doesn't pick session value from it. Can you please guide me how can I use it?
When I try any sample image from google, it saves the image nicely.
Apart from my issue, your plugin is really nice, I checked many other plugins, but none of them worked 100% in both Android and IOS.
Thanks,
Sorry for late answer, sure it seems like limitation. It seems that cordova-plugin-file-transfer resolve similar issue here. I'd like this plugin to integrate with cordova-plugin-file-transfer instead of re-implementing it. After all, all the difference is that in addition to download, the photo-library should add the downloaded file to device's library. I'll think about what can be done.
Thanks @viskin ...
Hi @viskin , any plan to implement this feature in your plugin? Or do you think if there is any way to use cordova-file-transfer-plugin code with your plugin code?