Vincent Ritter

Major core update to Gluon. Easier future. Multiple accounts.

I’m happy to announce that I rewrote a fairly big chunk of the underlying code for Gluon.

The past few weeks have given me doubt on the maintainability of the, now huge, codebase. So I decided it was time to tackle it.

The major upgrades have to do with storage handling and how your data is stored on the device. Before this update there were too many steps involved and it was a nightmare to implement certain things with ease. For example switching to the correct feeds depending on your account (yep, account switching).

With that I also took time to store any Discover posts separate to your main account, as these are accessible even without an account. Again, this removes loading steps for the app.

I’m really happy with the way it works now and it gives me great confidence to implement features I have in mind.

The first of these features was to re-introduce multiple accounts with easy account switching. Not only that, you’ll be able to register for push notifications (iOS only for now) on both accounts and receive them on the same device. Pretty handy if you have several accounts. Note that it won’t switch accounts yet when you tap a notification… working on it!

Before I go further I must warn everyone using it… whilst I did my best to avoid headaches (I had many different problems already), please expect this to be one of those updates that breaks the app - I’m confident it won’t crash, but just bear that in mind. If for some reason you can’t get it to start, delete the app (OMG!!) and grab it again. If it doesn’t crash it will ask you to log in again… which I’m hoping it will do.

Anyway, now that’s out the way, here is a screenshot of the really simple account screen found in “More/Settings” and also when you long press on your profile image:

You can add as many as you want. Once you press the “Add +” button you’ll get the login screen, just like you should be used to with this update 😅. Once logged in you’ll be switched to that account automatically - you’ll see that by the “Active” text.

Switching accounts is as easy as selecting whichever account you want. It should be relatively fast, depending on your feed.

If you find yourself on your timeline, or elsewhere, just long press your profile image and you’ll open up the same screen where you can quickly jump between accounts. It will also automatically close the screen once it’s switched here.

Anyway, I’m happy with the way that works now. Hope some of you will find it useful.

There are some other changes especially to the Discover sections. It’s mainly a tidy up of the screens, so they don’t feel so cluttered, and also a few things in search so the keyboard doesn’t always get in your way when you already did a search previously.

This update is being pushed out now for iOS. It all works for Android too, but I want to re-visit some “profile” stuff here, as I don’t want to confuse you what account you’re in. So Android support for this is coming soon also.

More to come and happy testing.