-
Notifications
You must be signed in to change notification settings - Fork 62
Description
I'm experiencing the exact same inconsistent logout behavior described in this issue with Salesforce Mobile SDK v13.1.0 for React Native (TypeScript template).
Environment Details:
SDK Version: 13.1.0
React Native: TypeScript template
Platforms: iOS & Android
Confirming the Reported Behavior:
iOS Issue (Production):
oauth.logout() successfully clears session tokens internally
But: No redirect occurs to the experience site login screen
Result: Users remain stranded on post-login React Native views without visible login prompts
Impact: Broken logout flow in production - users cannot re-authenticate without force-closing and reopening the app
Android Issue (Production):
oauth.logout() causes the app to minimize to home screen and relaunch
Result: Disruptive user experience that feels like a crash/restart
Impact: Poor UX that interrupts application flow and confuses end users
Expected Behavior:
iOS: Seamless redirect to experience site login screen after logout
Android: Smooth transition to login without app restart/minimization
Both: Consistent behavior across platforms
This issue is blocking our production deployment as logout functionality is critical for multi-user scenarios and security compliance.