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
Sai.MaharajpetSai.Maharajpet 

How can I make lightning component which is used for tab as mobile compatible

How can I make lightning custom  component which is used for tab as mobile compatible
AbhishekAbhishek (Salesforce Developers) 
Hi,

1. In the component you wish to add, include implements="force:appHostable" in your aura: component tag and save your changes.
The appHostable interface makes the component available as a custom tab.
2. Create a custom Lightning component tab for the component. From Setup, enter Tabs in the Quick Find box, then select Tabs.
3. Add your Lightning component to the Salesforce app navigation menu.
From Setup, enter Navigation in the Quick Find box, then select Salesforce Navigation.
Select the custom tab you just created and click Add.
Sort items by selecting them and clicking Up or Down.
In the navigation menu, items appear in the order you specify. The first item in the Selected list becomes your users’ landing page.

Check your output by going to Salesforce mobile web. Your new menu item should appear in the navigation menu.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
Sai.MaharajpetSai.Maharajpet
Yes, I have done the same it show an error when i open using salesforce mobile app *"Error:Error Occured while loading component"*
AbhishekAbhishek (Salesforce Developers) 
Sai you can log a case with salesforce support maybe then can further assist you.