Skip to content

Commit

Permalink
[expo-apple-auth] Add “Sign up with Apple” option (#7471)
Browse files Browse the repository at this point in the history
* [expo-apple-auth] Add “Sign up with Apple” option

* [expo-apple-auth] Update changelog

* [expo-apple-auth] Update comments to tsdoc
  • Loading branch information
IjzerenHein committed Apr 10, 2020
1 parent 02bd0fe commit ff0e4f5
Show file tree
Hide file tree
Showing 15 changed files with 87 additions and 16 deletions.
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.

0 comments on commit ff0e4f5

Please sign in to comment.