If it helps, I scraped together a plugin for multi-window operation so that we 
can continue running ur apps in multi-window mode. 
https://github.com/pliablepixels/cordova-plugin-multi-window

It looks like we need to handle multiple things:

1. In multi-window mode, when you switch to a different app, the other app gets 
an `onPause()` but you really don't want to clean up your resources because its 
not going to the background. To solve this, we need access to `onStart()` and 
`onStop()` which this plugin provides

2. I also exposed an api to check if you are running in multi-window mode

3. The activity does get restarted - if someone would like to do a PR to fix 
that - it would be great. I believe its got something to do with adding some 
key to the android manifest (resizable:true) - I tried but maybe I did 
something wrong.

[ Full content available at: 
https://github.com/apache/cordova-discuss/issues/80 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to