forcedotcom / SalesforceMobileSDK-CordovaPlugin

Cordova plugin for the Salesforce Mobile SDK
Other
48 stars 114 forks source link

Android App crashes when sessions timeout #628

Closed ftcaeappno closed 2 months ago

ftcaeappno commented 6 months ago

When the user keep the app open and stops interacting with it for 15 minutes (on salesforce session timeout is set to 15 mins), the user is automatically logged out and user is redirected to login page. iOS app works as expected. However, on Android, the app crashes.

Steps to reproduce:

Device:

Android Logcat Logs attached logcat.txt

Please let me know if you need any more details.

wmathurin commented 6 months ago

Is it an hybrid remote or an hybrid local application?

sinothomasAppno commented 6 months ago

It's an hybrid local app.

ftcaeappno commented 5 months ago

Hi @wmathurin do you have any news over this topic?

wmathurin commented 5 months ago

What version of Mobile SDK are you using? We fixed a bug around "session rehydration" in 11.1 (see https://github.com/forcedotcom/SalesforceMobileSDK-Android/pull/2483).

sinothomasAppno commented 5 months ago

We are using salesforce-mobilesdk-cordova-plugin: 11.0.0

wmathurin commented 5 months ago

Could you try with 11.1 ?

wmathurin commented 2 months ago

Closing for lack of response to our last question.