Salta al contenuto
0
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
  • Categorie
  • Recenti
  • Tag
  • Popolare
  • Mondo
  • Utenti
  • Gruppi
Collassa

Forum Federato

Di Piero Bosio
  1. Home
  2. Categorie
  3. Technical Discussion
  4. Android deep links to app content

Android deep links to app content

Pianificato Fissato Bloccato Spostato Technical Discussion
linksappsintegration
7 Post 3 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • alminoundefined Questo utente è esterno a questo forum
    alminoundefined Questo utente è esterno a questo forum
    almino
    scritto su ultima modifica di
    #1

    Can we agree to have a standard for app deep links on Android (and maybe in other OS's)?

    I haven't done my research on the topic, also I am not a mobile or Android developer. But I know there can be links that apps can open.

    https://developer.android.com/training/app-links/deep-linking

    Maybe every implementation of a GUI for the ActivityPub should have a "open in app" button that will prompt for any of the compatible apps installed on your device tô open that content.

    Example 1: I am in this Forum (activitypub.space) and I want to reply to this thread using my Mastodon account. I click the button "open in app" and chose moshidon@floss.social as the app. Then Moshidon shows me the original post on its UI and I can reply using my Mastodon account.

    Example 2: I'm browsing Lemmy on voyagerapp@mastodon.social and find a really interesting and funny meme I want to boost on Mastodon. I click the three dots (kebab) button and choose the option "open in another app…". The OS (Android, mainly) prompts me which app I want to open with. Again, I choose Moshidon e boost it to my followers.

    It would be a very nice way to integrate these apps. The scheme protocol keyword could be "activitypub".

    julianundefined 1 Risposta Ultima Risposta
    • alminoundefined almino

      Can we agree to have a standard for app deep links on Android (and maybe in other OS's)?

      I haven't done my research on the topic, also I am not a mobile or Android developer. But I know there can be links that apps can open.

      https://developer.android.com/training/app-links/deep-linking

      Maybe every implementation of a GUI for the ActivityPub should have a "open in app" button that will prompt for any of the compatible apps installed on your device tô open that content.

      Example 1: I am in this Forum (activitypub.space) and I want to reply to this thread using my Mastodon account. I click the button "open in app" and chose moshidon@floss.social as the app. Then Moshidon shows me the original post on its UI and I can reply using my Mastodon account.

      Example 2: I'm browsing Lemmy on voyagerapp@mastodon.social and find a really interesting and funny meme I want to boost on Mastodon. I click the three dots (kebab) button and choose the option "open in another app…". The OS (Android, mainly) prompts me which app I want to open with. Again, I choose Moshidon e boost it to my followers.

      It would be a very nice way to integrate these apps. The scheme protocol keyword could be "activitypub".

      julianundefined Questo utente è esterno a questo forum
      julianundefined Questo utente è esterno a questo forum
      julian
      scritto su ultima modifica di
      #2

      I won't pretend to be an expert on this matter.

      The crux of the problem is that these open in app associations are associated by domain... and that the fediverse is split across thousands of domains essentially makes it a non-starter.

      For example, take a look at NewPipe. This is the domain association popup.

      1000005268.png

      Yikes!

      Unfortunately I am also not an Android developer so I don't have any clue what the solution would be!

      1 Risposta Ultima Risposta
      • julianundefined Questo utente è esterno a questo forum
        julianundefined Questo utente è esterno a questo forum
        julian
        scritto su ultima modifica di
        #3

        That said...! benpate@mastodon.social has been working on something called Activity Intents (https://w3id.org/fep/3b86) that offloads this from the browser layer and onto the web apps themselves.

        It's something that could function as a stopgap until such time that a better solution is found for app-based clients.

        1 Risposta Ultima Risposta
        • julianundefined Questo utente è esterno a questo forum
          julianundefined Questo utente è esterno a questo forum
          julian
          scritto su ultima modifica di
          #4

          Another solution involves the standard OAuth2 login flow to authenticate a user, and then using the ActivityPub API (aka C2S) to perform actions on behalf of the remote user.

          I talked about this one a bit in my talk at FediCon.

          1 Risposta Ultima Risposta
          • evanundefined Questo utente è esterno a questo forum
            evanundefined Questo utente è esterno a questo forum
            evan
            scritto su ultima modifica di
            #5

            At least for actors, we have the acct: URI scheme:

            https://en.wikipedia.org/wiki/Acct_URI_scheme

            I did a little work with using the scheme in a Web page.

            https://acct.swf.pub/

            I'd like to see more Fediverse apps registering themselves to handle the acct: URI scheme, so at least you could link to an actor with <a>Evan Prodromou</a> and go straight to a profile interface that you could interact with (follow, block, and so on).

            1 Risposta Ultima Risposta
            • evanundefined Questo utente è esterno a questo forum
              evanundefined Questo utente è esterno a questo forum
              evan
              scritto su ultima modifica di
              #6

              Oh, here I am also. Seems like there's a problem with the outbox collection in NodeBB, though.

              https://acct.swf.pub/?q=evan%40activitypub.space

              julianundefined 1 Risposta Ultima Risposta
              • evanundefined evan

                Oh, here I am also. Seems like there's a problem with the outbox collection in NodeBB, though.

                https://acct.swf.pub/?q=evan%40activitypub.space

                julianundefined Questo utente è esterno a questo forum
                julianundefined Questo utente è esterno a questo forum
                julian
                scritto su ultima modifica di
                #7

                You're right! NodeBB serves an outbox but doesn't put anything in it.

                Happy to work towards rectifying it... It just didn't seem to break anything and you're honestly one of the first who even noticed 😳

                1 Risposta Ultima Risposta
                Rispondi
                • Topic risposta
                Effettua l'accesso per rispondere
                • Da Vecchi a Nuovi
                • Da Nuovi a Vecchi
                • Più Voti


                • Accedi

                • Accedi o registrati per effettuare la ricerca.
                • Primo post
                  Ultimo post