Cant find variable ScreenResoultion

Hi,
I have followed this documentation to use Screen Orientation API.

In android, the application is working fine with Screen Orientation API.
But in ios throwing Can’t find variable ScreenOrientation error. Because of this error, in UI displaying a blank screen. Please refer to the below image

Version:
@ionic-native/core”: “5.34.0”,
@capacitor/core”: “3.0.2”,
@ionic-native/screen-orientation”: “^5.34.0”,
“cordova-plugin-screen-orientation”:“3.0.2”

Help me to solve this error in ios.