FWIW, I'm running telegram now for months with a lifecycle exception. It works around this issue well and doesn't cause battery drain.
Maybe we need to rethink the timeout until suspending an app? I noticed that Android does that after a full minute. While that seems unneccessarily long to me, the 3 seconds we have now are really the source of those problems. We can't expect apps with network connectivity to be able to deal with all remote things in 3 seconds IMO.
Moving every upload to the download manager is probably the desirable long term solution but is again something that won't be happening realistically within any foreseeable future.
FWIW, I'm running telegram now for months with a lifecycle exception. It works around this issue well and doesn't cause battery drain.
Maybe we need to rethink the timeout until suspending an app? I noticed that Android does that after a full minute. While that seems unneccessarily long to me, the 3 seconds we have now are really the source of those problems. We can't expect apps with network connectivity to be able to deal with all remote things in 3 seconds IMO.
Moving every upload to the download manager is probably the desirable long term solution but is again something that won't be happening realistically within any foreseeable future.