Hello colleagues. Need your advice on the following issue:

It is necessary to implement a mobile application for iOS and Android in which there will be two possibilities that raise questions. 1. Registration and user identification 2. Internal subscription.

Can you tell where and what to read or any examples of implementation?

The question is the following. How to clearly identify the user application? Well, let's say, the person downloaded the application through the AppStore. I went to the application. If he previously downloaded the application (for example, from the same account, but on the iPad) and bought a subscription, then the sections he paid for should be automatically available to the user.

Therefore, by what id can this user be identified? Is it possible to somehow get the appl id or google id? I found information that you can use the UUID, but it is also tied to the device, and not to the account. So, if the user paid for a subscription from the iPhone, and launched the application on the iPad - there will be no subscription? Do I need to implement for this internal registration in the application? Or is it possible to somehow identify the user?

Well, where you can read more about the payment? Maybe there are some examples. As I understand it, this happens through the google and apple services themselves, but I did not find any specific examples ....

I would be extremely grateful for the advice on these two issues.

    2 answers 2

    Both services (both Google Play and the App Store) allow you to link multiple devices to one account. Thus, when making a purchase, for example, from the phone, the service for the tablet will return to the tablet that the purchase of this position has already been made.

    With regard to the development of Android, you can read this lesson .

      I think you can contact the Firebase service https://console.firebase.google.com You can manage authentication and users, conduct analytics, send notifications, change settings remotely, etc. There are examples for Android and iOS. I study it myself now.