im trying to implement supertokens to react native
# support-questions-legacy
f
im trying to implement supertokens to react native
r
hey!
let's talk here
@fayzul_
f
hey rp
thanks so much
r
whats the error?
f
input.trim(); is undefined
it came from the normalisedURLdomain.js file
peep this
r
hmm
f
r
what's the value you are providing to it?
i mean what code of yours is causing this issue?
f
i dont think any code from my side is
on the stack trace it just shows me that it is undefined
r
can i see the supertokens.init call you are doing?
f
ok
r
ah i see that is incorrect
it should be like:
Copy code
SuperTokens.init({
    apiDomain: "...",
    apiBasePath: "/auth"
});
No need for
appInfo
f
🥳
i’ll check
oh rp…
remember i had problems downloading the core with docker?
i found out how to do it
i can make a threa for anyone with something similar
r
We are already in the process of writing a blog post about how to setup supertokens with docker in all the scenarios.. so i think that should cover it 🙂
f
that’s nice ig
good for yall
it worked btw