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

Jerboa

10332 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
31
submitted 2 years ago* (last edited 2 years ago) by lol to c/[email protected]
 

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
[–] [email protected] 7 points 2 years 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.

[–] [email protected] 11 points 2 years ago* (last edited 2 years 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?
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
I'm pondering putting this as a comment on the issue, that's why i ask if this makes sense.

[–] [email protected] 5 points 2 years ago

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