Hi, I can’t figure out why Supertokens.doesSession...
# support-questions-legacy
b
Hi, I can’t figure out why Supertokens.doesSessionExists returns false in my react-native implementation. What is the condition for it to be true ? Is there something I must save in my localStorage ?
n
Hi @binouse, Can you share your setup code?
b
What do you mean by setup code ? in my RN app ?
n
Yep, the code you use to initialise SuperTokens
b
Copy code
javascript
Supertokens.init({
  apiDomain: `${API_HOST}`,
});
n
Are you using fetch to make network requests?
or axios
b
node-fetch
n
Can you try using the built in
fetch
that react native provides and see if the issue still persists?
b
Yes, I'll do that
Okay, it was the problem, thanks 🙏
n
Happy to help
4 Views