How to keep running apollo subscription while capacitor app is on background? #5376
Unanswered
enes-get-local
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@enes-get-local did you ever get it working ? i'm stuck with the same question |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I been developing a react.js chat application which works via websocket connection with apollo-client.It uses capacitor.js. In chat component, a subscription query starts works and listen new for new messages. The problem is that messages are not listening while the app is backgrounded. New messages starts loaded as soon as open app.I want to make it like whatsapp which load new messages while even app is on background. Is there a way to achieve this with capacitor ?
Apollo client configuration
Component which subscription works
Beta Was this translation helpful? Give feedback.
All reactions