Preliminary Checks
Reproduction
https://github.com/2salted/WhatsLeft
Publishable key
pk_test_Z3VpZGVkLWJvYXItNC5jbGVyay5hY2NvdW50cy5kZXYk
Description
Steps to reproduce:
if you clone my gh repo its a whatsapp clone project
and if you run npm install
you should be able to run npx expo start (or preferably npx expo start --clear)
and then you should be met with the error after building if not go ahead and attempt a sign up and you should see those errors too
Actual behavior:
- I run npx expo start --clear (as per usual), I also run my backend but for this it doesnt matter
- I take my phone (IOS) and scan the qr code, the app builds and when it loads first its a blank screen and the error is the image below:

- then it took me 2 days to mess around for me to get rid of this error and it was to remove the token cache.(which isnt a fix but I just wanted to get the page to load)
- now after removing token cache the sign in and sign up pages load in which when I try to sign in it says "Not a valid base64 encoded string length" in my console log.
- so then i tried sign up which it then says: "shortMessage": "Session already exists",
"longMessage": "You're currently in single session mode. You can only be signed into one account at a time."
anyways it is safe to say clerk and expo-secure-store is completely broken in my app
Expected behavior:
the expected behavior is for the app to firstly load proprely and for when i either sign up or sign in it works just like when it was in expo sdk 50 (less than 2 days ago)
I wrote this really fast since I didn;t have to much time let me know if it makes sense and if its just my code or if clerk is actually broken on SDK 51
Environment
System:
OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (8) x64 AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 7.19 GB / 9.65 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.12.1 - ~/.nvm/versions/node/v20.12.1/bin/node
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.1/bin/npm
bun: 1.1.1 - ~/.bun/bin/bun
Browsers:
Brave Browser: 124.1.65.126
Chrome: 124.0.6367.118
npmPackages:
@babel/core: ^7.20.0 => 7.24.5
@clerk/clerk-expo: ^0.20.16 => 0.20.18
@expo/vector-icons: ^14.0.0 => 14.0.1
@react-navigation/native: ^6.0.2 => 6.1.17
@types/react: ~18.2.45 => 18.2.79
expo: ^50.0.17 => 50.0.17
expo-font: ~11.10.3 => 11.10.3
expo-image-picker: ~14.7.1 => 14.7.1
expo-linking: ~6.2.2 => 6.2.2
expo-router: ~3.4.10 => 3.4.10
expo-secure-store: ~12.8.1 => 12.8.1
expo-splash-screen: ~0.26.4 => 0.26.5
expo-status-bar: ~1.11.1 => 1.11.1
expo-system-ui: ^2.9.4 => 2.9.4
expo-web-browser: ~12.8.2 => 12.8.2
jest: ^29.2.1 => 29.7.0
jest-expo: ~50.0.4 => 50.0.4
nativewind: ^2.0.11 => 2.0.11
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.73.6 => 0.73.6
react-native-safe-area-context: 4.8.2 => 4.8.2
react-native-screens: ~3.29.0 => 3.29.0
react-native-web: ~0.19.6 => 0.19.11
react-test-renderer: 18.2.0 => 18.2.0
socket.io-client: ^4.7.5 => 4.7.5
tailwindcss: ^3.3.2 => 3.3.2
typescript: ^5.1.3 => 5.4.5
Preliminary Checks
Reproduction
https://github.com/2salted/WhatsLeft
Publishable key
pk_test_Z3VpZGVkLWJvYXItNC5jbGVyay5hY2NvdW50cy5kZXYk
Description
Steps to reproduce:
if you clone my gh repo its a whatsapp clone project
and if you run npm install
you should be able to run npx expo start (or preferably npx expo start --clear)
and then you should be met with the error after building if not go ahead and attempt a sign up and you should see those errors too
Actual behavior:
"longMessage": "You're currently in single session mode. You can only be signed into one account at a time."
anyways it is safe to say clerk and expo-secure-store is completely broken in my app
Expected behavior:
the expected behavior is for the app to firstly load proprely and for when i either sign up or sign in it works just like when it was in expo sdk 50 (less than 2 days ago)
I wrote this really fast since I didn;t have to much time let me know if it makes sense and if its just my code or if clerk is actually broken on SDK 51
Environment
System: OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish) CPU: (8) x64 AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx Memory: 7.19 GB / 9.65 GB Container: Yes Shell: 5.1.16 - /bin/bash Binaries: Node: 20.12.1 - ~/.nvm/versions/node/v20.12.1/bin/node npm: 10.5.0 - ~/.nvm/versions/node/v20.12.1/bin/npm bun: 1.1.1 - ~/.bun/bin/bun Browsers: Brave Browser: 124.1.65.126 Chrome: 124.0.6367.118 npmPackages: @babel/core: ^7.20.0 => 7.24.5 @clerk/clerk-expo: ^0.20.16 => 0.20.18 @expo/vector-icons: ^14.0.0 => 14.0.1 @react-navigation/native: ^6.0.2 => 6.1.17 @types/react: ~18.2.45 => 18.2.79 expo: ^50.0.17 => 50.0.17 expo-font: ~11.10.3 => 11.10.3 expo-image-picker: ~14.7.1 => 14.7.1 expo-linking: ~6.2.2 => 6.2.2 expo-router: ~3.4.10 => 3.4.10 expo-secure-store: ~12.8.1 => 12.8.1 expo-splash-screen: ~0.26.4 => 0.26.5 expo-status-bar: ~1.11.1 => 1.11.1 expo-system-ui: ^2.9.4 => 2.9.4 expo-web-browser: ~12.8.2 => 12.8.2 jest: ^29.2.1 => 29.7.0 jest-expo: ~50.0.4 => 50.0.4 nativewind: ^2.0.11 => 2.0.11 react: 18.2.0 => 18.2.0 react-dom: 18.2.0 => 18.2.0 react-native: 0.73.6 => 0.73.6 react-native-safe-area-context: 4.8.2 => 4.8.2 react-native-screens: ~3.29.0 => 3.29.0 react-native-web: ~0.19.6 => 0.19.11 react-test-renderer: 18.2.0 => 18.2.0 socket.io-client: ^4.7.5 => 4.7.5 tailwindcss: ^3.3.2 => 3.3.2 typescript: ^5.1.3 => 5.4.5