https://supertokens.com/ logo
#support-questions
Title
# support-questions
s

shorthair_[]

05/09/2022, 5:33 PM
im trying to implement supertokens to react native
r

rp

05/09/2022, 5:36 PM
hey!
let's talk here
@shorthair_[]
s

shorthair_[]

05/09/2022, 5:36 PM
hey rp
thanks so much
r

rp

05/09/2022, 5:36 PM
whats the error?
s

shorthair_[]

05/09/2022, 5:37 PM
input.trim(); is undefined
it came from the normalisedURLdomain.js file
peep this
r

rp

05/09/2022, 5:38 PM
hmm
what's the value you are providing to it?
i mean what code of yours is causing this issue?
s

shorthair_[]

05/09/2022, 5:39 PM
i dont think any code from my side is
on the stack trace it just shows me that it is undefined
r

rp

05/09/2022, 5:40 PM
can i see the supertokens.init call you are doing?
s

shorthair_[]

05/09/2022, 5:40 PM
ok
r

rp

05/09/2022, 5:41 PM
ah i see that is incorrect
it should be like:
Copy code
SuperTokens.init({
    apiDomain: "...",
    apiBasePath: "/auth"
});
No need for
appInfo
s

shorthair_[]

05/09/2022, 5:49 PM
🥳
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

rp

05/09/2022, 5:51 PM
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

shorthair_[]

05/09/2022, 6:11 PM
that’s nice ig
good for yall
it worked btw