forcedotcom/SalesforceMobileSDK-ReactNative

After upgrading to salesforcesdk version from 10.2.0 to 12.0.1 i am facing a App crash in ios

Opened this issue · 1 comments

Recently I upgraded my salesforce sdk version to 12.0.1 and also upgraded my react native version to 0.73.6, Once after the upgrade when we try to login with username and password its allowing me to go to next screen but inside the app when we try to relogin to login page after giving the credentials if we move further then app is getting crashed.

Its happening with IOS only for android everything working fine

Our App login page is created by salesforce only.Here are the attachments for your reference.
Screenshot 2024-10-17 at 5 41 11 PM
Screenshot 2024-10-17 at 5 41 25 PM

Can you check if your connected app is configured correctly?

Starting with Mobile SDK 11, web server flow is now the default authentication flow.
But for it to work, your connected application must be configured NOT to require secret for web server flow. If changing the connected app is not an option, you can opt out for user agent flow in your application.

For more information see https://developer.salesforce.com/docs/platform/mobile-sdk/guide/oauth-web-server-flow.html