And then you occasionally see more subtle stuff like this:
"Since Android 8.0 Oreo, Google doesn't allow apps to run in the background anymore, requiring all apps which were previously keeping background connection to exclusively use its Firebase push messaging service."
how is this handled for SIP softphones that can run persistently in the background, in a direct SIP or SIP-over-TLS connection to a server? for instance:
that's just a random example I thought of since I use it, but I can also think of a lot of other Android apps that I'm fairly sure aren't using any client-server communications mediated through google firebase, yet they continue to function while backgrounded on android 10 and 11.
Just FYI, you can set those notifications to be ‘silent’ (not displayed on the top) and to collapse into a thin line each—in the system's notification settings. The apps still keep running, however I haven't figured out whether this change affects the frequency with which the background service is called by the system, and thus synchronization delays.
VoIP has always been treated a bit differently to regular apps on both platforms. I vaguely remember about 10 years ago both iOS and Android had special permissions specifically for VoIP apps to run in the background.
Android has it's own SIP stack. It's even exposed in the standard Android phone dialler from Google. In the settings for that app look under "calling accounts".
The Android SIP stack is pretty crummy. Last I tried to use it there was no support for TLS registration (leaving your calls unencrypted, barebacking the web) or for push notifications.
Linphone, Zoiper, etc can show a badge in your notifications menu/top bar at all times and get semi-reliable access to run in the background, but expect to miss 5% to 20% of all incoming calls. Firebase push notifications are mandatory if you care about battery life or reliable inbound calling :c
> leaving your calls unencrypted, barebacking the web
btw. most of the time only the session is unencrypted, not the media. when sip uses sips it will encrypt both the session and the media. but the latter is pretty uncommon and most often you wil see unencrypted session and an encrypted rtp stream. this is still the default, even deutsche telekom does it like that by default, even in their commerical offerings like "cloud pbx", because you would need to pay extra for the encrypted session.
and btw. sip over tls mostly means that the call is encrypted, but the sip messages aren't.
"Since Android 8.0 Oreo, Google doesn't allow apps to run in the background anymore, requiring all apps which were previously keeping background connection to exclusively use its Firebase push messaging service."
https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/mas...