capacitor-inappbrowser
capacitor-inappbrowser copied to clipboard
Possible to open inapp browser hidden mode
Hello,
Is it possible to open inapp with url in hidden mode?
usecase: if you want to execute a logout URL with token
Thanks
I think it could be, but, for your use case, why don't you do just a fetch?
@YanouonaY I would second that - I strongly suggest you make a window.fetch
request instead of opening an in-app browser in a "hidden" mode.
Thnaks, but my test with fetch open one browser....
Can you show some code @YanouonaY?
Are we talking about the same window.fetch()?
This API doesn't open browsers - it makes a request and you may handle the response (or ignore it, if it's what you want). The only way I see window.fetch()
opening a browser window is if you or a some code replaces it with something that does open a browser!
fetch is ok