altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.71k stars 890 forks source link

Unknown Error Occurred When Patreon is Signed Out #270

Open CraftyCanine opened 4 years ago

CraftyCanine commented 4 years ago

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.

shanegillio commented 1 year ago

hi there! sorry for the lack of response - are you still experiencing this issue as of the most recent beta? we should have fixed some of the issues with multiple devices