altstoreio / altstoreio/AltStore

Unknown Error Occurred When Patreon is Signed Out

Open
#270 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

support
Dominant language
Swift
Stars
14.4k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When a user is a patreon supporter, the account is sometimes signed out if they sign in on another device. When this occurs, all beta apps on the device are deactivated in AltStore. However, if one or more of them are still on the device, they cause a state which means there are more apps on the device than AltStore recognizes. This leads to an "unknown error occurred" error when trying to activate another app. To recover from the situation, the user must sign back in to Patreon, realize which apps are still on the device, and activate them first. Then normal functionality will resume and the user will be able to activate and deactivate apps as desired.

Steps to reproduce the behavior:

  1. Log in as a Patreon on device 1
  2. Download a beta app and 2 other apps to take up the 3 app limit.
  3. Either sign in to Patreon on another device or remove the AltStore app on the Patreon website
  4. Reopen AltStore and observe that beta apps are now missing.
  5. Try to install or sideload a new app, it will fail with "an unknown error occurred".
  6. Sign back in to Patreon
  7. Observe that all beta apps are now moved to the "Inactive" section.
  8. Find which apps are still installed even though they show as inactive and activate those.
  9. You can then deactivate them as you see fit. Apps will now install correctly.

If an app should be deactivated due to being signed out of patreon, at least remove it correctly so that it doesn't completely break AltStore.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Patreon sign-out flow described in the issue, then trace how beta apps move to the Inactive section while remaining installed. Verify the app inventory and activation-limit behavior after sign-out; done means installing or sideloading another app no longer produces the unknown error and inactive installed apps can be handled normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.