How to just change the APP ID when building?
How to just change the APP ID when building?
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)
You're viewing a single thread.
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?
1 0 ReplyTrue!
Submitting to F-Droid means they build the APKs themselves.
This could still mean they need a fork with a changed App ID. Or they could do that during the build process, reducing deduplication.
1 0 ReplyI think in fennec-fdroid's case, they have scripts to automate the changes.
https://gitlab.com/relan/fennecbuild!fdroid@lemmy.ml might be helpful
1 0 ReplyVery interesting thanks!
2 0 Reply