Hello, This is the key for new plugins, which can be more powerful, because they would known what is situation around them.
One example for all. AdMob plugin for Android. AdMob for Android when using Smart banner size need to be recreated after screen rotation, but plugin don't have any choice to determine it. But one is there, use deviceOrientationListener, but this is monstrous solution for this primitive goal. (It is fire everytime, when device change it's rotation by degree... Not only when is screen rotation changed, so this solution have too much overhead.) There are Javascript solution to listen to orientationchange event, but it is superfluous call over the bridge between Java and Javascript in application. I think Cordova plugin should provide this general purpose events to be again better. Nice day, Jan Velecký.
