Skip to content

Error: AppleAuth is not supported on the device. #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dawntommm opened this issue Jan 10, 2021 · 5 comments
Closed

Error: AppleAuth is not supported on the device. #185

dawntommm opened this issue Jan 10, 2021 · 5 comments

Comments

@dawntommm
Copy link

dawntommm commented Jan 10, 2021

Getting error saying
Error: AppleAuth is not supported on the device. Currently Apple Authentication works on iOS devices running iOS 13 or later. Use 'AppleAuth.isSupported' to check device is supported before calling any of the module methods.
I am running expo react native app on Xcode, with my iPhone 11 on iOS 14.3
I believe it should be supported, is there any reason why that happens?

@mikehardy
Copy link
Collaborator

No reason that should happen.
Have you reproduced with the example app?

@dawntommm
Copy link
Author

dawntommm commented Jan 10, 2021

Please close this, this is my bad.
I forgot to pod install.
After pod install everything works fine
However the error message is confusing, I would expect something like 'You forgot to install the library'

@mikehardy
Copy link
Collaborator

That is a terrible user experience - sorry for that. Sure you have to remember to pod install but Pods can be missing for any number of reasons besides just plain forgetting (which is also common) and an error message that is more specific would be nice. I tagged you on an issue we have open that is related, FWIW. Good luck with your project

@MilosR
Copy link

MilosR commented Apr 20, 2021

Same case here, however I didn't get any message, pop-up is not sowing and AppleAuth.isSupported was false. (iPhone8 - Simulator). Forgot to do pod install

@zoobibackups
Copy link

I have two time done pod install but the console.log(appleAuth.isSupported); is always false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants