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

Entitlements of the target after setup:

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