Server allowNavigation exclude filestypes #6304
Unanswered
stefanvdheijden
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goodday,
I use capacitor webview to navigate to a userbased enviroment and added that url in the allowNavigation as such
server: {
allowNavigation: ["*.mydomain.dev"],
},
This works like a breeze, but within the system pdf's and images can be opened and they are obviously also opened within the webview, but since it has no pdf or image view option the raw code of the pdf /image is dumped within the view.
Is there a way to exclude filetype from the allowNavigation or another way to open the pdf/images in a regular (external) browser window?
Any help appreciated
Beta Was this translation helpful? Give feedback.
All reactions