To take care of scenarios by which the app is active in foreground, we must include this code to the firebase.js file:
We have now wrapped our stack navigator inside of a NavigationContainer. This handles navigation https://prestongilf727721.westexwiki.com/921958/firebase_with_react_native_no_further_a_mystery