首页 > 解决方案 > FirebaseAuthentication.net 在 Xamarin IOS 上挂起 UI

问题描述

我正在为我的 xamarin.forms 项目使用 FirebaseAuthentication.net 库。它适用于 android,但在 IOS 上,它在创建 FirebaseAuthProvider 时会挂起 UI。具体来说

FirebaseAuthProvider auth = new FirebaseAuthProvider(new FirebaseConfig(Helpers.ApiKeys.firebaseApiKey)); 

此代码段挂起应用程序,并且 xamarin.ios 无法创建 FirebaseConfig 对象。我重新安装了库几次,但没有任何改变。

标签: firebasexamarin.formsxamarin.iosfirebase-authentication

解决方案


推荐阅读