Skip to content

Commit 34eb315

Browse files
committed
Revert "Fixing logic for delaying setting external user id"
This reverts commit fe3ea48.
1 parent 53a8dc3 commit 34eb315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iOS_SDK/OneSignalSDK/Source/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2668,7 +2668,7 @@ + (void)setExternalUserId:(NSString *)externalId withExternalIdAuthHashToken:(NS
26682668
return;
26692669

26702670
// Can't set the external id if init is not done or the app id or user id has not ben set yet
2671-
if (!_didCallDownloadParameters) {
2671+
if (!performedOnSessionRequest) {
26722672
// will be sent as part of the registration/on_session request
26732673
pendingExternalUserId = externalId;
26742674
pendingExternalUserIdHashToken = hashToken;

0 commit comments

Comments
 (0)