-
-
Notifications
You must be signed in to change notification settings - Fork 434
feat(Proton Mail): Add Remove free accounts limit
patch
#4970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Is the limit removed if the XML node is deleted? Or maybe set to 0 or -1? I can't really think of any use cases where a user would want to increase the account limit vs removing it all together. |
I'm surprised so much stuff is in XML constants. So, there is no a limit of how many free accounts a user can have? The limit is only on how many accounts can be logged in simultaneously? Maybe name this |
Deleting the XML entry will probably cause a crash. Maybe set it absurdly high like 100. |
There's no login restriction if the account has a Paid subscription, so this limit is just for "free" accounts. They mention having multiple accounts as an "Unauthorized" activity in their Terms of Service section 2.7:
However, their terms don't set an explicit limit for what they deem a "large number" — and they mention if the usage isn't fraudulent, there is nothing to worry about. |
This comment was marked as off-topic.
This comment was marked as off-topic.
spam "approvals" are not needed
A patch for changing the max limit seems a bit strange. Ideally this patch should simply remove the limit by using the integer max value or use a bytecode patch to noop where the limit is checked. In my opinion a bytecode patch should be considered because the app is not obfuscated and very easy to fingerprint the required method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this is a better approach
patches/src/main/kotlin/app/revanced/patches/protonmail/account/ChangeFreeAccountsLimit.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/protonmail/account/ChangeFreeAccountsLimit.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/protonmail/account/ChangeFreeAccountsLimit.kt
Outdated
Show resolved
Hide resolved
Change free accounts limit
patchRemove free accounts limit
patch
@scrazzz I have applied your suggestions along renaming to new references. |
patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimit.kt
Outdated
Show resolved
Hide resolved
patches/src/main/kotlin/app/revanced/patches/protonmail/account/RemoveFreeAccountsLimit.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: oSumAtrIX <[email protected]>
@oSumAtrIX Renaming has been applied globally |
Thank you for contributing to ReVanced. Join us on Discord to receive a role for your contribution. |
# [5.26.0-dev.1](v5.25.0...v5.26.0-dev.1) (2025-05-30) ### Features * **Proton Mail:** Add `Remove free accounts limit` patch ([#4970](#4970)) ([b0440ad](b0440ad))
This patch lifts the max "Free" accounts restriction in Proton Mail (by default, the limit is 2 accounts).
Working as of Proton Mail 4.10.0
Closes #4965