Skip to content

Commit

Permalink
@W-16171422: [iOS] Update Native Login Sample App to include QR Code …
Browse files Browse the repository at this point in the history
…Login Flow (Introduce `isQrCodeLoginEnabled`. Functional P.O.C.)
  • Loading branch information
JohnsonEricAtSalesforce committed Sep 20, 2024
1 parent 8a05ab7 commit 306949b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ class AppDelegate : UIResponder, UIApplicationDelegate {
override init() {
super.init()
MobileSyncSDKManager.initializeSDK()

// Uncomment when disabling log in via Salesforce UI Bridge API generated QR codes
MobileSyncSDKManager.shared.isQrCodeLoginEnabled = true

UserAccountManager.shared.loginViewControllerConfig.loginViewControllerCreationBlock = {
return LoginTypeSelectionViewController()
}
Expand Down

0 comments on commit 306949b

Please sign in to comment.