veelci opened a new issue, #1025:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1025

   # 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] 
(https://bugs.chromium.org/p/chromium/issues/detail?id=322303).
   
   ## 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](https://bugs.chromium.org/p/chromium/issues/detail?id=322303).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to