I have been searching how to implement auto-renewable subscription in iOS. Purchasing auto renewal subscription is quiet similar to other in-app purchase.
But the challenge was to detect cancellation of subscription made by user. so I asked one of staffs in livecode and she told me that..
As a workaround, it was suggested to use "mobileStoreRestorePurchases" in the openstack handler. and this should detect cancellation of the subscription. but my concern is, "Apple recommend not to restore purchase often since it prompts for the user’s AppStore credentials, which interrupts the flow of your app."Unfortunately, in order to "get a transaction receipt for an in-app-purchase" we need to use a property which is not implemented in LiveCode yet.
Thus, my idea is using "mobileStoreRestorePurchases " just once per a month by counting days since the date of purchase. so I don't need to use "mobileStoreRestorePurchases" often as apple recommended.
But here is my question, I found that Android devices never asking user's password or id when the items restored. What about iPhone and iPad? will they actually asking anything if the command "mobileStoreRestorePurchases" sent? I couldn't test this because I had problem with setting up testflight. Please let me know if anyone has idea about this.
Thanks a million in advance!