相关疑难解决方法(0)

Firebase(电话身份验证)获取 iOS 错误:注册自定义 URL 方案

我的 Flutter 应用程序使用 Firebase Auth(电话)。我一直看到错误:'Please register custom URL scheme 'com.googleusercontent.apps.602546125958-5lk04ghhdfj5xxxxxxxx'

我已将 URL 架构添加到 info.plist 中,如下所示,但我遇到了同样的错误。

在此处输入图片说明

2020-04-29 20:40:05.173962-0400 Runner[395:20944] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Please register custom URL scheme 'com.googleusercontent.apps.602546125958-5lk04ghhdfj5xxxxxxxx' in the app's Info.plist file.'
*** First throw call stack:
(0x1889035f0 0x188625bcc 0x1887f9b28 0x10086cfa8 0x100f056a0 0x102efb3b0 0x102e921bc 0x102eeb9cc 0x102ea2a68 0x102ea4dcc 0x1888821c0 0x188881edc 0x1888815b8 0x18887c5c8 0x18887bc34 0x1929c538c 0x18c9ae22c 0x10082addc 0x188703800)
libc++abi.dylib: terminating with uncaught exception of type NSException
Run Code Online (Sandbox Code Playgroud)

ios firebase firebase-authentication flutter

19
推荐指数
5
解决办法
1万
查看次数

标签 统计

firebase ×1

firebase-authentication ×1

flutter ×1

ios ×1