Device identification using a vendor keychain

By storing device IDs in the app's 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 section and enable Keychain Sharing.
  2. In the Keychain Groups field, add the group io.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.

Contact support