Basically what the title says. I am aware of the Platform component (https://reactnative.dev/docs/platform-specific-code) which can be used to check what device the app is running on. Although, from my understanding, if the app is running in a web browser on ios/android, Platform wouldn't identify if it's running as an app or in a browser. Can I maybe do something like document == 'undefined (true if browser, false if app)? I appreciate any guidance.
I'm using expo by the way.