Flutter - flutter_facebook_login登录插件替代方法

使用下面网址提出的替代方法

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 后解决

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容