ti.storekit
ti.storekit copied to clipboard
Use the native iOS StoreKit API for In-App-Purchasing with Appcelerator Titanium.
Beta build: https://www.dropbox.com/s/0eyhk945p6osmp5/ti.storekit-iphone-5.0.0.zip?dl=1
I am using introductoryPrice.paymentMode and subscriptionPeriod to get if the App has a trial version and its period. But How do we identify if the trial period has ended? -...
I do a manual check for the expiration date and save the subscription status with the markProductAsPurchased and removeProductAsPurchased functions. Later, having found that the subscription has expired I resubmit...
I have the error "The hard-coded bundle version does not match the app's CFBundleVersion." I have tried Xcode procedure writed on documentation but I get another error, see attachment. Xcode...
``` const latestReceipt = _.max(Storekit.receiptProperties.purchases, function(purchase) { return purchase.transactionIdentifier; }); Ti.API.info("Storekit Latest ReceiptProperties: " + JSON.stringify(latestReceipt)); const isOngoing = moment().isBefore(moment(latestReceipt.subscriptionExpirationDate)); Ti.API.info("Subscription: " + latestReceipt.productIdentifier + " is Ongoing?:" + isOngoing);...