Post

Replies

Boosts

Views

Activity

Subscription state not update if I subscribe in App Store sandbox instead of my app
if let status = try await product.subscription?.status { for state in status { if (state.state == .subscribed) { isPro = true break } } } When I subscribe with the api product.purchase in my app, every thing work right. The state is updated to .subscribed right after the purchase finished. However, when I manage the subscription in App Store sandbox with a test account. The subscription state does not updated until I manually ask for another purchase in my app. Then a window popup telling me that I have already purchased this product. And then the state of the subscription also updated to .subscribed. I have also made a update listener to listener all transaction update, just like how SKDemo do. But seems it doesn't receive any update. Last, could any one tell me that if the update listener also responsible for listening the expiration of a subscription?
2
0
1.9k
Feb ’22
Any example about using metal-cpp on iOS?
Now the examples of metal-cpp are target on desktop and using AppKit which is not supported on iOS. Is there any tips for developing with metal-cpp on mobile device?
Replies
2
Boosts
0
Views
1.3k
Activity
Feb ’25
Subscription state not update if I subscribe in App Store sandbox instead of my app
if let status = try await product.subscription?.status { for state in status { if (state.state == .subscribed) { isPro = true break } } } When I subscribe with the api product.purchase in my app, every thing work right. The state is updated to .subscribed right after the purchase finished. However, when I manage the subscription in App Store sandbox with a test account. The subscription state does not updated until I manually ask for another purchase in my app. Then a window popup telling me that I have already purchased this product. And then the state of the subscription also updated to .subscribed. I have also made a update listener to listener all transaction update, just like how SKDemo do. But seems it doesn't receive any update. Last, could any one tell me that if the update listener also responsible for listening the expiration of a subscription?
Replies
2
Boosts
0
Views
1.9k
Activity
Feb ’22
Do I still need to provide a restore button when using storekit2
I am building a app which only support iOS version over 15.0 and using storekit2 to make in app purchase. I read that by using storekit2 developer no longer need to restore purchase info manually. I wonder if I could dismiss a restore button in my app
Replies
1
Boosts
0
Views
1.1k
Activity
Jan ’22