要在我的博览会应用程序上设置我的苹果身份验证,我已按照以下步骤操作:
expo-apple-authentication
"plugins": [
"expo-router",
"expo-apple-authentication",
"ios": {
"usesAppleSignIn": true,
<AppleAuthentication.AppleAuthenticationButton
onPress={async () => {
try {
const credential = await AppleAuthentication.signInAsync({
requestedScopes: [
AppleAuthentication.AppleAuthenticationScope.FULL_NAME,
AppleAuthentication.AppleAuthenticationScope.EMAIL,
],
});
当我按下此按钮时,它会在我的设备上导致错误,当我记录错误时,这就是我得到的:
[Error: The authorization attempt failed for an unknown reason]
这是什么原因呢?这在实际应用中有效吗?
我也遇到了同样的问题,请问你解决了吗?