Post

Replies

Boosts

Views

Activity

How to get app version release date using the App Store Connect API
Using the App Store Connect API how can you get the release date for an app? I've been able to use this endpoint to list a bunch of information, however the release date is not included. As you can see in the JSON response posted below, it does have a "createdDate" but this corresponds to when the version was made in App Store Connect (Prepare for Submission), not when it was released to the store. This can be verified by looking in App Store connect. JSON Response: https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?limit=1 { "data": [ { "type": "appStoreVersions", "id": "a75acc6e-9429-4539-a282-eadef235169e", "attributes": { "platform": "IOS", "versionString": "5.9.0", "appStoreState": "READY_FOR_SALE", "copyright": "InterPro Solutions, LLC", "releaseType": "MANUAL", "earliestReleaseDate": null, "usesIdfa": null, "downloadable": true, "createdDate": "2021-10-11T08:37:22-07:00" }, "relationships": { "ageRatingDeclaration": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/ageRatingDeclaration", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/ageRatingDeclaration" } }, "appStoreVersionLocalizations": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionLocalizations", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionLocalizations" } }, "build": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/build", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/build" } }, "appStoreVersionPhasedRelease": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionPhasedRelease", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionPhasedRelease" } }, "routingAppCoverage": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/routingAppCoverage", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/routingAppCoverage" } }, "appStoreReviewDetail": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreReviewDetail", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreReviewDetail" } }, "appStoreVersionSubmission": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionSubmission", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionSubmission" } }, "idfaDeclaration": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/idfaDeclaration", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/idfaDeclaration" } }, "appClipDefaultExperience": { "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appClipDefaultExperience", "related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appClipDefaultExperience" } } }, "links": { "self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e" } } ], "links": { "self": "https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?limit=1", "next": "https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?cursor=AQ.ANZyDDk&limit=1" }, "meta": { "paging": { "total": 68, "limit": 1 } } }
3
3
5.2k
Nov ’21
SwiftUI sheet automatically dismisses itself
I have a sheet thats being presented in SwiftUI and the first time it's opened it automatically dismisses itself half a second later. Reopening it from then on works properly. Has anyone else experienced this and perhaps come up with a solution? Stack Overflow post: https://stackoverflow.com/questions/62722308/swiftui-sheet-automatically-dismisses-itself          var window: UIWindow?               func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {         if let windowScene = scene as? UIWindowScene {             let window = UIWindow(windowScene: windowScene)             window.rootViewController = UIHostingController(rootView:                                                                 NavigationView{                                                                     List{                                                                         ForEach(0..<10){ value in                                                                             Text("Hello, World \(value)")                                                                         }                                                                     }                                                                     NavigationLink(destination: Test()) {                                                                         Text("Details")                                                                     }                                                                 }             )             self.window = window             window.makeKeyAndVisible()         }     } } struct Test : View{     @State  var show = false          var body : some View{         Text("Details")             .sheet(isPresented: $show, content: {                 Color.blue             })             .toolbar{                 ToolbarItem(placement: .navigationBarTrailing) {                     Button("Show Sheet"){                         show.toggle()                     }                 }             }     } }
8
1
8.0k
Jul ’20