What is the recommended way for using supertokens in flutter... Since the flutter SDK is deprecated
s
What is the recommended way for using supertokens in flutter... Since the flutter SDK is deprecated
n
Hi @sheyzi_einstein
We are working on updating the flutter SDK and have deprecated it in the meantime
s
Hello @nkshah2
n
What networking library are you using?
s
Ooooh.... I'm using
Dio
n
Right, so at the moment you would have to make the API calls manually and handle automatic session refreshing
s
Okay... And another question
n
s
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
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
Ooooh nice
Great... I was kind of confused
Thanks for helping me out👍
n
Happy to help, feel free to ask questions here if you need more help
s
I don't need to do any extra thing in the backend if I'm to use the JWTs instead right??
n
What recipe are you using?
s
Email + Password + Social Login
Python FastAPI
That plus the example app should help
s
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
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
Ooooh alright... Thank you
I think that will be all for now
9 Views