You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable the usage of window.print() when using the inappbrowser plugin for iOS and Android.
Motivation Behind Feature
The application I'm working on allows users to print the page using window.print(). This works when accessing the application via a web browser, but doesn't work when accessing the application via the inappbrowser plugin.
I think the best way to go about this is to override window.print inside of the iOS and Android implementations of the inappbrowser plugin. I've been able to get window.print working on Android via this strategy. I think something similar may be possible in iOS.
The main downside I see to this is that this would override the iOS and Android implementations of window.print if they are ever implemented. In the case of Android, that seems unlikely to ever happen.
The text was updated successfully, but these errors were encountered:
veelci
added a commit
to aboveproperty/cordova-plugin-inappbrowser
that referenced
this issue
Sep 25, 2023
Feature Request
Enable the usage of window.print() when using the inappbrowser plugin for iOS and Android.
Motivation Behind Feature
The application I'm working on allows users to print the page using
window.print()
. This works when accessing the application via a web browser, but doesn't work when accessing the application via the inappbrowser plugin.I'm not entirely sure why this doesn't work on iOS, but Android has chosen not to implement window.print in WebView.
Feature Description
I think the best way to go about this is to override
window.print
inside of the iOS and Android implementations of the inappbrowser plugin. I've been able to get window.print working on Android via this strategy. I think something similar may be possible in iOS.The main downside I see to this is that this would override the iOS and Android implementations of window.print if they are ever implemented. In the case of Android, that seems unlikely to ever happen.
The text was updated successfully, but these errors were encountered: