react-native-apple-signin-package

Support Apple Signin for react native.

Usage no npm install needed!

<script type="module">
  import reactNativeAppleSigninPackage from 'https://cdn.skypack.dev/react-native-apple-signin-package';
</script>

README

react-native-apple-signin-package

Getting started

$ npm install react-native-apple-signin-package --save

Mostly automatic installation if you use react native <= 0.59

$ react-native link react-native-apple-signin-package

Usage

import { SignInWithAppleBlackButton,
         SignInWithAppleOutlineButton,
         SignInWithAppleWhiteButton
} from 'react-native-apple-signin-package'

// Support three different styles with white, black, and white with outline.
<View style= {{marginBottom:20}}>
    {SignInWithAppleBlackButton({ height: 45, width: 218 }, 
                                { 'cornerRadius':22.5 }, 
                                appleSignIn)}
</View>
...

appleSignIn = async (result) => {
  // You can check the return result and use what you want to do with your system.
  console.log('Result',result);
};