Post

Replies

Boosts

Views

Activity

Refunded purchases returned with current entitlements using StoreKit 2 on watchOS
Hello everyone, I am writing to inquire about a strange behavior that I encountered while using StoreKit 2 on watchOS 9.1 and Xcode 14.2. Specifically, when using the Transaction.currentEntitlements method, it returns refunded non-consumable purchases alongside valid ones. Additionally, I have observed that Transaction.updates does not notify me of refunded purchases or cancelled subscriptions while testing on my local environment with Xcode. When implementing the same code with an iOS app, it works as expected, indicating that this may be a watchOS-specific issue. This behavior is unexpected, and I am unsure if this issue also occurs in a production environment. Can anyone please help me with this issue? Thank you in advance.
2
0
1.2k
Mar ’23
SwiftUI MapAnnotation Publishing changes warnings
Hello, I am facing SwiftUI runtime warnings while implementing MapAnnotation [SwiftUI] Publishing changes from within view updates is not allowed, this will cause undefined behavior., there are new warnings when the map is moved. Implementing MapMarker instead of MapAnnotation solves the problem. What am I doing wrong with MapAnnotation? The code is running on Xcode version 14.1 (14B47b) and Simulator Version 14.1 (986.5) struct AnnotationItem: Identifiable {     let id = UUID()     var coordinate: CLLocationCoordinate2D } struct MapView: View {     @Binding var region: MKCoordinateRegion     @Binding var items: [AnnotationItem]     var body: some View {         Map(coordinateRegion: $region, annotationItems: items) { item in             MapAnnotation(coordinate: item.coordinate) {                 Image(systemName: "cup.and.saucer.fill")             }         }     } }
1
2
1.7k
Nov ’22
IAP Subscription status is Developer Action Needed
Hi, My first app with IAP subscription was rejected the first time, in the second review it was approved and the status is Pending Developer Release, however, the subscription status is Developer Action Needed and the Submit for Review button is disabled. Submit an in-app purchase for the first time "... scroll down to the In-App Purchases and Subscriptions section" that section is not shown. I'm not sure how to solve this issue.
2
0
1.1k
Jul ’22