Mirror of Apache Cordova Plugin device-orientation