Ionic 4 ion-tabs

Hello every one i need your help! hope you can
i want to set the tabs2 as active when i open the app

i’m using ionic 4

here is my code

<ion-tabs selected="feed">

  <ion-tab-bar slot="bottom">
    <ion-tab-button tab="feed">
      <ion-icon name="home"></ion-icon>
    </ion-tab-button>

    <ion-tab-button tab="reported">
      <ion-icon name="list-box"></ion-icon>
    </ion-tab-button>
  </ion-tab-bar>

</ion-tabs>

this might help you. I am using ionic 3 not sure about ionic 4

You could try changing the routing to redirect to tab2 instead of tab1

@yashwanth493 thanks for the respond yup in ionic 3 we call it as selectedIndex but on ionic 4 they remove the functionality, what i realy have is i have two user the admins has own tabs view and user has also there own tabs view thats why i want to call the index of tabs by users role…

@jjdev thanks bud for the response ii cant because i have 2 roles per tabs