I am currently integrating notifications via FCM into my react native app. On ios everything works as intended. But if I open the android app by clicking on a notification (quit or background state) firestore connect is always empty. The android app and firestore connect work correctly when I open the app normally.
export default compose( connect((state: ReduxState) => ({ userId: state.firebase.auth.uid })), firestoreConnect((props: any) => { return [ `users/${props.userId}`, ]; }), connect( (state: ReduxState): Partial<Props> => { // At this point state.firestore is empty const user = getVal( state.firestore, `data/users/${state.firebase.auth.uid}` ); return { user, loaded, userId: state.firebase.auth.uid, }; } ))(PreloadGate);Is there any known bug for firestore connect?