A few questions about customer user id
D
Dmitrii
Good afternoon! I'm smoking your documentation right now, trying to figure out how not to get along with the migration.
Now the scheme is approximately as follows:
- The flutter app makes purchases through the in_app_purchase plugin
- After a successful purchase, the app sends back the transaction data from apple/Google returned by the plugin
- We back this data to the user profile and then identify users using it to synchronize the purchase status in the future
We want to fully switch to your solution so that the application only talks to the SDK and the back listens to webhooks, but the following things are not yet clear:
- What happens if you call identify () with the same customer user id on Android and iOS? Will the last method call in order overwrite profile data like OS, Device, etc.?
- So far, we've just added your SDK to the list of dependencies, and so it has been living there for some releases. We also set up integrations with Apple and Google stores in the dashboard. Now I can see purchases on the dashboard made long before integration with you, as well as user profiles generated. The question is: do I understand correctly that the first call to identify (<customer_user_id>) will add <customer_user_id>to an existing profile if it has made at least one purchase?
- To the previous question: if you made two purchases with the same apple id, are they always guaranteed to be in the same adapty profile, even if the customer_user_id was empty when these purchases were made?
- What events/webhooks does restoring purchases in Transfer access to new user mode generate? subscription started and subscription expired?