I have downloaded @RezaDorrani Menu Component from Github and added to my component library. I then imported to my app and I have initiated the below collection at OnStart property of the screen. I have used colMenuItems at MenuItems property of the component.
ClearCollect(
colMenuItems,
{
MenuLabel: "Audit Without Manifold",
MenuIcon: Icon.ListScrollEmpty,
MenuScreenNavigate: AuditWOManifoldGalScreen,
MenuID: 1
},
{
MenuLabel: "Audit With Manifold",
MenuIcon: Icon.Notebook,
MenuScreenNavigate: AuditWithManifoldGalScreen,
MenuID: 2
},
{
MenuLabel: "Godown Audit",
MenuIcon: Icon.OfficeBuilding,
MenuScreenNavigate: GodownAuditGalScreen,
MenuID: 3
},
{
MenuLabel: "LOT QVR Activities",
MenuIcon: Icon.Settings,
MenuScreenNavigate: LOTQVRGalScreen,
MenuID: 4
},
{
MenuLabel: "Customer Training",
MenuIcon: Icon.Lightbulb,
MenuScreenNavigate: CustomerTrainingGalScreen,
MenuID: 5
}
)
From my home screen, I have copied this component to several other screens on my app. After Run OnStart, when my app is in preview mode all screens shows well in my component and navigation works. The issue is when I publish the app and on the published version, only home screen shows my navigation items from collection. The other screen shows some test items coming directly from the component in the component library. Screenshots below. Banging my head understanding what and where I am doing wrong.
Below is home screen component

Below is component from other screens
