Page 1 of 1

auto-renewable subscription: always return "restored" on iOS 16

Posted: Fri Mar 03, 2023 11:05 pm
by trevix
My standalone has a 6 month renewable subscription, that works fine on Android.
Recently I noticed that my customers on iOS get subscribed for free (sigh).

As from my message (Trevix) and Panos answer on the lesson "How do I implement in-app purchases in LiveCode - Apple AppStore?"
https://lessons.livecode.com/m/4069/l/1 ... e-appstore I use "mobileStoreRestorePurchases" at launch, in order to check if the user has still a valid subscribtion.

No matter what, the "purchaseStateUpdate" always receives a pState = "restored", with the correct tProductID.

Code: Select all

on purchaseStateUpdate pPurchaseID, pProductID, pState
My device account sandbox is not in the Tester Sandbox list of app Store Connect and, for what I can tell since it's a really confusing business, my scripts are correct.

Subscription enables on the App some "Pro activities", and I assume that most of my iOS clients are now enabled but, because I believe there is not a list of subscribed users on the Apple store connect, it is hard to tell...
I can only see that on my iOS hardware devices (iOS16, iPhone and iPad): on the second launch of the App I get subscribed.

Is there something I should know on iOS 16, about my problem?
Note that everything works fine on the iOS 15.2 emulator.
Thanks for any help.

Trevix