Complete rewrite of the module targeting iOS 17+ and Titanium SDK 13+.#49
Complete rewrite of the module targeting iOS 17+ and Titanium SDK 13+.#49deckameron wants to merge 2 commits into
Conversation
|
Hi @deckameron just wanted to update and old app (ti.storekit 3) to this module and when I build it I see this error: do you know what this could be? |
|
Hi @m1ga! I will investigate it and let you know asap. |
Thanks! |
|
I've tested it with Ti 13.3.0, Xcode 26.3 and it's an Apple Silicon Macbook Air with macOS 26.5.1 |
|
I think it's the release file that is broken:
|
This is very strange! Could you please try downloading the module again and run the com lipo -info command on both . |
|
ok, looks like my previous download was broken 🤷 I've cleared the module folder, downloaded the file again and it's building now. Sorry for the false alarm! |
v6.0.0 — iOS 17+ rebuild with App Store Server API support
What changed
Removed (deprecated by Apple):
validateReceipt()andverifyReceipt()— on-device OpenSSL validationbundleVersion,bundleIdentifier,receiptVerificationSandboxpropertiesrestoreCompletedTransactionsWithApplicationUsername()— merged intorestoreCompletedTransactions({ username })VerifyStoreReceipt/ OpenSSL dependencyAdded:
originalTransactionIdon thetransactionStateevent — stable across all renewals, use this for App Store Server API validationreceiptBase64property — Base64 receipt string without the TiBlob dancevalidateReceiptWithServer()— server-side validation via Apple's/verifyReceipt(kept for compatibility, deprecated by Apple)showManageSubscriptions()— system subscription sheet (iOS 15+)getSubscriptionStatus()— current subscription state via SK1 queue (iOS 15+)showCloudSetupDialog()— cloud service setup (e.g. Apple Music)requestReviewDialog()— updated to scene-basedrequestReviewInScene:(iOS 14+)errorCodeandretryableonTRANSACTION_STATE_FAILEDSUBSCRIPTION_STATE_*constantsSKDownloadAPIs kept with deprecation warnings (Apple deprecated iOS 16)Examples:
example/app.js— complete purchase flow with intent flag, debounce, local cacheexample/subscription.py— Flask backend for App Store Server API validationTesting
Tested on a real iPhone 17 Pro Max (iOS 26) with Sandbox tester account:
originalTransactionIdrecovered