AvdLee / appstoreconnect-swift-sdk

The Swift SDK to work with the App Store Connect API from Apple.
Other
1.48k stars 198 forks source link

AppStoreVersionState with removedFromSale never shows in app's AppStoreVersions #277

Closed owenzhao closed 4 months ago

owenzhao commented 5 months ago

When using v1 endpoint.

  1. I got apps.
  2. For an app, got its appStoreVersions.
  3. For an appStoreVersion, got its appStoreState.
  4. List all apps with those appStoreVersions.

Here is the screenshot of app store connect website. The circled apps are "removed from sale".

截屏2024-06-18 19 32 57

Here is the screenshot of my own app, there is no appStoreVersions with the state of "removed from sale". Any idea?

截屏2024-06-18 19 36 43
dluffymonkey commented 4 months ago

请问一下,这里面App的展示的icon是从哪个属性里面获取到的,感谢
Could you please tell me which attribute the App's display icon is retrieved from? Thank you.

polpielladev commented 4 months ago

Hi @owenzhao, I have been struggling with the same issue for my app Helm. From the tests I have done, I don't think the removed from sale state is actually returned by the API 😞

I inspected the network traffic on App Store Connect, and it looks like they use a field called legacyAppStoreState that we don't have access to. We have done so already, but I would suggest filing a feedback request to Apple themselves.

{
    "type" : "apps",
    "id" : "your_id",
    "attributes" : {
      "removed" : false,
      "marketplace" : false,
      "appStoreLegacyStatus" : "DEVELOPER_REMOVED_FROM_SALE",
      "name" : "your_app_name",
      "bundleId" : "your_bundle_id",
      "sku" : "your_sku",
      "primaryLocale" : "en-US"
    }
}