How do I open source an Android app?

https://lemmy.world/post/45068015

How do I open source an Android app? - Lemmy.World

I’ve been building an app for some time and I’m interested in open sourcing it. I’ve searched the net but I haven’t found a good thorough guide on how to open source an app. So, besides choosing a place to put my code (github etc), what are some other advice you can give me in order to do it right? Thanks in advance

Codeberg or gitlab as a source forge. Depending on how private you are, you can start a fresh git repository, then your private history won’t be exposed.

Otherwise, a license and gitignore file and you’re done. Maybe a README if you fancy. And if you want to go overboard, add the apk or request for it to be put on F-Droid

Do I have to sign the apk? I haven’t found any clear answer on that.
Yep, signing is mandatory, according to the docs. It’s necessary for updating the app. You don’t have to use Google, you can self-sign it.
Sign your app  |  Android Studio  |  Android Developers

Learn important concepts related to app signing and security, how to sign your app for release to Google Play using Android Studio, and how to opt in to Play App Signing.

Android Developers
Good. Thank you