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_st
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.