Thread

🛡️
I have a working version of bitchat android with full background persistance. can run in your pocket for days after closing, waiting for incoming messages, relaying the messages of others, with notifications when you receive a message. starts automatically after boot. battery use is minimal. all optional, user has full control. remember when satoshi told @Martti Malmi "fuck linux, lets implement minimize to tray for windows, that's going to increase the node count by 300%" — that's what I'm doing now.

Replies (11)

Did you also handle the needed restart on new version being installed? When user updates the app, Android will kill the process, then dispatch a system Intent to it after installation completion. It will receive a warm start whereby the Saved Instance State is recoverable.
> Wow no I wasn't aware that's crazy. Does it need migrations? Unsure what you mean by migrations. The OS will install the new version over the old one. If you have defined in your manifest a broadcast receiver for `android.intent.action.ACTION_PACKAGE_REPLACED`, you'll receive the Intent upon completion and can restart your services and what not. > Do you wanna help dev with bitchat btw? I could use a pro to show me the way. I'm no pro 😂, just have been around the block once or twice. I'd love to, but have my plate full with a grant from @OpenSats working on kmp-tor for the next 3 months, then back to my other project. See: