ravicini commented on issue #876:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/876#issuecomment-976320946


   @breautek sorry for not responding that long.
   
   The issue I observed is that when I disable the awake mode through:
   
   
`dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);`
   
   as the insomnia and other plugins do.
   
   the `dialog.getWindow()` uses the main app window though. The in-app-browser 
opens another window and therefore the flag does not gets set on the proper 
window.
   
   Do you have another idea, instead of implementing this in the in app browser 
plugin?
   
   


-- 
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