I have a home page which is my first screen.
after i navigate to some pages On clicking a button i need to get back to the home page without back button
for navigation i use [navPush]='pageName';
This navPush automatically generates back button. But i dont need the back button when i go back.
I tried navPop it is working fine but the problem is it takes to the next page only .
Example
if i have 10 pages from 10th page i have to come to 1st page using ionic
navPopi am not able to achieve this .When i tried with navPush i am able to get back but i am not able to avoid the back button in homepage.
Question:
Is there anything else i am missing how to avoid the back button generated using
navPushornavPop