forcedotcom / SalesforceMobileSDK-iOS

iOS SDK for Salesforce
Other
538 stars 419 forks source link

Soft logout feature in Salesforce mobile SDK #3563

Closed pushp1010 closed 1 year ago

pushp1010 commented 1 year ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 10.2.0
  2. Issue found in Native App or Hybrid App: Native
  3. OS Version: iOS 16 and later
  4. Device: iPhone 11 and above
  5. Steps to reproduce: if user taps on logout and closes the app, then comes back to the app again.
  6. Actual behavior: Currently, when we logout a user using SDK’s methods, all his details are removed from the app and only way to login is by entering credentials into webview.
  7. Expected Behaviour: User should be able to see the screen with username/ID and authenticate using biometric to login back like many banking applications support this way of login. Screenshot attached
  8. Error Log:

    Please suggest if this feature exists in current version of SDK or it can be taken as future enhancement.

MicrosoftTeams-image (24)

bbirman commented 1 year ago

This is currently working as designed, thanks for the feedback for future enhancements!

wmathurin commented 1 year ago

The feature (soft logout / biometric authentication) is coming in our next version of Mobile SDK (11.0) scheduled for late spring or early summer. It's being currently implemented (see https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/3586).