siddharthOriginal post
Web Developer
'''
Future login(phoneNumber) async => await account.createPhoneToken(
userId: phoneNumber, phone: '+91$phoneNumber');
Future verifyotp(String phoneNumber, String secret) async =>
await account.updatePhoneSession(userId: phoneNumber, secret: secret);
'''
Summary
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.