I have a SwiftUI application with a SignInWithAppleButton. However when I press the button with the remote I don't get any callbacks in the blocks. There is no error in the console that I can find.
Should the button work on tvOS 14?
The code is simple:
import SwiftUI
import AuthenticationServices
struct SignInView: View {
var body: some View {
VStack(spacing: 40) {
Text("Welcome to My App")
.font(.system(size: 50.0, weight: .bold))
SignInWithAppleButton(.signIn) { request in
request.requestedScopes = [.fullName, .email]
} onCompletion: { result in
print(result)
}
.signInWithAppleButtonStyle(.whiteOutline)
.frame(width: 300, height: 50)
}
}
}