The application I'm currently working needs to access a private URL to see the image. As far as I could read in photo viewer's documentation, there's a key called headers where I should add all headers parameters.
The problem is, it seems it doesn't work on Ionic 3. While I was debugging, I could find the following code snippet:
1) Isn't headers expected to be declared within PowerViewerOptions?
2) In case headers is not recognized as a valid key on the Ionic Plugin, how could I access a private URL link then?
Hello, guys!
The application I'm currently working needs to access a private URL to see the image. As far as I could read in photo viewer's documentation, there's a key called
headers
where I should add all headers parameters.The problem is, it seems it doesn't work on Ionic 3. While I was debugging, I could find the following code snippet:
export interface PhotoViewerOptions { share?: boolean; }
1) Isn't
headers
expected to be declared within PowerViewerOptions? 2) In caseheaders
is not recognized as a valid key on the Ionic Plugin, how could I access a private URL link then?Here is what I've done so far:
Thanks!