G
G
goodman777072020-07-09 21:41:46
Android
goodman77707, 2020-07-09 21:41:46

Web sockets can't be used in services since Android P?

It is true that web sockets are no longer relevant for permanent work, because. they can not be used in long-running services in the latest versions of Android, due to the fact that they put a lot of battery? and is it better to use FCM instead?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2020-07-09
@goodman77707

You can not use the services themselves, the system kills them. If not foreground service, of course.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question