Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const googlelogIn = async () => {
- try {
- const { type, user, accessToken } = await Expo.Google.logInAsync({
- iosClientId: '687916247467-6dt3274n9544kfk53udm2di107vvmahe.apps.googleusercontent.com',
- });
- if (type === 'success') {
- console.log(user, accessToken);
- }
- } catch ({ message }) {
- alert(`login: ${message}`);
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement