[Expo] Fail in useSession due to invalid SecureStore cookie

In expo development build and expo go, when i use ios for testing google sso, better auth successfully saved a cookie inside SecureStore, but the format is like this:
{"null":{"value":"","expires":null},"etigo.state":{"value":"i_BhlUCZY-M3ol74KfE_zxZiqfCv-11s.l%2FM%2BJlmkYs4D1THnd41a%2Fu5B5wOjhvDhUulGEBrCDVI%3D","expires":"2025-12-20T10:09:37.426Z"}}

I am not sure if it is because of invalid cookie format or something else, eventually it will always get NULL from authClient.useSession.

For expo web, it works with no issues.
Was this page helpful?