react-native-sse
react-native-sse copied to clipboard
does not establish connection after app is actived from sleep mode
It does not do anything "close" connection when app goes to sleep mode. And does not recognize that connection was lost.
Therefor it cannot re-establish connection when app comes active after sleep mode. Set time out is also killed on sleep mode.
This happens with me too
same issue for me
EmilJunker explained well how to connect the app state with the sse lifecycle: https://github.com/binaryminds/react-native-sse/pull/65#issuecomment-2317395615