showmoreOriginal post
Rank 2: Process
Hello beautiful people!
It’s been a while — I retired at 27, but now I’m back! 😊
I’m running into an issue with Appwrite in Flutter. I used an older version before, but today I updated to:
YAML
appwrite: ^20.0.0Here’s the problem:
When I call:
Dart
await account.createPhoneToken()I get an error saying “email required”, even though we know that creating a phone token shouldn’t require an email. Why is this happening?
Also, updatePhoneSession seems to be deprecated.
What’s the recommended replacement for it in the latest version?
Any help would be appreciated!
Summary
- Developer faces error with `createPhoneToken()` method in Appwrite Flutter after updating to version 20.0.0.
- Error states "email required" even though phone token creation shouldn't need an email.
- Also looking for replacement for deprecated `updatePhoneSession` method.
- Any guidance on resolving these issues is welcome!