Determine if site accessed by webview or in app browser on ionic

I create an app (ionic-react /will not matter) that has In app browser implemented.
I have auto fullscreen on that website(will be visited by inappbrowser) that will cause error on InAppBrowser. How can I determine, if website was accessed by webview/InAppBrowser so that I can disable the auto fullscreen on that site.