Skip to content

Commit

Permalink
@W-17291595: [iOS] [Instrumentation] Add QR Code feature logging to t…
Browse files Browse the repository at this point in the history
…rack adoption
  • Loading branch information
JohnsonEricAtSalesforce committed Dec 27, 2024
1 parent fa8f7e4 commit 2e182ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
#import <SalesforceSDKCommon/SFJsonUtils.h>
#import "SFSDKOAuth2+Internal.h"

static NSString * const kSFAppFeatureQrCodeLogin = @"QR";

// Notifications
NSNotificationName SFUserAccountManagerDidChangeUserNotification = @"SFUserAccountManagerDidChangeUserNotification";
NSNotificationName SFUserAccountManagerDidChangeUserDataNotification = @"SFUserAccountManagerDidChangeUserDataNotification";
Expand Down Expand Up @@ -422,6 +424,7 @@ - (BOOL)loginWithCompletion:(SFUserAccountManagerSuccessCallbackBlock)completion
frontDoorBridgeUrl:(nullable NSURL * )frontDoorBridgeUrl
codeVerifier:(nullable NSString *)codeVerifier
{
[SFSDKAppFeatureMarkers registerAppFeature:kSFAppFeatureQrCodeLogin];
return [self authenticateWithCompletion:completionBlock
failure:failureBlock
scene:scene
Expand Down

0 comments on commit 2e182ba

Please sign in to comment.