im trying to implement supertokens to react native
# support-questions
s
im trying to implement supertokens to react native
r
hey!
let's talk here
@shorthair_[]
s
hey rp
thanks so much
r
whats the error?
s
input.trim(); is undefined
it came from the normalisedURLdomain.js file
peep this
r
hmm
what's the value you are providing to it?
i mean what code of yours is causing this issue?
s
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?
s
ok
r
ah i see that is incorrect
it should be like:
Copy code
SuperTokens.init({
    apiDomain: "...",
    apiBasePath: "/auth"
});
No need for
appInfo
s
🥳
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 🙂
s
that’s nice ig
good for yall
it worked btw