• burak@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    I found a way on IOS :) But you’ll need Safari running on Mac.

    • Enable Web Inspector on iPhone. Settings > Safari > Advanced > Enable Web Inspector
    • Connect your phone to your mac
    • Open wefwef.app on the phone, connect to it from macos safari developer menu.
    • Change the icon urls in the inspector then install the app on the phone.
      • fer0n
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Maybe you have to have a url to the image, but you could just upload it to imgur und copy the link there. You can replace the icon url by searching for “apple-touch-icon” and changing the href property everywhere you see it to the image url.

        Say you want to use this icon: https://i.imgur.com/kUxXoIA.png

        You change this:

        <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/favicons/apple-touch-icon-180.png">

        to this:

        <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="https://i.imgur.com/kUxXoIA.png">

        (and repeat this everywhere you see the “apple-touch-icon”)

    • fer0n
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You’re a genius! That actually works, thank you :)

  • evirac@vlemmy.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Android? Which launcher? Depending on the launcher, you can change icons to image of your choice

    • Demigod787@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      iOS, there’s a hacky way of doing it with Siri Shortcuts that I completely forgot and I can’t find it since r/Shortcuts was made private lol.

          • fer0n
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            1 year ago

            I’m pretty sure that doesn’t work for web apps though, since they’re not actual apps the “open app” shortcut doesn’t work. You can use “open url”, but that opens it in the browser.

            I don’t know if there can even be such a thing as different icons for web apps on iOS.

            Some time ago you could actually change the icon to whatever you wanted, but that’s no longer possible afaik.

            • burak@lemmy.world
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              As of now, there is no way for pwas to rebrand themselves on IOS. The only way is to reinstall - and lose local data.

              • Demigod787@lemmy.worldOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                I mean all the data is on my profile so I’m willing to reinstall. What’s the method exactly?

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

                  You just remove and add to home again? This is for when the app developer changes the icon or name. In that case the only way to get the updated branding is to reinstall.

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

                  You just remove and add to home again? This is for when the app developer changes the icon or name. In that case the only way to get the updated branding is to reinstall.

            • Demigod787@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              Mate can you stop reading my mind, God’s sake this is scary. The SECOND TIME we are posting and commenting the EXACT same thing minutes of each other.

          • Tolstoy@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            How dare you not to use android? Open source or nothing… just kidding^^ so the only alternative is an app i guess? at least a few are pretty nice and coming to ios too. I hope you guys get what you want^^

            • Demigod787@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              I’ve tried them all, but only WefWef sat well with me. Since the whole revolution came about because of the Apollo app, and WefWef is its successor UI and everything. WefWef, or whatever name they go with, will be my eternal home. Matter fact, to me, Reddit was Apollo, and Apollo was Reddit; similarly, WefWef is the only way I’ll be using Lemmy.

  • peddlerartist@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    On iOS, you can use the open url scheme in Shortcuts and assign any icon you’d like when you add the shortcut to your Home Screen. Not sure about Android though.

    Edit: Yeah not recommended for a web app though but it does give you a custom icon.