forcedotcom / SalesforceMobileSDK-ReactNative

BSD 3-Clause "New" or "Revised" License
49 stars 54 forks source link

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

Open Ravindra-git890 opened 2 weeks ago

Ravindra-git890 commented 2 weeks ago

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
wmathurin commented 1 week ago

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