Device identification using a vendor keychain

By storing device IDs in Keychain, you can uniquely identify a device for custom reports in AppMetrica. However, if a device has multiple apps from the same developer installed, the device might be identified differently in the reports for each of the apps. To avoid this issue, use a vendor keychain.

Setting up a vendor keychain

  1. In the Xcode interface, go to the Capabilities pane in the target settings and turn on Keychain Sharing.
  2. In Keychain Groups, add the group com.yandex.mobile.appmetrica.

Entitlements of the target after setup:

After you have set this up, the AppMetrica SDK automatically uses the vendor keychain data.

If you didn't find the answer you were looking for, you can use the feedback form to submit your question. Please describe the problem in as much detail as possible. Attach a screenshot if possible.