Is there a way to prevent one app from automatically opening another app when tapping on links?

On iOS, the system prompts me for permission before an app can open a link in another app. However, on Android, it seems to happen automatically without any confirmation.

Thanks in advance!

      • katy ✨@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 hours ago

        i actually have both but i prefer linksheet as the default since the ui is a little nicer and mimics the old android browser chooser.

        i typically just use urlcheck for things like shorturls and links that i don’t know the source of, since urlcheck also shows up in the list in linksheet so i have the option to use it or another browser/app

  • xmanmonk@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 hours ago

    Also, if you never set a default browser, at least on my phone, it asks which browser every time.

  • masterofn001@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    22 hours ago

    The simplest and most generic solution is to go into the settings app and to your apps settings.

    Select the app you want to prevent from opening.

    Towards the bottom you should see something like “open.by default.”

    Not sure exactly which version of android changed the options, but if you tap that it will either give the newer option of °in the app °in the browser

    In the browser should keep the app from opening.

    I find the new language is much less clear on what these do vs :

    The older default links settings was to not allow app to open. Ask. Or allow.

    You might also find a setting in the browser itself along similar lines of ‘allow links to open out of browser’ , ‘keep links in browser’,‘open link in app’ etc.

    Also, if you like, you can also allow other preferred apps to open those links Eg:

    And for more info :

    https://support.google.com/android/search?q=open+by+default

    • happeningtofry99158@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 hours ago

      thanks a lot! I have a very similar setting to yours

      I have set 2 apps to “In your browser”, but one can still open another instead of opening in the browser

      Maybe I missed something here?

  • gedaliyah@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    17 hours ago

    A longer answer to those comments already here is that it may depend on the particular app. If you are trying to prevent the browser or a system app (including perhaps the app store or assistant, among others) from being opened, it may not be possible, depending on the exact OS you are using.

    Most other apps can be prevented from opening links, as described in other comments.

    • happeningtofry99158@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      I’m using GrapheneOS. Is it possible to “prevent the browser or a system app (including perhaps the app store or assistant, among others) from being opened” in GOS?

      • gedaliyah@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        Yes. Most of those settings are unlocked and you can choose your own defaults. One of the major appeals of using GrapheneOS imo

  • Flatfire@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    22 hours ago

    Seems to depend on the flavour of Android. What version/brand do you have? I know my Pixel asks first unless I allow it more generally.

    You may be looking for the “Instant Apps” settings though. Searching “links” in your Android settinbs should provide a similar result regardless what brand of phone you have though.

    • happeningtofry99158@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 hours ago

      Hi I am using GrapheneOS

      I have set 2 apps to “In your browser”, but one can still open another instead of opening in the browser

      Maybe I missed something here?

      • illi@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 hours ago

        I use Graphene and have it set up to ask me. Not sure what setting that is though 😅 but it should be possible

  • CouldntCareBear@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    21 hours ago

    Firefox blocks this behaviour. If you click a link hijacked by an app you can choose to continue in the other app or open it as a website.