Skip to content

Instantly share code, notes, and snippets.

@spencercarli
Created March 9, 2016 01:37
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/b4898053529713057fce to your computer and use it in GitHub Desktop.
Save spencercarli/b4898053529713057fce to your computer and use it in GitHub Desktop.
Setup the React Native App - signIn.js prt 5
// RNApp/app/containers/signIn.js
componentWillReceiveProps(nextProps) {
if (nextProps) {
GoogleSignin.currentUserAsync()
.then((user) => {
this.handleDDPSignIn(user)
})
.done();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment