Damus

Recent Notes

Ava · 41w
Haven't used Nostr on desktop in a while, but #Gossip was my go-to when I did. It's been a few months since the last release, but I'm pretty sure Mike is still maintaining it. https://github.com/mikedilger/gossip
Michael Saylor🔶 · 41w
I’ve made it easy for anyone who wants to connect with me privately to have a quick conversation. Please feel free to reach out to me directly through the SimpleX app using the link below. https://smp10.simplex.im/a#E-n5ovrcuv_y_b5Cvdh2Kyz5bxy7-2fdEjPrf31frIU
calle · 46w
Wow no I wasn't aware that's crazy. Does it need migrations? Do you wanna help dev with bitchat btw? I could use a pro to show me the way.
Matt Nelson profile picture
> 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: https://developer.android.com/reference/android/content/Intent#ACTION_PACKAGE_REPLACED

❤️1
Matt Nelson · 46w
Sorry, the string value to declare in your manifest is actually `PACKAGE_REPLACED` not `ACTION_PACKAGE_REPLACED
calle · 46w
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 notifi...
Matt Nelson profile picture
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.

1👀1
calle · 46w
Wow no I wasn't aware that's crazy. Does it need migrations? Do you wanna help dev with bitchat btw? I could use a pro to show me the way.