function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

LWC difference between mobile app or mobile browser


I have a LWC component .
It can be opened in mobile in mobile app or webbrowser .
how can we differentiate between
- if mobile app
- if mobile  browser

Best Answer chosen by Ab
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sandrine,

Please find the similar question ( which is answered in stack Exchange.

As per that it is mentioend we can use FORM_FACTOR to identify it.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.