StoreKit 2 + subscriptions from different apps

With the introduction of StoreKit 2, is it possible to validate a subscription from another app (within the same developer account)?

We have an app for iOS & macOS that share a subscription but have different identifiers (app bundle id and the IAP product ID). Currently, we need to sync the subscription status from iOS to macOS and vice versa.

Thanks!

Answered by in 677862022

To add - The introduction of StoreKit 2 does not change the appStoreReceiptURL, how the appStoreReceipt is updated on the completion of a successful transaction, nor the content in the appStoreReceipt content for a StoreKit2 enabled app. The app process can upload the content of appStoreReceiptURL to your server and from there validate the contents in the same manner that it always has the cross checking as mentioned in the previous response.

rich kubota developer technical support CoreOS/Hardware/MFI

Accepted Answer

Apps only receive transaction and subscription data associated with their bundle ID. If you need to do cross-app checking, you can use the App Store server APIs and keep track of subscriptions associated with your in-app user accounts on your own server.

Accepted Answer

To add - The introduction of StoreKit 2 does not change the appStoreReceiptURL, how the appStoreReceipt is updated on the completion of a successful transaction, nor the content in the appStoreReceipt content for a StoreKit2 enabled app. The app process can upload the content of appStoreReceiptURL to your server and from there validate the contents in the same manner that it always has the cross checking as mentioned in the previous response.

rich kubota developer technical support CoreOS/Hardware/MFI

Thanks for your answers!

StoreKit 2 + subscriptions from different apps
 
 
Q