[SalesForce] Component not showing on Salesforce 1 app

I'm creating a record page for opportunity from lightning app builder and drag and drop a custom lightning web component on that page and set the activation for desktop and mobile both.
But I'm able to see that component only on the desktop not on the Salesforce 1 app.
Please suggest me how can I show my component on Salesforce 1 app.

Best Answer

Your visibility filter on the component is probably not set to have it show on the mobile app. It should be set to "Device not equal to desktop" to show on mobile.

You should read through the Lightning App Builder Considerations article.

Specifically this:

Component Visibility Rules

If a visibility filter assigns a component to “Device equals desktop,” the component appears on a page when viewed in Lightning Experience on a desktop and when viewed in a browser on an iPad.

The Salesforce mobile app on an iPad uses the phone form factor. Salesforce viewed in a browser on an iPad uses the desktop form factor. These form factors affect components on record pages differently.

  • If the visibility filter is “Device not equal to desktop” or “Device equals phone,” the component appears on record pages in the Salesforce mobile app on both a phone and an iPad. It doesn’t appear on pages viewed in a browser on an iPad.

  • If the visibility filter is “Device not equal to phone,” the component appears on record pages in Lightning Experience on a desktop and on pages viewed in a browser on an iPad. It doesn’t appear in the Salesforce mobile app on a phone or an iPad.

Related Topic