-
At work, we are integrating with a third party, we needed to redirect them to their website so we decided to use an in app browser session using the Capacitor Browser plugin (the user is just filling out some forms on their website). For legal reasons the user needs to be able to print out some of the terms and conditions. A coworker and I did some exploring and saw that in the browser window (opened with the Browser plugin) tldr -> anyone know how to get |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It might be worth mentioning that if the Browser Plugin were refactored to use WKWebView instead of SFSafariViewController this would likely be solved. From what I read in the SFSafariViewController docs is that WKWebView should be used, "If you need to customize the controls of the web interface, or you want to interact with content in that interface..." I would do this refactor myself if I had any experience with native iOS dev and swift. Maybe it is time to go learn... |
Beta Was this translation helpful? Give feedback.
-
Ionic answered me through a different channel: So this is a known bug with SFSafariViewController. The user would need to use the share dialog to print. Alternatively, you can try using the cordova InAppBrowser plugin, which uses WKWebView instead, and see if that has a working print API. |
Beta Was this translation helpful? Give feedback.
Ionic answered me through a different channel:
So this is a known bug with SFSafariViewController. The user would need to use the share dialog to print. Alternatively, you can try using the cordova InAppBrowser plugin, which uses WKWebView instead, and see if that has a working print API.