How add var in tabs (var auto refresh) ionic4

Hi eveybody !

First of all thank you for reading me. I would like to have an automatic refresh variable in my tabs, (no matter the page, I want this variable to be updated during a firebase notification for example)
comment is it possible? I dry a little!