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.

  • Riley@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 days ago

    If the Play Store becomes required like that then Android’s already-shaky status as an open source base platform is going to go out the window. I’m glad there are non-Google distros of Android but there really needs to be more of a push to make a completely FOSS phone platform.

  • T156@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 days ago

    What is a “trustworthy software environment”?

    Does that mean that it will get mad and fail you for having Developer options enabled? Having F-Droid installed? Having it plugged into a computer?

    • whats_all_this_then@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      There’s a bank here that refuses to let you log into their app if you have developer options enabled. Their service was getting much better until that point, but I dropped them completely after that.

      I use developer options to get better screen density on my large ass screen, and to you know…develop apps 🤷‍♂️

      FUCK THESE ASSHOLES WHO THINK THEY CAN TELL ME WHAT I CAN AND CAN NOT DO WITH MY PHONE

      • doctortran@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 days ago

        People seriously need to start pushing back on the word “secure” being used as a blanket excuse for every restriction.

        It feels like every time that word is used, no one is willing to call out the fact that user freedom is equally as important and it’s a lazy, disrespectful developer who won’t take that into account by finding ways to maintain both.

    • SlothMama@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      17 days ago

      Yes, that’s the implication, and it’s certainly intentional for you to think of it like that.

      • doctortran@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        17 days ago

        The fact that an entire generation thinks the only proper way to install software is through an app store is absolutely terrible. Talk about a boon for the gatekeepers, Apple and Google did a bang up job training them to trust no one else.

  • odelik@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    18 days ago

    This seems like a brilliant feature to roll out as they’re getting investigated by the DOJ for being a monopoly.

  • cm0002@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    which cannot be worked around.

    Well, at least not without root lol

    Root detecting apps to Side loading detecting apps:

    First time?

    • ChaoticNeutralCzech@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 days ago

      I installed FakeStore and set the app’s relevant /data/system/packages.xml properties from Aurora Store to FakeStore (installer="com.android.vending" packageSource="0" installInitiator="com.android.vending", the same as Google Play Store) and rebooted, which was enough to fool the public transport app I’m using. Is this the workaround you’re talking about, or does it require MicroG too?