You need to sign in to do that
Don't have an account?

LWC difference between mobile app or mobile browser
Hello,
I have a LWC component .
It can be opened in mobile in mobile app or webbrowser .
how can we differentiate between
- if mobile app
OR
- if 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
OR
- if mobile browser
Please find the similar question (https://stackoverflow.com/questions/68906907/in-salesforce-lightning-web-component-how-can-i-find-if-i-am-using-salesforce-m) 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.
Thanks,