I’m trying to find an android mastodon app that can handle links from outside the app and open them in the app. Tusky is not going to implement this feature request and I haven’t seen anything from the official app nor Fedilab.

It really feels like not being able to open mastodon links in an app is what’s holding me back from using Mastodon more. I don’t always find Mastodon content from within and is like to be able to interact with them more.

    • Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 months ago

      This is the best way IMO, and it supports a lot of different apps. I use both the Lemmy and Mastodon versions, and they both work nicely

  • Ada@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    8 months ago

    There is no easy way to implement it at the app level, because apps have no way of knowing whether any given link is a mastodon link or not

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      8 months ago

      Yeah, you would have to maintain a list of all Mastodon instance domain names, and Google requires this list to be baked in at build time of the app, so updating it requires updating the whole app and there’s no way to dynamically detect that this link is a Mastodon link.

      This isn’t to say that it can’t be done, Newpipe does this for Invidious/Piped instances, but yeah, it’s a good bit of work…

  • grant 🍞@toast.ooo
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    Mastodon on iOS adds a button to the URL share sheet to open any url within Mastodon, and if it’s an ActivityPub object, will load the post inside Mastodon

    Does the Android version have something similar?

  • helenslunch@feddit.nl
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    What are the chances that you come across a link and it goes to your preferred Mastodon instance?

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    As has been said, this is not easily possible, but a workaround in Fedilab is to copy the link and paste it into the search bar inside the app. So, not super convenient, but at least you’ll be logged in and can interact with the post. This might also work with the other apps, I’m not sure…