Skip to content
Back

Random Session Clearing from Client EXPO 54

  • 0
  • React Native
  • Cloud
Sommm
24 Sep, 2025, 20:55

I was using the react native appwrite SDK

Expo SDK 54

react-native-appwrite version 0.13.0

I can login just fine, and browse the application which calls a function for different pages. The function is restricted to only users.

While using the app the session in my app gets cleared for some reason. My app is supposed to redirect user back to the signin page if no session is found, I haven't checked if that check is working while the user is actively in protected routes or not so am not sure if the session actually gets cleared in the current state.

However, if I close the app and reopen it, I am back in the login screen.

This is the case for Google auth as well as email and password.

I haven't checked others.

This happens randomly. But I just recreated a definite way to do this. That happens when I open a page with a webview. Implemented with react native webview. That particular page has nothing to do with appwrite functions and all.

Is there any problem in Expo 54?

TL;DR
Developers are facing random session clearing issues in their React Native app using Expo SDK 54 and react-native-appwrite version 0.13.0. The session gets cleared when opening a page with a webview, implemented with React Native webview. To investigate further, a reproduction is needed.
Sommm
24 Sep, 2025, 20:56

I am currently unable to provide a reproduction as it's 2.30 am here. Will definitely provide one by morning

Sommm
24 Sep, 2025, 20:57

One more thing, the session is still active in the console.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more