Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    Android deep links to app content

    Pianificato Fissato Bloccato Spostato Uncategorized
    linksappsintegration
    7 Post 3 Autori 6 Visualizzazioni
    Caricamento altri post
    • 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.
    • A Questo utente è esterno a questo forum
      almino@activitypub.space
      ultima modifica di

      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.

      Link Preview Image
      Create Deep Links to App Content  |  App architecture  |  Android Developers

      To allow users to enter your app from links, you must add intent filters for the relevant activities in your app manifest. These intent filters allow deep linking to the content in any of your activities…

      favicon

      Android Developers (developer.android.com)

      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".

      julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
      • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
        julian@community.nodebb.org @almino@activitypub.space
        ultima modifica di

        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!

        Link Preview Image
        1 Risposta Ultima Risposta Rispondi Cita 0
        • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
          julian@community.nodebb.org
          ultima modifica di

          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 Rispondi Cita 0
          • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
            julian@community.nodebb.org
            ultima modifica di

            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 Rispondi Cita 0
            • evan@activitypub.spaceE Questo utente è esterno a questo forum
              evan@activitypub.space
              ultima modifica di

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

              Link Preview Image
              acct URI scheme - Wikipedia

              favicon

              (en.wikipedia.org)

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

              Webfinger Browser

              favicon

              (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 Rispondi Cita 0
              • evan@activitypub.spaceE Questo utente è esterno a questo forum
                evan@activitypub.space
                ultima modifica di

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

                Webfinger Browser

                favicon

                (acct.swf.pub)

                julian@community.nodebb.orgJ 1 Risposta Ultima Risposta Rispondi Cita 0
                • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                  julian@community.nodebb.org @evan@activitypub.space
                  ultima modifica di

                  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 Cita 0
                  • Primo post
                    Ultimo post