Skip to content

Commit

Permalink
[expo-apple-auth] Add “Sign up with Apple” option
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Mar 25, 2020
1 parent 2ce1263 commit 3412f5b
Show file tree
Hide file tree
Showing 14 changed files with 76 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

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 3412f5b

Please sign in to comment.