Hello support. I'm tryng to setup the front end sd...
# support-questions-legacy
a
Hello support. I'm tryng to setup the front end sdk for react native on a expo project with react native web. When i try to use the init function. it says that the domain name is invalid but am pretty sure it is and have tested with postman. is there something that im missing or it could be something about the expo and react native web itself that are not compatible. I also tried the web version on it and it seem like it worked. but i dont know if that will be able to work on the andoid and ios side of the app. Ty for you help and if there anything else you need im glad to provide it
r
Hey @alejanky our react native SDK doesn’t yet support web. You can open an issue about this to keep track of when we solve the issue
a
hey me again, i think i made it work? hahahah so basically what i did was, i installed the super tokens front end web js version and the react native one in the same project and used the platform.os to call the different librarys based on the where it app is running and i was able to sign up with the backend runnning the sdk express supertokens .
just to be sure, i saw that both got the 200 ok response and in the case of the web, it redirected me to homepage and in the reac native one running on android i used the library axios to make the curl call with json and the appropriated headers, and also got the 200 response , so my question is , why when i use mysql workbench to check the users in table emailpasswrord , the 2 users one on web and another in react , (dirrent email and password) i see the table empty, is it now working correctly? although i do see entrys on the session tokens table if i dont remember incorrectly the table name so i do see some change. just want to clarify. Thaks for al the help and your time . and for this encredible library
r
I’m not quite sure what you are doing here. And I don’t know how you have two users with one sign up call. Maybe you are calling the sign up api twice?
n
Hey @alejanky Can you check in the all auth users table to see if the users show up there?
Also like rp mentioned the react native SDK itself doesnt support web yet but we are working on having web-js integrated into the react native sdk. In the meantime im glad you got it working by selectively using the web sdk
a
sorry for the delay, once i sign up 1 user on web and 1 on Ios with each different email and password, the only tables with data are the : apps jwt_signinkeys key_value session_access_token_signing_keys Tenants but nothing on all_auth_recipe_users and neither on emailpassword_users wich is the recipe of supertokens backend that im using.
r
That’s really strange. Maybe you restarted the core and after restart you are using in memory db?
a
im not shure, it could be. im using docker compose and i makea mysql container and a supertokens heres my setup and the logs of the supertokens container
r
so it is connecting to the mysql db
maybe you are inspecting the wrong db? Not sure..
24 Views