to deal with scenarios during which the application is Energetic in foreground, we have to add this code for the firebase.js file:
Besides the Main factors, the React Native Directory provides specialised functions https://ezekielqckt764015.birderswiki.com/894760/not_known_factual_statements_about_react_native_mobile_app_development