aboutyou/dart_packages

Sign in fails if no Apple account in device

AbdulazizAlnahhas opened this issue · 1 comments

Hi

I am facing an issue when trying to sign in for new device that no longer have apple account on it, the package opens the dialog that show me "go to Setting and set your account" and if i open the setting then have an error
"Sign in with Apple errored: Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000 "(null)""

however if there is an apple account in device this issue doesn't appear and everything is ok

I am using ios 17.2 0n ipad simulator

any ideas?

you can handle this error and write a message to the user that he needs to login to apple account on device firstly