Skip to content

Instantly share code, notes, and snippets.

@spencercarli
Created March 9, 2016 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spencercarli/c460644d18bb8678a96f to your computer and use it in GitHub Desktop.
Save spencercarli/c460644d18bb8678a96f to your computer and use it in GitHub Desktop.
Connecting the Meteor and React Native Apps - signOut.js
// 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