how to handle multiple accounts on same phone
complete
4
45444
I checked the doc and it says if there is the same receipt id, it will all share that one on the same phone in apple. This does not make any sense at all! How can I implemnet automatic account handling then? If I have to implemnet myself what is the point of using Adapty, I can just implement everything,
Adapty Support
complete
A
Adapty Support
Hello!
The behavior you are referring to is intentionally implemented by Apple as part of their 'restore purchase' feature. Essentially, when an Apple receipt is present on a device, all users will share the access to the content. You can find more information on this in the following documentation: https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/restoring_purchased_products/
Unfortunately, there is no direct way to address this issue either through Adapty or any other tools at our disposal. However, we can suggest a workaround solution. You may consider flagging customers by their transaction IDs and only allowing "access level updated" events if the original transaction IDs match. Please note that when restoring purchases, Apple generates different transactions that do not correspond to the original ones. By restricting access activation on your server and disallowing updates from other profiles, you can mitigate the issue to some extent. However, it is important to note that this suggestion is not an official workaround, and any workarounds implemented are solely your responsibility, given that the access sharing is a result of Apple's policy.
It is important to note that Adapty offers various other features and functionalities beyond account handling, such as analytics, marketing automation, and revenue optimization. By utilising Adapty, you can still benefit from these capabilities while managing the specific aspect of shared access through your own implementation.
Hope that helps!