Fixed some new errors. Cleaned up console logs
This commit is contained in:
@ -30,14 +30,9 @@ const SignInScreen = ({onSignIn}: {onSignIn: () => void}) => {
|
||||
const pushToken = await Notifications.getExpoPushTokenAsync({
|
||||
projectId: projectId,
|
||||
});
|
||||
console.log(
|
||||
credential.user, credential.email, credential.fullName?.givenName,
|
||||
credential.fullName?.familyName, pushToken.data
|
||||
);
|
||||
|
||||
|
||||
const initialDataResponse = await getInitialDataByAppleId(credential.user);
|
||||
|
||||
console.log(initialDataResponse);
|
||||
if (initialDataResponse.status === 404 || !initialDataResponse.ok) {
|
||||
if (!credential.user || !credential.email ||
|
||||
!credential.fullName?.givenName || !credential.fullName?.familyName ||
|
||||
|
Reference in New Issue
Block a user