pixelfed / mobile-app

Placeholder app repo for issues
https://github.com/pixelfed/pixelfed-rn
95 stars 3 forks source link

Suggestion: switch to in-app browser login to avoid a login loop #150

Open techmagus opened 4 months ago

techmagus commented 4 months ago

When trying to log in to a Pixelfed server, it goes into a login loop because the system kills the app.

Some manufacturers, unfortunately, set a low number of background apps setting despite having a lot of memory; coupled with an aggressive 'kill' setting. So, when apps that launch separately the system browser, their app is placed in the background which the system then 'kills'.

The workaround I've noticed from other apps is to wrap the system browser (I think Android calls it in-app browsing) so the app stays in the foreground.

Video: https://youtu.be/F090pIs6lLY

App:

Phone details:

Fediverse server: