Open rolinger opened 1 year ago
@sarriaroman - bump
@sarriaroman - Looking further into this, it looks like the provided headers aren't being passed into the Picasso.get().load(mImage)
call on line 198 in PhotoActivity.java
I am not familiar with Picasso or how to write java - so not certain how to amend this.
@sarriaroman - Can you comment on this please?
I am implementing various security policies on my webserver, one of which is to check for Origin and X-Requested-With headers. My app, passing the required headers, is able to connect to my server to list photos; but on Android when clicking on those images to display them with photoviewer the connections are being rejected by the server. This tells me that PhotoViewer headers are not being passed or not being passed correctly. It's working on iOS.
With the server security on, the viewer opens and then just immediately closes. If I turn off the server security the images load properly into PhotoViewer
Are there any callbacks that allow me to see what exactly is being passed? Or how can I get the Plugin to show me the HTTP Headers used to connect to my server?