I copied my previous comment permalink and posted it to another comment. (see example on my profile)
Instead of opening the link inside the app it opened it on browser. I understand there are many instances available and it may not be easy to code everything into the app. But i don’t know how but Please look into this.
That has to do with how Android handles links.
So on a system level it knows that HTTP and HTTPS link should be open with a browser. Now as an app builder you can say to android “let me open X”, but the thing is, due to sheer amount of servers, you can never define all Lemmy URLs. A subset of the URLs sure, but not all.
Not until Android gets some things in place to make it happen.
The same issue applies exist with Mastodon and it’s servers.
There is an effort to get the cross-instance link format fixed so that they first have the home instance handle it, but it would also contain the remote post ID in order to fetch it if not yet done. IIRC, so Jerboa might also be able to do a direct request if there is some indication of it being a network-internal link, perhaps
Automatically stay on an instance, when given a link to another #1048
edit: somewhat noob mock-up
(https//)sopuli.xyz/post/12345?net=lemmy&[email protected]&opost=98764
Thinking of proposing this in a comment on the issue.
That would also work… Especially since the app knows about a user plus the instance they are on.