Disclaimer: This post is NOT made by AI

F-Droid rebuilds apps from their source code, right? But updates come slow and sometimes apps end up only on IzzyOnDroid instead of the official F-Droid repo., and IzzyOnDroid doesn’t rebuild the apps from the spurce. Obtainium isn’t much of a solution either since it acts like a slight more inconvenient IzzyOnDroid. So, I wanna know the most inconvenient way of installing apps: Do you build them like any normal open-source app on desktop and just send the files back on to your smartphone, or does it involve ADB? And have you ever done this before?

  • Kajika@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 hours ago

    I always have signed the app built for android, I don’t think anyone should installed a non-signed app. Even as single dev you should create a key and sign your commits and apps.

    During testing yes I/we send app directly to the phone through ADB to debug live the app we are working on.

    So Android apps are not exactly like desktop, you can sign them, you also need a manifest to get permissions (camera, file, etc) and you are usually tied to the Android API for many things, apps are JAVA after all. You can add c/c++ code with the ndk-build and I don’t know the details but as far as I know this is like WASM for web-browser and you are even more limited that the native JAVA (JS for browser).

  • myszka@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    17 hours ago

    I’m considering hosting my own forgejo instance with a worker (you could just use GitHub or whatever), forking and setting automatic sync of the apps I use, building a cd pipeline for them and then setting automatic updates on my phone through obtainium. It helps many repos already provide the cd pipe so it’s just a matter of forking the repo. It’s probably a lot of work but it might be a way for you.

  • needanke@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    17 hours ago

    I use a foss app where no binary is provided and you are expected to compile it yourself.

    Cannot reccomend; android studio is not that great, keeps bugging you about signing in with google, enrolling in their shitty developer verification, etc. And why not update the projects gradle framework while you are at it (this will break the build). So yes, it truly is the most inconvenient way. However, no adb is needed, I just self-sign the apk and send it to my phone.

    I only do it because I rely on the app and have been to lazy to set up a cd-pipeline to automatically provide an apk for me to fetch.

    Fyi, Obtanium does not guarantee the app is built from source, they just fetch the apk on git (or wherever you point it to). What is put there is up to the devs.

    • MisterFred@reddthat.comOP
      link
      fedilink
      arrow-up
      0
      ·
      18 hours ago

      Yes. I know. I said Obtainium doesn’t build apps from the source, but that was said indirectly. Sorry, my bad! (I don’t mean to sound like AI)

  • AstroLightz@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    18 hours ago

    I have a script where it auto pulls from the apps repo, builds it and signs with my key, renamed the output APK key, then moves it to a Syncthing directory, which gets uploaded to my phone.

    Though, it only really works with apps that have signingConfigs defined that pull from a properties file.

    Not really something most app devs do (AFAIK), but for a few, it’s convenient.

  • Syndication@lemmy.today
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    I have only done this with YouTube Morphe patches if that counts. It makes my phone hot and takes awhile, but hell, I’ll never watch an ad on there so the effort is worth it to me. Plus I like to customize the UI so it’s kinda fun too!

    • EngineerGaming@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      I tried that, but deleted almost immediately after because it didn’t have playlist/history/subscription unless you logged into a Youtube account (which I failed to register without a phone number). And having those is the only reason I use an app instead of the browser version. So I stuck with Pipepipe, that not only has these locally, but is also seemingly faster (more noticeable on the old phone than on the current one).

      • Syndication@lemmy.today
        link
        fedilink
        arrow-up
        4
        ·
        23 hours ago

        See I’m the opposite where I need my account because of all my playlists, I like to reply to people, and want to cast and actually use the features of the YT app. It is a guilty pleasure and bad habit of mine, as I still want to reduce my digital footprint, but its hard to switch off completely. It’s like a drug lol

        I am happy for you that you can use that alternative and that it works good for you though. That’s the smartest/safest way to do it. I tried stuff like NewPipe years ago and it broke almost every other week and lacked many things I was used to using with patched YT apps. What you’re doing is the best for privacy too, so if you can, stick with that. Sadly I just love all the customization and the many other features that Morphe offers too much to ever consider switching :(

        • EngineerGaming@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          20 hours ago

          To be fair, I do want an account as well just because I often get those prompts requiring to sign in if I want to watch or download further.

          Also yeah, it does break a lot. Is it less common with Morphe?

          • Syndication@lemmy.today
            link
            fedilink
            arrow-up
            2
            ·
            15 hours ago

            Oh that changes things then. Yes, Morphe can run for months between patches before I start noticing playback loading for longer. And that only happens because I get lazy/forget to patch it for awhile. It works great. Update it every month or so and you’ll be good 👍 Very stable for the most part since it is modifying the official app so it doesnt set off any flags like NewPipe would.

            Newpipe breaks often because it’s fetching videos through third party methods, so Google will purposefully try to break it as it’s easy to detect (I am assuming your app is some fork of Newpipe) so I say go with Morphe if you don’t want to play the cat and mouse game that NewPipe apps gotta deal with. It sadly is just a reality with those apps. Its why Morphe and revanced are more popular.

            Just remember that while it uses an open source non-google sign in app (Micro-G), it doesn’t automatically mean that you’re safe from Google tracking you through other means. We’re in the degoogle community, so I figured I’d let you know incase that was something you really cared about too. I personally don’t mind since I am still stuck on an android device that cant run stuff like grapheneOS anyways, so it feels pointless unless you already ditched Google completely in all other areas of your life.

            Hope this helps, I know it can be a little confusing so if you need any extra help just shoot me a message or reply and ill try to help best I can 👍

            • EngineerGaming@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              14 hours ago

              Indeed, it is a fork of Newpipe! Yeah, I know that. I just really don’t want to use a real phone number or do the KYC again for a new one, and can’t register Youtube without a phone number either. And if I can’t, Morphe would be a downgrade from a browser given how at least a browser can have bookmarks you type timestamps in (which is how I watched Youtube until I found out Pipepipe/Freetube).

  • hkffepdsedzcfpjdxk@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I’ve been developing my own workout app for my own use. I thought I might make it available just in case anyone wants to use it. It was a little bit of a pain getting it on fdroid, but to get out in the PlayStore vista 25 bucks and I have to recruit a dozen beta testers to install it before they’ll list it. I decided I didn’t care that much so it’ll never be on the play store. It is totally free and totally privacy respecting, unlike all the workout apps there but not worth it to me for a little side project.

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    4
    ·
    1 day ago

    i wonder why foss devs making stuff for linux(ish, in this case) will never upload it to the damn app store in the first place.