Hide Tabs based on condition Ionic 4

I would suggest reading this thread.