IPhone - How to recognize iTunes user of my application

There are some apps that seem to recognize the iTunes user for the iPhone. I need to develop an application that supports in-app purchase as a "subscription". Apple wants my app to subscribe on every user device (iPhone, iPod, iPad). To do this, I can create a server-side subscription system that associates the subscription with the view of the newly created user inside my server. To make things better, I believe that if my application can recognize the iTunes user who signs my service on the iPhone, he can store it on my server. If the user downloads the application on the iPad, too, my application may ask the server to understand if the current iPad user is the same as subscribing to my service on the iPhone, and if so,it can also provide services on the iPad. So, can my application know that an iTunes user is signing up for my service (with an in-app purchase)?

Thanks in advance

+3
source share
3 answers

Answer: I CAN'T! therefore, the only way to manage subscriptions on multiple devices is to create a “subscription registration” that allows the user to register their subscription so that they can log in from other devices and restore the subscription.

+2
source

The SDK seems to say that your application will be rejected if you ask and ask the user to send you their iTunes user account ID.

You will need to figure out how to use the anonymous transaction identifier.

0
source

iTunes ( , , ).

, IAP. , iTunes. , .

IAP:

To restore transactions, the application calls the restoreCompletedTransactions payment queue. For each outstanding purchase that was previously completed, the Store app generates a new deal recovery. The recovery operation includes a copy of the original transaction. Your application processes recover transactions receiving the original transaction and use it to unlock purchased content

-1
source

Source: https://habr.com/ru/post/1768969/


All Articles