I have an app done with Ionic5 and Capacitor, I need to have different code if the app runs on a browser or on a real device.
However, using the Platform the command:
always returns false.
How can I understand if I’m on a real device?
Thank you very much