this post was submitted on 10 Jun 2023
32 points (100.0% liked)

Jerboa

549 readers
1 users here now

Jerboa is a native-android client for Lemmy, built using the native android framework, Jetpack Compose.

Warning: You can submit issues, but between Lemmy and lemmy-ui, I probably won't have too much time to work on them. Learn jetpack compose like I did if you want to help make this app better.

Built With

Features

Installation / Releases

Support / Donate

Jerboa is made by Lemmy's developers, and is free, open-source software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project.

Crypto

Contact

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] SuitedUpDev@feddit.nl 8 points 1 year ago (1 children)

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.

[–] DivergentHarmonics@sopuli.xyz 11 points 1 year ago* (last edited 1 year ago) (1 children)

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**&ocomm=Jerboa@lemmy.ml&opost=98764
Thinking of proposing this in a comment on the issue.

[–] SuitedUpDev@feddit.nl 5 points 1 year ago

That would also work... Especially since the app knows about a user plus the instance they are on.