I am trying to write a code to send the verification code to SMS using Firebase Phone Auth . but i got this error message : E/FirebaseAuth(23757): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17093 null error img error img my code
void phoneAuth() async {
await FirebaseAuth.instance.verifyPhoneNumber(
phoneNumber: "+966534341376",
verificationCompleted: verificationComplete,
verificationFailed: (FirebaseAuthException e) {
if (e.code == 'invalid-phone-number') {
print("the phone number not valid");
} else {
print(e);
}
},
codeSent: (String verificationId, int? resendToken)
async {
},
timeout: const Duration(seconds: 60),
codeAutoRetrievalTimeout: (String verificationId) {},
);
}
img of function function code img
here button calld function
MaterialButton(
padding: EdgeInsets.symmetric(
horizontal:
smolewidt ? width * 0.12 : width * 0.28,vertical: 8),
shape: RoundedRectangleBorder(borderRadius: n
BorderRadius.circular(15.0),
side: BorderSide(color: Colors.white)),
color: sharedPref.getBool("mode") ?? "" == true
? redColor.primaryColor
: redColor.primaryColor,
onPressed: () async {
phoneAuth();
},
child: Text("تسجيل جديد",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 19,
fontFamily: "NotoKufiArabic"))),