react-native-signalr icon indicating copy to clipboard operation
react-native-signalr copied to clipboard

not work in background / app close

Open herarya opened this issue 7 years ago • 3 comments

hi, @olofd how to run received push from server when app close ? i try run code on app state "background" signal r not received

herarya avatar Mar 15 '18 08:03 herarya

It should be used only when state is active.

j-mendez avatar Mar 29 '18 18:03 j-mendez

@jeffreymendez1993 So you mean even when the app is in background state it will still not work?

Shhzdmrz avatar Apr 11 '18 04:04 Shhzdmrz

So it only works when app in foreground. When app goes background for a period of time (< 2 min observed) it may works but when you get screen lock for a time and unlock it, It will stop working.

utpal-patel avatar Apr 11 '18 13:04 utpal-patel