forcedotcom / SalesforceMobileSDK-Android

Android SDK for Salesforce
Other
341 stars 386 forks source link

Soft logout feature in Salesforce mobile SDK #2374

Closed sidrabasit closed 1 year ago

sidrabasit commented 1 year ago

Please fill out the following details:

  1. Version of Mobile SDK Used: 9.0.0
  2. Issue found in Native App or Hybrid App: Native
  3. OS Version: Android 13
  4. Device: Samsung Galaxy Note 20
  5. Steps to reproduce:
  6. Login to the application
  7. Enables biometric unlock
  8. Logout of the application
  9. Click on the Login button again
  10. The user has to enter the user name and password again
  11. 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.
  12. Expected Behavior: 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
  13. Error Log: Screenshot_20221223_145340
bbirman commented 1 year ago

This is currently working as designed, appreciate 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 already implemented in dev (see https://github.com/forcedotcom/SalesforceMobileSDK-Android/pull/2394).