使用下面网址提出的替代方法
https://medium.com/@karlwhiteprivate/flutter-facebook-sign-in-with-firebase-in-2020-66556a8c3586
接入后遇到以下的问题:
1. Flutter 接入firebase_auth 后安卓build运行闪退
AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
java.lang.AbstractMethodError: abstract method "com.google.android.gms.common.api.Api$Client com.google.android.gms.common.api.Api$AbstractClientBuilder.buildClient(android.content.Context, android.os.Looper, com.google.android.gms.common.internal.ClientSettings, java.lang.Object, com.google.android.gms.common.api.GoogleApiClient$ConnectionCallbacks, com.google.android.gms.common.api.GoogleApiClient$OnConnectionFailedListener)"
参考https://blog.csdn.net/u010127332/article/details/88170812,解决冲突
在iOS上集成报错GoogleUtilities/GULAppEnvironmentUtil.h' file not found, build failing in iOS
flutter clean
pod install
pod update 后解决
网友评论