The connection gets closed when using stompJS on android with react native when switching out of the app/exiting the app. The connection stays open when using a foreground service but that's not entirely suitable. The client object becomes undefined upon exiting the app if a foreground service is not used.
The connection gets closed when using stompJS on android with react native when switching out of the app/exiting the app. The connection stays open when using a foreground service but that's not entirely suitable. The client object becomes undefined upon exiting the app if a foreground service is not used.