this post was submitted on 29 Jun 2023
83 points (96.6% liked)

Jerboa

10378 readers
9 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 3 years ago
MODERATORS
 

Hey everyone. If I'm spamming my repo too much let me know.

Since v37 came out, development is going at whirlwind pace, and there are still frequent complaints about crashing/no logins for 0.17.x, I decided to post again, but this time bearing good news.

I finally made a Jerboa version where you can log into both 0.17.x and 0.18 accounts.

Unlike the main repo my release is also compatible with phones running Android 5.0.

Check it out and let me know if this is helpful for you. I'm trying to get this merged in as PR#908 but Woodpecker is giving me a hard time.

top 27 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 2 years ago (2 children)

Is it possible for your changes to be merged into the original jerboa?

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago) (1 children)

I'm not sure if the post text was changed, but he says, that he tries to get a pull request (for a merge), but seems original Jerboa maintainer isn't jumping on it. But I don't know any details

[–] Rentlar 5 points 2 years ago (1 children)

I have a PR open, I'm wrestling with the automated build system (woodpecker) that complains when I forget to put a space after // and things. I fixed all of it then it somehow got stuck compiling.

Be patient, I think the main developers will have another look through it in the next couple days.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

Run ./gradlew lintKotlin to check for lint errors or ./gradlew formatKotlin before commit to automagically fix them. Saved me a ton of time.

[–] Rentlar 1 points 2 years ago* (last edited 2 years ago)

Bless you sir/ma'am/honourable one... I've been running a normal gradlew and testing my commits on emulators and actual devices, but I'm too used to my if(a)b; else if(c)d; coding style that I mess up something every time when I try to conform to spacing rules.

[–] Rentlar 1 points 2 years ago

Maybe, perhaps help me get https://github.com/dessalines/jerboa/issues/908 through. Those are the changes I made to get it to work.

[–] [email protected] 10 points 2 years ago (1 children)

I'm not seeing any issues using the app with a 0.17.x other than the pop-up at the start, are things not working correctly for me? Breaking backwards compatibility isn't great, but at least we are moving forward it's progress. As a developer myself I'm happy with a few teething issues and to be honest I'm surprised there aren't more than I have seen, it really speaks volumes to those that have committed to the project!

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

You simply can't login to a 0.17.x server.

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

Nice, it's insane the app broke compatibility but I understand they are crunched for time! Adding this back in is important to ease adoption for Lemmy as a whole.

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

Thanks! It baffles me that the most popular Lemmy app doesn't work on .world, one of the top two Lemmy instance.

[–] [email protected] 3 points 2 years ago (1 children)

Still supports Android 5.0 and up as always.

Now here's some good news for people with older phones ☺️. Thank you kind stranger 👍.

[–] Rentlar 1 points 2 years ago (1 children)

Supporting older devices was the original goal of my fork.

Then Lemmy 0.18 and Jerboa v35 dropped breaking things which made using the app annoying or straight up unsuable for some servers.

So I put some work in to at least fix what were the most glaring issues. It's not a perfect/futureproof solution, the main developers would prefer an interface to pass Lemmy API version with the login and handle things on a version by version basis rather than an issue by issue basis. I can understand their reasoning.

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

Still, it's a nice thing to do. I know a few people that have really old smartphones and don't use any software for social media because of this (they just use way too much resources and the apps usually just hang), now I can suggest Lemmy as a plaform they can most definitely use, even on older hardware, with your forked Jerboa app of course. One of them is really knowledgeable about certain electronics subjects, just kinda out of luck in life (money wise), so he's stuck using his old phone at the moment, so I will most defintely suggest trying Lemmy with Jerboa now.

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

Thank you very much!!

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

I appreciate the effort, as lemm.ee has not yet upgraded. And while I can log in, it won't keep me logged in. I can see that it initially loads my profile, but then any action (upvote, read a post) returns to anonymous status, and the profile goes missing again. Am I doing something wrong?

I've tried logging out, uninstalling, re-installing, logging in again. The problem happens again.

[–] Rentlar 1 points 2 years ago (1 children)

I'm curious: Are you still able to comment, check your inbox and your own profile even when the account displays as "Anonymous"?

[–] [email protected] 2 points 2 years ago (1 children)

No, it won't let me do those things. I have had to download liftoff, but I prefer the Jerboa interface.

[–] Rentlar 1 points 2 years ago (1 children)

No problem. I faced this issue too when I first tried the main Jerboa v36, then somehow it stopped doing it when I tried to debug the issue and I couldn't pinpoint it. :(

[–] [email protected] 1 points 2 years ago (1 children)

Any suggestions for me? I'm an old lady so I default to it being my ineptitude, but I don't know what else to try.

[–] Rentlar 1 points 2 years ago

Try going to your apps, select Jerboa and "Clear Data" and try again...

Also try entering 000000 as the TOTP key in the 4th box, that was one thing I did when I got stuck at login.

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

Thanks for this

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

Thank you! I could finally login back to my lemmy.world account and realised that lemmy.ml was slow af.

[–] [email protected] 2 points 2 years ago (1 children)

Thanks I still have your old 0.17 hotpatch version and lemmy.world finally upgraded to 0.18.1, so I will uninstall the old .apk and download and install the new one. I hope that is the right way to upgrade.

[–] Rentlar 1 points 2 years ago (1 children)

Yep I'll leave it up to you, feel free to use my Jerboa v36 or the mainline Jerboa, most of the big servers should be on 0.18.1rc now.

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

Issue with mainline is last time I looked, it needed Android 8 or higher, and I'm still on Android 7. Do you know if they merged your backport?

[–] [email protected] 1 points 2 years ago (1 children)

Have you considered opening a PR against the upstream repo? Or, are the devs not receptive to the ideo of supporting older Lemmy instances?

[–] Rentlar 1 points 2 years ago

https://github.com/dessalines/jerboa/issues/908

They ideally want a future-proof solution to abstract the login method across many Lemmy API levels rather than patch the specific issue that might be caused by each instance's version level.

For some reason woodpecker got stuck building it last night. Tonight I'll put in a quick comment to have it run again.

load more comments
view more: next ›