Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Ionic Angular / Capacitor Websocket Server running in background

$
0
0

@kks21199 wrote:

Is it possible for me to run a background service with ionic? Also is it possible to revive the service, if it is killed?

In android, you can run a service with a notification to make the chances of it being killed very less since the user will be aware that the service is being run.

https://capacitor.ionicframework.com/docs/apis/background-task/

This does what I want it to do, but I don’t think it will be able to run indefinitely.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>