Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[expo-apple-auth] Add “Sign up with Apple” option #7471

Merged
merged 3 commits into from Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -199,6 +199,10 @@ export default class AppleAuthenticationScreen extends React.Component<{}, State
title={`${AppleAuthenticationButtonType[AppleAuthenticationButtonType.CONTINUE]}`}
onPress={() => this.setState({ buttonType: AppleAuthenticationButtonType.CONTINUE })}
/>
<Button
title={`${AppleAuthenticationButtonType[AppleAuthenticationButtonType.SIGN_UP]}`}
onPress={() => this.setState({ buttonType: AppleAuthenticationButtonType.SIGN_UP })}
/>
</View>
</View>
<View style={styles.controlsContainer}>
Expand Down
Expand Up @@ -185,6 +185,7 @@ An enum whose values control which pre-defined text to use when rendering an [`A

- **`AppleAuthenticationButtonType.SIGN_IN`** - "Sign in with Apple"
- **`AppleAuthenticationButtonType.CONTINUE`** - "Continue with Apple"
- **`AppleAuthenticationButtonType.SIGN_UP`** - "Sign up with Apple" **(requires iOS 13.2 or higher)**

### `AppleAuthentication.AppleAuthenticationCredentialState`

Expand Down
2 changes: 2 additions & 0 deletions packages/expo-apple-authentication/CHANGELOG.md
Expand Up @@ -6,4 +6,6 @@

### 🎉 New features

- Add 'Sign up with Apple' option (available as of iOS 13.2). ([#7471](https://github.com/expo/expo/pull/7471) by [@IjzerenHein](https://github.com/IjzerenHein))

### 🐛 Bug fixes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.