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.
Post
Replies
Boosts
Views
Activity
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")
}
}
}
}
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.
Hello, I am implementing StoreKit2.
My app uses Transaction.currentEntitlements to load the user's purchased subscriptions after the app is launched, how the transactions are loaded? (from the AppStore/Internet or from the local receipt)
currentEntitlements doesn't throw any exception, and I'm not sure how to handle the offline case.