I want to compile all the GUI LineageOS apps and release their APKs.

To make them installable on other Android OS, I need to change the app ID. Otherwise Android would attempt an upgrade and fail because of mismatching keys.

For example the LineageOS Clock

There are many many files that refer to com.android.deskclock which I want to change to org.lineageos.deskclock.

Do I just need to change this line? And can I leave all the others normal?

I think I got build failures when changing more, and I wonder if I would need to change all the lines (using sed or something)

  • huginn@feddit.it
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    I’m not seeing any build.gradle files so you wouldn’t need to change namespace in those.

    It looks like there’s a build config file you might need to change but I’m unsure.

    Ultimately you can pop open android studio and hit Ctrl+shift+R and replace all com.android.deskclock with org.lineageos.deskclock - that might be easiest. I’d do a Ctrl+shift+F for org.lineageos.deskclock first to be sure I don’t have any clashing namespace but I think you’re good.

  • Achyu@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I don’t have an answer, but your idea seems quite cool.

    Maybe it could be made available in f-droid, like how they provide Fennec fdroid?