Notification Plus ion-badge

can any one help me how to show ion-badge when receiving a notification from FCM,
it does not trigger on tabs when i received the notification.

your help is much appreciated…


bind ion-badge value


yup but my question is i want to show the badge when the app received a notification
but thanks for the answer

Use *ngIf="data != null" or *ngIf="data"

like if you have notification badge will display else it stay hide.

thanks i already done that but on in Tabs its not working when i received a notification the ngIf is not working