Skip to content

Commit

Permalink
scopes name change
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonej authored Dec 11, 2019
1 parent 9d4ad01 commit 37dbb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const SignInWithAppleButton = (buttonStyle, callBack) => {
return <RNSignInWithAppleButton style={buttonStyle} onPress={async () => {

await AppleAuthentication.requestAsync({
scopes: [AppleAuthentication.Scope.FULL_NAME, AppleAuthentication.Scope.EMAIL],
requestedScopes: [AppleAuthentication.Scope.FULL_NAME, AppleAuthentication.Scope.EMAIL],
}).then((response) => {
callBack(response) //Display response
}, (error) => {
Expand Down

0 comments on commit 37dbb91

Please sign in to comment.