For Unity, the Identity id is stored in PlayerPrefs property.
public virtual void CacheIdentityId(string identityId) { var settings = ServiceFactory.Instance.GetService<IApplicationSettings>(); settings.SetValue(GetNamespacedKey(IDENTITY_ID_CACHE_KEY), identityId, ApplicationSettingsMode.Local); }