StoreKit 2 Transaction.currentEntitlements questions

Hi,

I'm starting using StoreKit 2 and I have some questions regarding transactions.

To check which non-consumable in-app purchases the user has purchased, immediately after starting the app I look at Transaction.currentEntitlements. That's working fine, but I have some questions about it.

Question 1:

What happens if the user is not connected to the internet? Will Transaction.currentEntitlements still return data?

Question 2:

What happens if the user sign out from the AppStore? Will Transaction.currentEntitlements be empty?

Question 3:

What happens if the user sign in AppStore with different credentials? Transaction.currentEntitlements will return the transaction of the new AppStore user?

Thank you

Post not yet marked as solved Up vote post of DaleOne Down vote post of DaleOne
612 views