You might sideload an Android app, or manually install its APK package, if you’re using a custom version of Android that doesn’t include Google’s Play Store. Alternately, the app might be experimental, under development, or perhaps no longer maintained and offered by its developer. Until now, the existence of sideload-ready APKs on the web was something that seemed to be tolerated, if warned against, by Google.

This quiet standstill is being shaken up by a new feature in Google’s Play Integrity API. As reported by Android Authority, developer tools to push “remediation” dialogs during sideloading debuted at Google’s I/O conference in May, have begun showing up on users’ phones. Sideloaders of apps from the British shop Tesco, fandom app BeyBlade X, and ChatGPT have reported “Get this app from Play” prompts, which cannot be worked around. An Android gaming handheld user encountered a similarly worded prompt from Diablo Immortal on their device three months ago.

Google’s Play Integrity API is how apps have previously blocked access when loaded onto phones that are in some way modified from a stock OS with all Google Play integrations intact. Recently, a popular two-factor authentication app blocked access on rooted phones, including the security-minded GrapheneOS. Apps can call the Play Integrity API and get back an “integrity verdict,” relaying if the phone has a “trustworthy” software environment, has Google Play Protect enabled, and passes other software checks.

Graphene has questioned the veracity of Google’s Integrity API and SafetyNet Attestation systems, recommending instead standard Android hardware attestation. Rahman notes that apps do not have to take an all-or-nothing approach to integrity checking. Rather than block installation entirely, apps could call on the API only during sensitive actions, issuing a warning there. But not having a Play Store connection can also deprive developers of metrics, allow for installation on incompatible devices (and resulting bad reviews), and, of course, open the door to paid app piracy.

    • hogmomma@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      edit-2
      6 days ago

      …as I upvote you from my Pixel. ☹️ I give the sad face because Google isn’t who they once were and I’m just going to have to deal with that.

    • sweetpotato@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      Google and apple you can let us worry about our security ourselves, thank you, though I’m sure you have our best interests in mind and only that

    • sentientity@lemm.ee
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 days ago

      I genuinely don’t even know where to buy an affordable device that is free from this kind of control. Some company always has outsized control (and in some cases arguably surveillance) over anything you can find on the market. It sucks so bad.

  • 0x0@programming.dev
    link
    fedilink
    English
    arrow-up
    83
    arrow-down
    1
    ·
    7 days ago

    So the EU’s been forcing Apple to allow sideloading and Google goes Nah, it’ll be fine?

    • bitfucker@programming.dev
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      2
      ·
      7 days ago

      Ehh, this is basically just another form of DRM. No different than you having a Steam and GOG model. You can make your apps using DRM and enforce certain constraints

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        GOG model

        wut? The main selling point of GOG is that games purchased from them are DRM-free.

        • bitfucker@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Yes, that’s my point. Android “doesn’t” have to use Google Play Store, but it is convenient. Other store fronts exist like F-droid and many vendor specific one. Google just provide the DRM mechanism like steam does provide DRM via steamworks

      • Starbuncle@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        6 days ago

        DRM is to prevent piracy. This does not prevent piracy unless it only applies to apps that cost money.

        • TheChargedCreeper864@lemmy.ml
          link
          fedilink
          English
          arrow-up
          5
          ·
          6 days ago

          There already exists a “Google Play licence check” permission apps can use to verify whether or not the app has been bought on a Google account that’s present on the device.

          If people can crack the app to remove this (which is a thing for some of the popular apps), they’ll also figure out how to patch this out. This is strictly useful for free apps, and only serves to make it unviable to distribute verifiably clean apk’s outside of Google Play (so rip APKMirror)

          • Starbuncle@lemmy.ca
            link
            fedilink
            English
            arrow-up
            6
            ·
            6 days ago

            Yup. This isn’t an anti-piracy thing, it’s a fuck-over-people-who-don’t-like-google thing.

        • bitfucker@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          What I mean by that is, this is just an API/SDK for app developers to use. Google does not enforce the use of such things. Much like steam does not force the use of their drm for example (please note the difference between the marketplace and the drm). App developers can always choose how they make and distribute their app.

          • Starbuncle@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 days ago

            What legitimate reason would an app developer have for not wanting to let people install their app from sources other than the play store?

            • bitfucker@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 days ago

              Enforcing payment comes to mind without resorting to in-app purchase or any account creation. A lot of desktop software is a good example of those. Sure, you can still have cracks and whatnot, but then again, that’s not the point. Might as well ask what is the point of Denuvo. That is a whole other discussion.

              • Starbuncle@lemmy.ca
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 days ago

                That’s a very legitimate reason! I was talking about free apps, but I failed to mention that in my comment. My bad. Any legit reason for free apps?

                • bitfucker@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  5 days ago

                  Nothing comes to mind. DRM literally means digital rights management and unless you wanted to be petty, like blocking a certain person from using your app, then DRM for something free is not something that I can think of a use case for.

    • boonhet@lemm.ee
      link
      fedilink
      English
      arrow-up
      12
      ·
      7 days ago

      Google is allowing the app developers to choose (for now?). With Apple, developers never had the option to allow other stores or sideloading.

  • FireWire400@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    6 days ago

    They’re still pissed that people won’t put up with their shitty YouTube app and use Revanced instead, eh?

    • ngwoo@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 days ago

      That’s not on Google Play so it doesn’t affect it. I honestly don’t know what the point of this is.

      • FireWire400@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        Oh I see, so it only affects modded apks… They probably want to crack down on all those slightly-shady “spotify premium free”-apks.

        • Wispy2891@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          edit-2
          5 days ago

          No, it only affects vanilla apks where the dev implemented the check. For some reason the dev might forbid to run the app to users that side loaded the app instead of getting it from play store

          Patched/modded apks are unaffected because the check is patched out

  • 5cr33ch3r@lemmy.ml
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    6 days ago

    The only reason I’m still sticking with Android is the ability to sideload

    I have no reason to use an android if this is the road Google wants to follow and expect my next phone to be an iPhone SE

  • eleitl@lemm.ee
    link
    fedilink
    English
    arrow-up
    44
    ·
    7 days ago

    I get most of my stuff via F-Droid or I could use Obtainium. My tablet is Google-free. This sounds like my phone should be Google-free as well.

    • loutr@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      1
      ·
      7 days ago

      Yeah but banking apps are starting to check integritynet, and (in France, at least) they’re pretty much mandatory to do anything useful with your bank account/credit card online… I think Uber does too, I boycott them but others might follow suit…

      Currently running lineageos, but I think I’ll just give up and go for a Pixel for my next phone… Sucks to let google win but I like to do useful things with my phone…

      • Unreliable@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        You can still pass play integrity with a rooted phone/custom ROM. Mine is currently passing with strong while rooted.

        • loutr@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          What do you use? I rooted my phone precisely for this, but google pay and my bank still see I’m not on the stock ROM : (

          • Unreliable@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 days ago

            I’m currently using APatch, PIFork in script-only mode, and Tricky Store with a leaked keybox.

            If you need to spoof for apps you’ll need some other stuff. For APatch there’s a thing called Cherish Peekaboo, for KernelSU you can use Shamiko. These will do their best to hide the fact that you’re rooted from apps. There are some detector apps that can help you fix things that apps might see, but there not entirely needed.

            Also since you’re not on the stock ROM, you’ll need to spoof your props so just use the regular Play Integrity fix.

      • eleitl@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 days ago

        I use a hardware TAN generator though I also have a banking app as a fallback on my Lineage OS phone. If I ever buy a Pixel it’s only to install Graphene OS on it.

        • loutr@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          7 days ago

          Sadly most French banks use a custom validation process which requires you to use their app to validate a transaction. And my main bank’s app has warned me that it will “soon” stop working on custom ROMs…

      • vinyl@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        for me for example i just use the web version of navy federal, works pretty fine.

        • UnsavoryMollusk@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 days ago

          You can’t in some countries. Like if you want to wire something, or setup a payment you have to use the app. It’s mandatory. If you go through the website it ask to open the app to confirm it’s you.

          • vinyl@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            6 days ago

            i feel like if you switch to the desktop version of the website, it wont pester you.

            • loutr@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              6 days ago

              Unfortunately it will, if I want to add a new transfer recipient or make a payment on a 3D secure website, the app is mandatory, even on desktop.

          • dan@upvote.au
            link
            fedilink
            English
            arrow-up
            2
            ·
            6 days ago

            So people that only have a computer and not a smart phone can’t do those things at all?

  • hypertown@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    6 days ago

    Good that most apps I use now are open source but for those few that I still get from Aurora Store it might be a death sentence but perhaps this API could be spoofed?

  • Snapz@lemmy.world
    link
    fedilink
    English
    arrow-up
    36
    ·
    7 days ago

    Was always inching closer, but looks like android has fully outstayed its welcome. The revolving door of executives hit its last person with any integrity on the ass on their way out the door.

    • A_Random_Idiot@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      5 days ago

      I hate having to be on the side of “Defending” google… but this is the app makers fault, They are the ones using whats provided and installing the artificial limitations.

      Google just provided the capability to do it. The app makers are executing it.

  • Unboxious@ani.social
    link
    fedilink
    English
    arrow-up
    14
    ·
    6 days ago

    I use apps that aren’t available in my region for language study, so this could end up being a real problem for me.