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

Created on 13 Mar 2020  路  22Comments  路  Source: invertase/react-native-apple-authentication

image

no-reproduction

All 22 comments

Please don't post images, text is highly preferred.
You skipped the template.

There is a related issue, not all of the combinations are supported but might be supportable, you may experiment with trivial changes inside node_modules to see how it goes #30 Y #23

Try:

cd ios && pod install && cd ..

@co2nut please follow my pull request to solve a problem #56.

  • I have the same error on Android.
  • On iPad with iOS 12.4.5 the Apple button is not seen, and there's no such issue. I don't have other devices to check.

Expo implementation has AppleAuthentication.isAvailableAsync(), and it allows explicitly know if it is supported or not to show the button.

Platform.OS === 'ios' can be just a temporary workaround, but not sure it works 100%.

@losikov You have to update your iPad to iOS 13.0 or later to using Apple Sign-in.

@losikov You have to update your iPad to iOS 13.0 or later to using Apple Sign-in.

I'm aware that it is supported on iOS 13 and alter, and I'm testing using it. I do expect it still works (not crash, and hide the button) on devices where it is not supported. As I said, Platform.OS === 'ios' is a workaround to fix Android crash, but it doesn't cover iOS family.

I specially run on old iPad to check what happens.

@losikov my solution is checking Platform.OS === 'ios' && Platform.Version >= '13.0' to display sign in button.

Has anyone found a solution for this?

@ahmadzahidglixen what is your Xcode version?

@suraneti Version 11.4

@ahmadzahidglixen try this method

  1. Clean project (Product -> Clean), removed derived data, react-native --reset-cache, removed node_modules.
  2. Re-install package, pod deintegrate, and pod install.

Additional question: does an error occured on Android?

@suraneti I've tried:
uninstalling the package
installing it.
removing Pods & reinstalling them.

but it's no use.
I'm testing this on Simulator.

For android, no I'm not gonna use it on Android.

@ahmadzahidglixen what is your React Native version and did you follow this setup guide.

@suraneti react native's version: 0.61.2.
Yes I followed this guide.

@suraneti tried these steps.
Still the same error:
Invariant Violation: requireNativeComponent: "RNAppleAuthButtonViewManagerBlackContinue" was not found in the UIManager.

There is a related issue, not all of the combinations are supported but might be supportable, you may experiment with trivial changes inside node_modules to see how it goes #30 Y #23

@mikehardy Which changes inside the node_modules?
Are you talking about changes inside RNAppleAuthButtonViewManager.m?

Is this because of simulator? or iOS version 13.4?

@ahmadzahidglixen I testing iOS 13.4 on a simulator, it works fine.

With no reproduction or logs there is not much we can do, but I will happily reopen this with actionable information, and of course conversation can always continue

Just want to set the tone in this repo for an issues list that is in control and doesn't have non-actionable stuff

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thinnakrit picture thinnakrit  路  3Comments

steventnorris-40AU picture steventnorris-40AU  路  7Comments

fareszoghbi1 picture fareszoghbi1  路  5Comments

VictorKolb picture VictorKolb  路  7Comments

mohitbhansali picture mohitbhansali  路  11Comments