Created
March 9, 2016 01:43
-
-
Save spencercarli/c460644d18bb8678a96f to your computer and use it in GitHub Desktop.
Connecting the Meteor and React Native Apps - signOut.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RNApp/app/containers/signOut.js | |
handleSignOut() { | |
GoogleSignin.signOut() | |
.then(() => { | |
ddpClient.logout(() => { | |
this.props.changedSignedIn(false); | |
}); | |
}) | |
.catch((err) => { | |
console.log('google sign out error', err); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment