#[SOLVED] Create Phone Session API not available with AppWrite Cloud version

1 messages · Page 1 of 1 (latest)

tidal sable
#

Hi there!

I am trying to experiment with the Cloud version. I want to add the Phone auth feature to my Flutter app.

In Documentation under the heading of "Create Phone Session" , in example it shows that one should use an account.createPhoneSession method. But actually this method is not available on the Account() object. Only two methods available for creating user with phone related that is createPhoneToken() and createPhoneVerification().

No documentation available for above two methods. Can anyone help with the complete example on user auth with phone number using the above mentioned two methods?

Thanks

wraith lagoon
tidal sable
wraith lagoon
tidal sable
# wraith lagoon What page are you looking at?

The Account service allows you to authenticate and manage a user account. You can use the account service to update user information, retrieve the user sessions across different devices, and fetch the user security logs with his or her recent activity.

Register new user accounts with the [Create Account](/docs/references/cloud/client-web/accoun...

wraith lagoon
tidal sable
wraith lagoon
tidal sable
#

My end point is

https://cloud.appwrite.io/v1

How would I know which version I'm using. I am new to this. Please bear with me if my question is not logical. All I want is I want to figure out AppWrite Phone auth feature with Cloud

wraith lagoon
sweet scarab
#

bro he cooked me for the same reason. hes indian stevan

#

this might help: current appwrite v1.4.x ( appwrite v1.5.x isnt live yet ) and you may be using a sdk of v5.x . solution find a version of sdk thats compatible with appwrite v1.4.x

tidal sable
#

Yes my current cloud version is 1.4.13 and my SDK version is 12.0.1

sweet scarab
#

what language's sdk you re looking for?

tidal sable
#

Flutter Dart

sweet scarab
#

hold on let me figure it out for you.

#

use sdk v11.0.1

#

@wraith lagoon i learned it.

tidal sable
wraith lagoon
tidal sable
#

Just curious. Is there any way to keep SDK version 12.0.1 (latest) but change version of Server which is compatible

sweet scarab
ionic fox
#

@tidal sable I can mark this as solved, right?