Skip to content

Conversation

@prescottprue
Copy link
Owner

@prescottprue prescottprue commented Mar 30, 2017

@firebaseConnect() // <- was keeping statics from being passed
@connect(({ firebase }) => ({  // <- hoists statics
  auth: pathToJS(firebase, 'auth')
}))
export default class Home extends Component {
  static navigationOptions = {  // <- was not being passed to resulting wrapped component
    title: 'Some Title'
  }

  render () {
    return (
      <View>
        <Text>React Native + Firebase!</Text>
      </View>
    )
  }
}
  • create your own react-native app instructions added to docs (including pictures)
  • user and credential are now returned from login method (solves [Question] How to retrieve the token once the user is logged through Oauth? #106)
  • onRedirectResult config option added (runs when redirect result occurs)
  • Material-ui complete example updated to use field level validation
  • Docs added for onAuthStateChanged and onRedirectResult config options

@prescottprue prescottprue merged commit c960361 into v1.4.0 Apr 3, 2017
@prescottprue prescottprue deleted the v1.4.0-beta.4 branch April 3, 2017 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants