FIrebase电话身份验证支持的国家/地区?

标签 firebase firebase-authentication twitter-digits

有人知道Firebase电话身份验证是否适用于印度电话号码吗?

我成功实现并使用了美国号码(+1xxxxxxxxxx),但是尝试使用印度电话号码时未收到文本。不确定是否无法正常工作,或者我丢失了某些东西。我以+91xxxxxxxxxx的形式发送。

Digits先前的博客讨论了采用美国与印度的分析增强功能,因此我认为印度是受支持的。

最佳答案

FAQ中,Firebase Phone Auth支持的国家/地区列表为:

Firebase Authentication supports phone number verification across the the world, but not all networks reliably deliver our verification messages. The following countries have good rates of delivery, and should be expected to work well for phone number sign in.


AD  Andorra
AE  United Arab Emirates
AF  Afghanistan
AG  Antigua and Barbuda
AL  Albania
AM  Armenia
AO  Angola
AR  Argentina
AS  American Samoa
AT  Austria
AU  Australia
AW  Aruba
BA  Bosnia and Herzegovina
BB  Barbados
BD  Bangladesh
BE  Belgium
BF  Burkina Faso
BG  Bulgaria
BJ  Benin
BM  Bermuda
BN  Brunei Darussalam
BO  Bolivia
BR  Brazil
BS  Bahamas
BT  Bhutan
BW  Botswana
BY  Belarus
BZ  Belize
CA  Canada
CD  Congo, (Kinshasa)
CF  Central African Republic
CG  Congo (Brazzaville)
CH  Switzerland
CI  Côte d'Ivoire
CK  Cook Islands
CL  Chile
CM  Cameroon
CO  Colombia
CR  Costa Rica
CV  Cape Verde
CW  Curaçao
CY  Cyprus
CZ  Czech Republic
DE  Germany
DJ  Djibouti
DK  Denmark
DM  Dominica
DO  Dominican Republic
DZ  Algeria
EC  Ecuador
EG  Egypt
ES  Spain
ET  Ethiopia
FI  Finland
FJ  Fiji
FK  Falkland Islands (Malvinas)
FM  Micronesia, Federated States of
FO  Faroe Islands
FR  France
GA  Gabon
GB  United Kingdom
GD  Grenada
GE  Georgia
GF  French Guiana
GG  Guernsey
GH  Ghana
GI  Gibraltar
GL  Greenland
GM  Gambia
GP  Guadeloupe
GQ  Equatorial Guinea
GR  Greece
GT  Guatemala
GY  Guyana
HK  Hong Kong, SAR China
HN  Honduras
HR  Croatia
HT  Haiti
HU  Hungary
ID  Indonesia
IE  Ireland
IL  Israel
IM  Isle of Man
IN  India
IQ  Iraq
IT  Italy
JE  Jersey
JM  Jamaica
JO  Jordan
JP  Japan
KE  Kenya
KG  Kyrgyzstan
KH  Cambodia
KM  Comoros
KN  Saint Kitts and Nevis
KR  Korea (South)
KW  Kuwait
KY  Cayman Islands
KZ  Kazakhstan
LA  Lao PDR
LB  Lebanon
LC  Saint Lucia
LI  Liechtenstein
LK  Sri Lanka
LS  Lesotho
LT  Lithuania
LU  Luxembourg
LV  Latvia
LY  Libya
MA  Morocco
MD  Moldova
ME  Montenegro
MF  Saint-Martin (French part)
MG  Madagascar
MK  Macedonia, Republic of
MM  Myanmar
MN  Mongolia
MO  Macao, SAR China
MS  Montserrat
MT  Malta
MU  Mauritius
MW  Malawi
MX  Mexico
MY  Malaysia
MZ  Mozambique
NA  Namibia
NC  New Caledonia
NE  Niger
NF  Norfolk Island
NG  Nigeria
NI  Nicaragua
NL  Netherlands
NO  Norway
NP  Nepal
NZ  New Zealand
OM  Oman
PA  Panama
PE  Peru
PG  Papua New Guinea
PH  Philippines
PK  Pakistan
PL  Poland
PM  Saint Pierre and Miquelon
PR  Puerto Rico
PS  Palestinian Territory
PT  Portugal
PY  Paraguay
QA  Qatar
RE  Réunion
RO  Romania
RS  Serbia
RU  Russian Federation
RW  Rwanda
SA  Saudi Arabia
SC  Seychelles
SD  Sudan
SE  Sweden
SG  Singapore
SH  Saint Helena
SI  Slovenia
SK  Slovakia
SL  Sierra Leone
SN  Senegal
SR  Suriname
ST  Sao Tome and Principe
SV  El Salvador
SY  Syrian Arab Republic (Syria)
SZ  Swaziland
TC  Turks and Caicos Islands
TG  Togo
TH  Thailand
TL  Timor-Leste
TM  Turkmenistan
TO  Tonga
TR  Turkey
TT  Trinidad and Tobago
TW  Taiwan, Republic of China
TZ  Tanzania, United Republic of
UA  Ukraine
UG  Uganda
US  United States of America
UY  Uruguay
UZ  Uzbekistan
VC  Saint Vincent and Grenadines
VE  Venezuela (Bolivarian Republic)
VG  British Virgin Islands
VI  Virgin Islands, US
VN  Viet Nam
WS  Samoa
YE  Yemen
YT  Mayotte
ZA  South Africa
ZM  Zambia
ZW  Zimbabwe

是的。印度应得到支持。但是请记住,并非所有网络都能可靠地传递Firebase验证消息。

关于FIrebase电话身份验证支持的国家/地区?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44274493/

相关文章:

ios - 我正在尝试创建自定义 firebase 数据库类,但不断出现错误

javascript - 如何使用 javaScript 在 Firebase 数据库中检索嵌套的子值?

java - 验证后 Fabric 数字在回调中崩溃

api - 验证 Fabric Digits 在服务器端返回 "Error 32 - Could not authenticate you."时提供的凭据

java - Firebase 云功能( strip : AddPaymentSource)

javascript - 如何将函数变成异步函数

firebase - 使用自定义声明导入 Firebase 用户

javascript - 来自 Google 身份验证提供程序的 Firebase photoURL 返回颜色反转的 jpg

android - 使用 Firebase Auth 进行身份验证时,短信验证码请求失败

ios - 从 AddressBook 中获取人数并将其与 Parse DB 进行比较