to deal with situations by which the application is active in foreground, we need to incorporate this code into the firebase.js file:
this short article explores how builders leverage React Native for native mobile https://georgialjup534062.goabroadblog.com/29088521/a-simple-key-for-react-native-app-development-unveiled