Posts

Post not yet marked as solved
10 Replies
1.7k Views
This is new Catalina behavior. The file access error described below never happened on Mojave and High Sierra.My sandboxed Mac App store app includes a sandboxed XPC helper service in its app bundle.The XPC helper service has the standard entitlements: com.apple.security.app-sandbox and com.apple.security.inheritThe host app creates a document file in its own sandbox container's Caches directory. After the save operation completes,it invokes a method on the XPC service, sending the document's URL. That method on the XPC service tries to open and read the document file at that URL.Error Received: The file couldn’t be opened because you don’t have permission to view it. Permission denied.So then I tried an experiment where the user would select a folder for the XPC service to put files using NSSavePanel.The document was then written there by the host app.XPC service could not open the file either. The file couldn’t be opened because you don’t have permission to view it. Permission denied.In both instances, the XPC service did not "inherit" the sandbox state of its host app. This violates the com.apple.security.inherit entitlement.The radar report is: FB7450619
Posted
by sbrodhead.
Last updated
.
Post not yet marked as solved
1 Replies
994 Views
Say a user calls Itunes support and cancels a subscription and is issued a refund.That creates an in-app receipt entry with a "cancellation_date" entry. I can track the subscription through all renewal periods using its original_transaction_id.Now lets say the user, at a later date, decides to purchase the subscription again (without cancellation - no intention of fraud - just a change of mind).Does that new subscription event use the old original_transaction_id (which was cancelled) or does it get a new one ?In my app processing, I use the original_transaction_id to group subscription items. The app ignores subscriptions with a cancellation_date in one of the grouped items.But if a future renewal for that subscription occurs, does that start a new subscription with a new original_transaction_id or is the the old one reused?With no ability to test cancellation+refunds in the sandbox, I need feedback about what to expect if this scenario happens (highly likely).
Posted
by sbrodhead.
Last updated
.
Post not yet marked as solved
1 Replies
836 Views
In Itunes Connect you can move subscription items up/down inside a subscription group to establish their relative level.But if I have essentially the same subscription, but differing only in duration, how can I assign the subscription items to the same subscription level?A user changing the subscription duration should be considered a crossgrade, not a upgrade or downgrade.I see no way to set 2 subscriptions items to the same subscription level in a subscription group in itunes Connect.Is my assumption that 2 subscription items can both have the same subscription level valid ??
Posted
by sbrodhead.
Last updated
.