Skip to content

Commit

Permalink
The first Identity shared state should include a valid mid
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyansong-adbe committed Dec 14, 2022
1 parent bf7f8dc commit 2feaf1f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ void forceSyncIdentifiers(@NonNull final Event event) {
private void boot() {
loadVariablesFromPersistentData();
initializeDatabaseWithCurrentPrivacyStatus();
getApi().createSharedState(packageEventData(), null);
if(!StringUtils.isNullOrEmpty(mid)){
getApi().createSharedState(packageEventData(), null);
}
}

/**
Expand Down

0 comments on commit 2feaf1f

Please sign in to comment.