使用Flutter进行Firebase电话身份验证

时间:2020-02-27 14:53:38

标签: android xcode firebase flutter firebase-authentication

您好,我是flutter的新用户,并尝试通过flutter使用Firebase电话身份验证。但是,当我尝试按下按钮时,出现以下错误。 我正在使用AndroidStudio。

<elem>
    <sub_elem name="first">
    <sub_elem name="second">
</elem>

这是我的代码。请有人帮我

Xcode build done.                                           21.5s
    path: satisfied (Path is satisfied), interface: en0
Configuring the default Firebase app...
Configured the default Firebase app __FIRAPP_DEFAULT.
    path: satisfied (Path is satisfied), interface: en0
Syncing files to device iPhone 11 Pro Max...
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff23c7127e __exceptionPreprocess + 350
    1   libobjc.A.dylib                     0x00007fff513fbb20 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff23c710bc +[NSException raise:format:] + 188
    3   Runner                              0x0000000103e97d81 -[FIRPhoneAuthProvider verifyPhoneNumber:UIDelegate:completion:] + 193
    4   Runner                              0x000000010440dc3d -[FLTFirebaseAuthPlugin handleMethodCall:result:] + 18109
    5   Flutter                             0x000000010600ddb5 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104
    6   Flutter                             0x0000000105fa1ba0 _ZNK7flutter21PlatformMessageRouter21HandlePlatf<…>
Lost connection to device.

我感觉到我安装的颤振有问题。 我也尝试在我的真实手机上运行,​​但也崩溃了。

0 个答案:

没有答案