Skip to content

Commit

Permalink
disable Identifying with a distinct_id different from the one being s…
Browse files Browse the repository at this point in the history
…et by MixpanelAPI.identify()
  • Loading branch information
zihejia committed Apr 7, 2022
1 parent 1e7f830 commit 8a149ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,8 @@ public void identify(String distinctId) {
return;
}
if (distinctId != mPersistentIdentity.getEventsDistinctId()) {
MPLog.w(LOGTAG, "Identifying with a distinct_id different from the one being set by MixpanelAPI.identify() is not recommended.");
MPLog.w(LOGTAG, "Identifying with a distinct_id different from the one being set by MixpanelAPI.identify() is not supported.");
return;
}
identify_people(distinctId);
}
Expand Down

0 comments on commit 8a149ad

Please sign in to comment.