Hi.
This is what i understand of it;
When closing Jami, and removing it from the Running Apps overview(which Android can also do automatically), then Jami is not able to communicate.
To overcome this,
(Huawei P8/Android 6)
go to Settings,
- Apps, Advanced, Ignore Optimizations, and there, allow Jami to ‘ignore optimizations’.
- Advanced settings, Battery Manager, Protected Apps, Jami, enable it as “protected app”.
(Samsung A71/Android 11)
go to Settings, Apps, Jami,
- Mobile Data, “allow data when data usage saving is on”(loosely translated)
- Battery , “allow background activity”
Also,
(Under Jami settings)
- allow ‘Run in background’
(Under Jami Account - multiple options which can be used separately)
- DHT-Proxy is useful when changing (mobile networks often), so that the DHT-Proxy is the stable ‘connection point’ to the DHT network, for others to see. (But negates the ‘decentralized’ aspect. unless you host your own ‘DHT-Proxy’
- TURN-server is useful when you’re behind a firewall. This however is a ‘fixed central server’ which acts as a man in the middle (as far as i know).
- UPnP is useful when your router/firewall has UPnP enabled. That way your App can communicate with the router/firewall what ports is should allow to pass through
ps. For a communication to succeed through firewalls, When using a TURN server, it is enough for one party to succeed to pass through the firewall.