0.0.2 ā€¢ Published 5 years ago

react-native-login-with-apple v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

React-Native Login with Apple

Licence MIT npm version npm downloads

āš› Simple to use React Native library to get the Apple SignIn on iOS devices.

Requirements

  • React Native >= 0.60.0
  • iOS >= 10.0
  • Xcode >= 11.0

Install

Install dependency package

yarn add react-native-login-with-apple

Or

npm i -S react-native-login-with-apple

With the React Native 0.60.+ the link should happen automatically.

Setup iOS project

  1. Enable the "Sign In with Apple" capability in your app. Enable the capability in Xcode under "Signing & Capabilities" -- you'll need to be on Xcode 11 or later.
  2. Log into the Apple Developer Console, go to "Certificates, Identifiers, & Profiles" and then "Identifiers".
  3. You need to choose a primary app for the Apple Sign In configuration. This is the app whose icon will show up in the Apple Sign In system UI. If you have a set of related apps you might choose the "main" app as the primary, but most likely you'll want to just use the app you're working on now as the primary.
  4. In the list of identifiers, click on the one corresponding to your primary app. Enable the "Sign In with Apple" capability, click "Edit", and choose the "Enable as a primary App ID" option. Save the new configuration.
  5. If you chose a different app to be the primary, you'll also need to open up the configuration page for your current app, enable the "Sign In with Apple" capability, click "Edit" and choose the "Group with an existing primary App ID" option. Save this configuration as well.
  6. Next, go to the "Keys" page and register a new key. Add the "Sign In with Apple" capability, and make sure to choose the correct primary app on the configuration screen.
  7. Ready to go.

Usage

Soon.

API

Soon.

Contribute

New features, bug fixes and improvements are welcome! For questions and suggestions use the issues.

Donate

Licence

The MIT License (MIT)

Copyright (c) 2019 Douglas Nassif Roma Junior

See the full licence file.

0.0.2

5 years ago

0.0.1

5 years ago