Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use the iphone auto renew subscription without a server

So all the documentation and posts I see about auto-renew subscription are using the server side model to deliver products. Is there a particular reason why one couldn't use the Built-in model.

I am creating a audio player app that will provide new original music every month. With service side verification I understand that it checks to see if the receipt is valid before allowing the user to download the audios from my server.

However, couldn't I just program my app to ping the app store to see if their subscription is active. If their subscription isn't active have the app sit on the home screen saying "Please renew your subscription before regaining access to the audio player"

It's my understanding that the server side model is there to prevent pirates from gaining access to my servers resources. Is there any other reason I should use it?

like image 238
Andrew M. Avatar asked Jan 25 '26 12:01

Andrew M.


1 Answers

It depends on whether you want your application to be hacked or not. Main reason for all the validation routine is that once application is available to user, he can modify it in any way he likes which can be seen on all the hacked iPhone apps out there. So in your case they would delete all checks from your code and set "active" to true.

like image 122
Alehar Avatar answered Jan 28 '26 02:01

Alehar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!