pscsrv / cordova-plugin-apple-login

MIT License
20 stars 7 forks source link

signinwithapple.isavailable not working #2

Open meghanadixit1 opened 4 years ago

meghanadixit1 commented 4 years ago

Hi there, In my case, isAvaiable() methos does not gets called at all. I have kept a button click event and in that I am calling signinwithapple.isavailable(). But nothing happens on the click of the button. Neither error or success.

My configuration- Xcode - 10.1 iPhone Devices used for testing - iPhone s( ios 12.1) and iPhone XS max (iOS 13.3)

Are there any min configuration requirements?

kszczygiel commented 4 years ago

You should add this to your service/page:

declare var SignInWithApple: any;