• railsdev@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    It would be nice if client apps allowed URL rewriting. I’m on iOS and I doubt Apple will make system-wide URL rewriting possible (ignoring jailbreaking).

    • rbn@feddit.ch
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      On Android you can assign alternative apps as a standard app for specific URLs. This works just fine without root etc. via the regular app settings. E.g. in my case YouTube links from everywhere (mail program, browser, lemmy, …) open automatically in the privacy-friendly NewPipe app from F-Droid.

      • DNOS@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Where have u set this option I can’t find it in settings some time ago I have probably set YouTube as default since I can’t chose a different app …

        • rbn@feddit.ch
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          In Android 14: Settings / App Settings / / Default opening (Terms might be slightly different. As my Android isn’t in English, I had to translate it.)

          First go to the official YouTube app (if installed) and remove the binding. Then, go to NewPipe (or your preferred client) and set the binding there.

          • Gestrid@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Typically, you can find the setting by holding down on the app’s icon, tapping the icon that looks like an “i” inside an “o”, and tapping on “Open by default”. After that, make sure “Open supported links” is on, and then tap “+ Add link” to add more supported links. That’s how it is on my phone, anyway.

            Like you said, if you (or Google) have already set a default (for example, YouTube links always opening in the YouTube app), you have to go in to your YouTube app settings (same way as described above) and switch off “Open supported links”. Then you can go into the other app’s settings (Newpipe, ReVanced, etc.) and make it the default.

          • DNOS@reddthat.com
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Thanks man unfortunately I have a Xiaomi phone so probably I don’t have the default options for video streaming links since miui and android are similar I have found the app settings and the defaults but I don’t have anything such as default video player (for links ) thanks anyway 👍🏻

            • TwanHE@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              For miui it’s apps / manage apps / 3 dots top right corner / opening links. go to YouTube and find the links it opens, now add those links to your app of choice and uninstall / disable the official app.

    • Yote.zip@pawb.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Couldn’t a client app manipulate the URL from the fetched post content before displaying, even on iOS?