You are adding this as an observer regardless if you have listeners on the JavaScript side. You will need to create a message informing the native side when the first listener was added and when the last was removed, so you can dynamically start to observe the NativeAppWindow object for orientation events.