I am newbie to React Native, I am developing messaging app on react native. How can I implement functionality to change user online/offline status if the appState is Active/inActive and exactly in which page (at the root/index) or after login at HomePage, will it be global? used across all the pages in application?
Thanks in advance.