j-fbriere / squawker

An open-source privacy oriented Twitter/X client
MIT License
813 stars 16 forks source link

Can't remove/stop using guest accounts after signing in #192

Closed Oleepre closed 5 months ago

Oleepre commented 5 months ago

Checklist

Affected version

v3.7.0+300013473

Steps to reproduce the bug

1 Open Squawker. 2 Go to "Settings -> Account" and make sure there are guest accounts available, if not generate them. 3 Add a Regular account. 4 Restart Squawker and notice it still uses guest accounts: rate limit, limited searches, no nsfw tweets, etc.

Expected behavior

When adding a regular account, Squawker should either disable, ignore or delete current guest accounts and only use the Regular one.

Actual behavior

Squawker will always use active guest accounts regardless of the existence of a Regular account. Uninstalling and doing a clean install will remove all guest accounts, and adding a Regular one before generating guest ones will work as expected. Importing Data that includes X/Twitter tokens causes the same bug, even if they're imported after adding an account.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Android 13

Affected device model

Samsung Galaxy A32

Additional information

No response

j-fbriere commented 5 months ago

Well it's not a bug because it is by design from my part.

Note 1: regular accounts also are rate limited.

Note 2: An import never deletes things, it adds or updates things (subs, tokens).

To address your problem, I could add an option to use only regular accounts.

Would it be ok?

Oleepre commented 5 months ago

I think a Regular account should take priority after adding it, and as of right now it seems to be ignored until the guest ones expire or we clear the app's data. But yeah a toggle to only use one or the other would work.

swaggyP36000 commented 5 months ago

hi, found a temporary fix for this. went a while without using the app so I figured if anyone else is desperate too, they can try this 😭:

j-fbriere commented 5 months ago

@swaggyP36000 Thank you for the info.

If you already have a Twitter but it's throwing an error even though your password is correct, it's Twitter flagging it as suspicious.

Did this happened to you?

swaggyP36000 commented 5 months ago

@swaggyP36000 Thank you for the info.

If you already have a Twitter but it's throwing an error even though your password is correct, it's Twitter flagging it as suspicious.

Did this happened to you?

yes, but waiting a bit and retrying fixed it. unfortunately, i dont remember what the error said and I'm not sure i can recreate it (no more accounts to test with). now i have both my main and new one i just made signed in to Squawker

j-fbriere commented 5 months ago

Version v3.7.1 implements the functionality to use a different strategy with account types. There are three choices now that can be set in the Account page: