React-native-apple-authentication: "RNAppleAuthButtonViewManagerWhiteSignIn" was not found in the UIManager.

Created on 2 Jan 2020  路  12Comments  路  Source: invertase/react-native-apple-authentication

No template

Most helpful comment

suspect odd caching, propose npx react-native-clean-project clean-project-auto && yarn && cd ios && pod install and a rebuild

All 12 comments

Imagine you wanted to troubleshoot this issue. What sort of information would you need? Versions of things in use (library, build toolchain, mobile device)? Example code?

cd ios && pod install

Also, the button didn't show until I applied the 'appleButton' styling as per the example

If there is anything missing in the docs 馃檹 a PR would be great

@vevnkataSukumar I have just got the same issue, the problem for me was, that i tried to show an apple login within a Android phone, if that is the same case for you, use the react-native Platform.OS==='ios' to detect if phone is ios.

And show the Apple login button like this.
{Platform.OS === 'ios' && <AppleLogin />}

That's not good enough actually, as it won't work on iOS12 either, and one of the button types (sign up) won't work until 13.2 or later

You want to use these: https://github.com/invertase/react-native-apple-authentication/blob/master/docs/interfaces/_lib_index_d_.rnappleauth.module.md#properties-1

iOS 13 Xcode 11.2
Library is working fine and I was even able to signin using Apple on one of my app, but it shows the Same error when I tried using the same working code on my 2nd application.

I haven鈥檛 switched any device, even the RN and library version are same

suspect odd caching, propose npx react-native-clean-project clean-project-auto && yarn && cd ios && pod install and a rebuild

suspect odd caching, propose npx react-native-clean-project clean-project-auto && yarn && cd ios && pod install and a rebuild

Thanks it did work, steps i followed :
1) Clean project , removed derived data, react-native --reset-cache
2) unlink and removed library
3) installed library, link and pod installed

And it worked!!

excellent

for me

rm -rf node_modules
yarn
cd ios
pod install 

that's works.

In my case auto link did not work so I linked the lib manually and it worked

That is possible of course but signals a deeper issue with your project. Auto-linking should always work at this point and if not bears investigation

Was this page helpful?
0 / 5 - 0 ratings