Skip to content Skip to sidebar Skip to footer

Android 7+: Multi-window Detection With Cordova Apps

how are folks handling android’s multi-window support in cordova or using browser events? Specifically, I am trapping the pause event in my app and doing cleanup because when the

Solution 1:

I cobbled together a cordova plugin that returns true if the app is in multi-window and false if not. Also allows you to trap onStop and onStart which are important in multi-window mode, specifically.

This is my first plugin and if its bad, feel free to PR and improve.

Link: https://github.com/pliablepixels/cordova-plugin-multi-window

Post a Comment for "Android 7+: Multi-window Detection With Cordova Apps"