
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
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
