expo-apple-authentication
TypeScript icon, indicating that this package has built-in type declarations

6.4.2 • Public • Published

expo-apple-authentication

This library provides Apple authentication for iOS standalone apps in the managed and bare workflows. Beginning with iOS 13, any app that includes third-party authentication options must provide Apple authentication as an option in order to comply with App Store Review guidelines. Learn more about Apple authentication on the "Sign In with Apple" website.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-apple-authentication

Configure for iOS

Run npx pod-install after installing the npm package.

Setup iOS project

  1. Enable the "Sign In with Apple" capability in your app. For bare projects, 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. Finally, when you want to make a standalone build to test with, run expo build:ios --clear-provisioning-profile --revoke-credentials so that your provisioning profile is regenerated with the new entitlement.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.4.246,692latest
6.4.15,924sdk-51
6.3.05,300sdk-50
7.0.1354next
7.0.0-canary-20241021-c4b5a938canary

Version History

VersionDownloads (Last 7 Days)Published
7.0.1354
7.0.06
7.0.0-canary-20241021-c4b5a938
7.0.0-canary-20241021-7aba8134
7.0.0-canary-20241018-ebd377a4
7.0.0-canary-20241018-2a482e34
7.0.0-canary-20241018-75a0b255
7.0.0-canary-20241018-4f8243a3
7.0.0-canary-20241018-f71b3e04
7.0.0-canary-20241008-90b13ad1
7.0.0-canary-20240927-ab8a9621
7.0.0-canary-20240912-1059f851
7.0.0-canary-20240904-69100c11
7.0.0-canary-20240814-ce0f7d51
6.4.246,692
6.4.2-canary-20240719-83ee47b2
6.4.2-canary-20240628-1ba81521
6.4.2-canary-20240627-1402f4b1
6.4.2-canary-20240625-2333e701
6.4.15,924
6.4.01
0.0.1-canary-20240418-8d745971
0.0.1-canary-20240415-cca04d81
0.0.1-canary-20240415-0868fc41
0.0.1-canary-20240411-55a00851
0.0.1-canary-20240411-33a7dc11
0.0.1-canary-20240406-a4950c71
0.0.1-canary-20240405-cdfd9c11
0.0.1-canary-20240404-e2b87431
0.0.1-canary-20240328-24ecc5e1
0.0.1-canary-20240327-a7302d91
0.0.1-canary-20240320-8a10e091
0.0.1-canary-20240318-dd8f2451
0.0.1-canary-20240318-af634b11
0.0.1-canary-20240318-53194f51
0.0.1-canary-20240315-ce710052
0.0.1-canary-20240308-67158751
0.0.1-canary-20240305-e60019e1
0.0.1-canary-20240228-7cee6191
0.0.1-canary-20240222-c729a131
0.0.1-canary-20240109-93608d80
0.0.1-canary-20231205-250b31f0
0.0.1-canary-20231130-c8a9bf91
0.0.1-canary-20231130-ede75a7-11
0.0.1-canary-20231130-ede75a71
0.0.1-canary-20231129-c0ec0231
0.0.1-canary-20231125-d600e441
0.0.0-canary-20231123-1b19f961
6.3.05,300
6.2.01
6.1.21,529
6.1.11
6.1.0384
6.0.1675
6.0.01
5.0.1742
5.0.01
4.3.065
4.2.1153
4.2.01
4.1.08
4.0.35
4.0.21
4.0.11
4.0.01
3.2.110
3.2.01
3.1.028
3.0.01
2.2.234
2.2.19
2.2.01
2.1.17
2.1.01
2.0.06
1.0.01
1.0.0-rc.01

Package Sidebar

Install

npm i expo-apple-authentication

Weekly Downloads

62,014

Version

6.4.2

License

MIT

Unpacked Size

109 kB

Total Files

53

Last publish

Collaborators

  • radoslawkrzemien
  • pkham
  • szdziedzic
  • tsapeta
  • ide
  • lukmccall
  • douglowder
  • betoatexpo
  • philpl
  • expo-bot
  • alanhughes
  • kadikraman
  • aleqsio
  • marklawlor
  • gabrieldonadel
  • simek
  • keith-kurak
  • fiber-god
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • exponent
  • wschurman
  • bycedric
  • jonsamp
  • princefleaswallow
  • kudochien
  • fson
  • ccheever
  • sjchmiela
  • tcdavis
  • esamelson
  • charliecruzan
  • bbarthec
  • mczernek
  • christopherwalter