Back

Create Phone Session API not available with AppWrite Cloud version

  • 0
  • Auth
  • Flutter
amit1172
30 Mar, 2024, 15:06

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

TL;DR
Developers trying to use the Create Phone Session API in AppWrite Cloud version but not finding it in the SDK. Check the readme for the SDK version installed for info on Flutter package. Additionally, refer to the documentation on AppWrite's website for guidance on using the API.
Steven
30 Mar, 2024, 16:05

What page are you looking at?

Steven
30 Mar, 2024, 16:49

Oh wait... Look at the readme for the SDK version you have installed

Steven
30 Mar, 2024, 17:00

No for the SDK. How do you look at info about a flutter package?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more