diff --git a/src/@ionic-native/plugins/screen-orientation/index.ts b/src/@ionic-native/plugins/screen-orientation/index.ts index c672682b5..129a65970 100644 --- a/src/@ionic-native/plugins/screen-orientation/index.ts +++ b/src/@ionic-native/plugins/screen-orientation/index.ts @@ -82,7 +82,8 @@ export class ScreenOrientation extends IonicNativePlugin { */ @Cordova({ eventObservable: true, - event: 'orientationchange' + event: 'orientationchange', + element: 'window' }) onChange(): Observable { return;