Back

phone number authtication working in web but not working android keep await not showing any more err

  • 0
  • Android
  • Flutter
  • Web
  • Auth
siddharth
19 Jun, 2024, 02:31

''' Future<Token> login(phoneNumber) async => await account.createPhoneToken( userId: phoneNumber, phone: '+91$phoneNumber');

Future<Session> verifyotp(String phoneNumber, String secret) async => await account.updatePhoneSession(userId: phoneNumber, secret: secret); '''

TL;DR
Phone number authentication works fine on web but not on Android. The developers are experiencing an issue with the await command showing an error. Solution: Check for any errors or missing configurations specific to Android development that could be causing the await command to fail.
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