
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.
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
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.
@ahmadzahidglixen try this https://github.com/invertase/react-native-apple-authentication/issues/23#issuecomment-575120292.
@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
Most helpful comment
Am I missing something? https://github.com/invertase/react-native-apple-authentication/blob/master/docs/interfaces/_lib_index_d_.rnappleauth.module.md#issupported