https://supertokens.com/ logo
s

sheyzi_silver

06/10/2022, 9:54 AM
What is the recommended way for using supertokens in flutter... Since the flutter SDK is deprecated
n

nkshah2

06/10/2022, 9:56 AM
Hi @sheyzi_silver
We are working on updating the flutter SDK and have deprecated it in the meantime
s

sheyzi_silver

06/10/2022, 9:57 AM
Hello @nkshah2
n

nkshah2

06/10/2022, 9:57 AM
What networking library are you using?
s

sheyzi_silver

06/10/2022, 9:58 AM
Ooooh.... I'm using
Dio
n

nkshah2

06/10/2022, 9:59 AM
Right, so at the moment you would have to make the API calls manually and handle automatic session refreshing
s

sheyzi_silver

06/10/2022, 9:59 AM
Okay... And another question
n

nkshah2

06/10/2022, 10:00 AM
s

sheyzi_silver

06/10/2022, 10:00 AM
After I have implemented the backend how they said I should in the documentation... I don't have to implement the routes myself again???
n

nkshah2

06/10/2022, 10:01 AM
It uses JWTs instead of relying on the frontend SDK and is an easier way than making manual calls
That is correct, the API routes are added for you
s

sheyzi_silver

06/10/2022, 10:01 AM
Ooooh nice
Great... I was kind of confused
Thanks for helping me out👍
n

nkshah2

06/10/2022, 10:02 AM
Happy to help, feel free to ask questions here if you need more help
s

sheyzi_silver

06/10/2022, 10:03 AM
I don't need to do any extra thing in the backend if I'm to use the JWTs instead right??
n

nkshah2

06/10/2022, 10:04 AM
What recipe are you using?
s

sheyzi_silver

06/10/2022, 10:04 AM
Email + Password + Social Login
Python FastAPI
That plus the example app should help
s

sheyzi_silver

06/10/2022, 10:05 AM
Okay thank you... Another one!! Sorry for disturbing
Is supertokens backward compatible??
I'm talking about supertokens core
So if I self host it and a new version comes up... I can update and all works well still
n

nkshah2

06/10/2022, 10:08 AM
So we use normal semantic versioning, as long as you use the same version series you should be fine. Even breaking changes should be relatively straight forward for migration purposes. One thing is that we do have a mapping of what API interfaces a given version of core/sdk supports. You can find the full mapping here: https://supertokens.com/docs/thirdpartyemailpassword/compatibility-table
You can select the backend SDK (and any frontend since it doesnt matter in your case)
And find the version of backend/core to use given your setup
Also, no problem at all. Questions are welcome
s

sheyzi_silver

06/10/2022, 10:10 AM
Ooooh alright... Thank you
I think that will be all for now