Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile App Crash on KeyChainHelper Class - Salesforce Hybrid Remote SDK v12.0.1 #3749

Open
VenkataramanK opened this issue Aug 5, 2024 · 2 comments

Comments

@VenkataramanK
Copy link

VenkataramanK commented Aug 5, 2024

Please fill out the following details:

  1. Version of Mobile SDK Used: v11.1.0 & v12.0.1
  2. Issue found in Native App or Hybrid App: Hybrid (Remote)
  3. OS Version: 17.4.1(iOS) & 17.5.1(iOS) & Multiple OS Versions
  4. Device: iPad14, 6 & iPad8, 12 & Multiple Other Device models
  5. Steps to reproduce: Clicking icon of the application, app crashes
  6. Actual behavior: Clicking icon of the application, displays iPad's lock screen. On entering ping app got crashed.
  7. Expected Behavior: Clicking icon of the application, displaying home screen after biometric authentication
  8. Error Log: Attached Crash Logs from multiple Mobile SDK [Versions 11.1.0 & 12.0.1]
    Crashlog_V11.1.0.docx
    Crashlog_V12.0.1.docx
MicrosoftTeams-video.mp4

Already raised this issue with v11.1.0 & it's happening in v12.0.1 as well. Previously raised issue url is given below.
Existing Issue: https://github.com/forcedotcom/SalesforceMobileSDK-iOS/issues/3714

Additionally, we noted a method [[SFScreenLockManagerInternal shared] checkForScreenLockUsers] called after [SFSDKSalesforceSDKUpgradeManager upgrade]. Whether the iPad lock screen shows because of this implementation?

@bbirman
Copy link
Member

bbirman commented Aug 6, 2024

@VenkataramanK does your app store anything in the keychain outside of what Mobile SDK automatically does? And if so what access control is set for them? Also, do you happen to have any device/console logs aside from the crash log?

@VenkataramanK
Copy link
Author

VenkataramanK commented Aug 6, 2024

@bbirman : Thanks for your attention!!!

We don't have any requirement to store in keychain from application aspect. Only SDK based keychain is live. Also, it's only happening in Production environment for significant number of people. we can't reproduce this crash in our lower environments.

Note:

  1. Previously our app used Salesforce Hybrid SDK V9.1, later we moved to V11.1 & V12.0.1. We suspect any Keychain values mismatch may cause this issue.
  2. Our application is Enterprise app can be downloaded from our internal Appstore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants