[英]Flutter: how do I get Apple credential to link an apple account to an account on my firebase app?
[英]Stuck on Flutter Apple Login credential process
我正在尝试通过我的 flutter firebase 应用程序实现苹果登录。 我已经完成了苹果登录的所有流程,例如苹果应用程序 ID 注册、服务 ID 注册、ios 设置和 firebase 托管。
所以我在我的应用程序中使用了 sign_in_with_apple: ^4.1.0。 但是,如果我在我的 ios 模拟器(iPhone 11(ios 15.5))上运行代码。 它只是停留在登录状态,并且与我上传的图片一样没有任何变化
如果我运行下面的代码,flutter 系统只打印 '1' 并且没有错误消息或任何结果出来。
print(1);
final credential = await SignInWithApple.getAppleIDCredential(
scopes: [
AppleIDAuthorizationScopes.email,
AppleIDAuthorizationScopes.fullName,
],
);
print(2);
问题解决了我通过使用ios 13模拟器设备解决了这个问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.