stomp-js / stompjs

Javascript and Typescript Stomp client for Web browsers and node.js apps
Apache License 2.0
775 stars 81 forks source link

Connection closed when App is killed on Android #623

Closed RookieIndieDev closed 10 months ago

RookieIndieDev commented 10 months ago

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.

RookieIndieDev commented 10 months ago

Android limitation, not an issue with Stompjs