https://supertokens.com/ logo
#general
Title
# general
s

shorthair_[]

05/17/2022, 7:10 PM
anyone know to switch on email verification on react native?
n

nkshah2

05/18/2022, 3:02 AM
Hi, For react native you need to call the APIs exposed by the backend SDK manually. You can refer to the API spec here: https://supertokens.com/docs/fdi
r

rp

05/18/2022, 4:34 AM
So on each protected route, you can query the backend to know if the email is verified or not. If it isn't you can redirect the user to a screen to ask them to verify their email.
s

shorthair_[]

05/18/2022, 4:48 PM
🙏🏾
2 Views