Sunday, 1 October 2023

Watch application screen size changes in Capacitor/Cordova

The real-world use case is to detect split screen and tablet fold when Capacitor application runs. It looks like Android handles this with "configuration changes", while there seems to be no explicit mention of it in Capacitor APIs.

How can the changes in application screen size be watched?

Can this reliably be done with WebView window resize event?



from Watch application screen size changes in Capacitor/Cordova

No comments:

Post a Comment