
I have internet permission, I'm not getting any messages on my phone
bool result = await InternetConnectionChecker().hasConnection;
if (result == true) {
print('Internet');
} else {
print('No internet :frowning: Reason:');
print(InternetConnectionChecker().hasConnection);
}
Client client = Client();
client.setEndpoint('https://cloud.appwrite.io/v1').setProject('64ef18ed8758c1e4c074').setSelfSigned(status: true);
final account = Account(client);
final session = await account.createPhoneSession(userId: '905363890562', phone: '+905363890562');
print(session);
} on AppwriteException catch (ex) {
print(ex.message);
}```

FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.

it's expected for secret to be empty after making the api call. The secret will come in the SMS

why i dont receive any SMS

incorrect phone number?

no my number is correct +90 536 389 05 62, can it be caused by the clock, expiry date is in the past

nope. i can see we tried to send the SMS, but it was undelivered by the carrier network.
usually this is a problem with handset off, no signal, device can't receive SMS, problem with mobile carrier

maybe your carrier is blocking/filtering the SMS? btw, the SMS should be coming from a US number

i can receive message in turkey, Does the phone have to be open abroad?

i will ask my phone carrier tomorrow, thank you so much

like i said, the SMS will be coming from a US phone number, so you'll need to be able to receive SMS from US phone numbers

I understand, thank you very much for your help.
Recommended threads
- OAuth fails with Invalid Response or inv...
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it...
- Document Data is null.
I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot) The permission I have ar...
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
